Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.591/1.591, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.526e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2503, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.3804, allocations: 66.97 MB / 330.8 MB, free: 6.645 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.3807, allocations: 67.97 kB / 330.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.3938, allocations: 3.107 MB / 334 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3939, allocations: 4 kB / 334 MB, free: 3.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.3939, allocations: 4 kB / 334 MB, free: 3.449 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008543/0.3948, allocations: 458.8 kB / 334.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3948, allocations: 16.03 kB / 334.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/0.3949, allocations: 50.55 kB / 334.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.395, allocations: 19.81 kB / 334.5 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3953, allocations: 218.7 kB / 334.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3953, allocations: 12 kB / 334.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.3954, allocations: 19.95 kB / 334.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.3959, allocations: 169.5 kB / 335 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3959, allocations: 0 / 335 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.3959, allocations: 8 kB / 335 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.396, allocations: 4 kB / 335 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.3963, allocations: 127.9 kB / 335.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.3982, allocations: 0.7508 MB / 335.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.3986, allocations: 130.6 kB / 336 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.3988, allocations: 84.84 kB / 336 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3989, allocations: 4 kB / 336.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3989, allocations: 38.5 kB / 336.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.3989, allocations: 3.938 kB / 336.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003871/0.3993, allocations: 117.6 kB / 336.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3994, allocations: 51.41 kB / 336.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3996, allocations: 141 kB / 336.4 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3996, allocations: 29.7 kB / 336.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.3997, allocations: 136.1 kB / 336.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.3998, allocations: 47.34 kB / 336.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.3998, allocations: 7.938 kB / 336.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4, allocations: 330.8 kB / 336.9 MB, free: 292 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4001, allocations: 40 kB / 337 MB, free: 252 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4003, allocations: 58.91 kB / 337 MB, free: 188 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4004, allocations: 49.39 kB / 337.1 MB, free: 140 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4004, allocations: 0 / 337.1 MB, free: 140 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003948/0.4008, allocations: 159.6 kB / 337.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4009, allocations: 12.03 kB / 337.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4009, allocations: 0 / 337.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4009, allocations: 0 / 337.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.4014, allocations: 47.92 kB / 337.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4014, allocations: 0 / 337.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.4016, allocations: 19.84 kB / 337.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.4016, allocations: 4 kB / 337.3 MB, free: 15.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.4017, allocations: 116.9 kB / 337.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.4018, allocations: 11.91 kB / 337.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.4018, allocations: 20.73 kB / 337.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4019, allocations: 0 / 337.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4019, allocations: 3.953 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4019, allocations: 0 / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.4023, allocations: 265.4 kB / 337.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4023, allocations: 4 kB / 337.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.4027, allocations: 35.97 kB / 337.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4028, allocations: 0 / 337.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.4028, allocations: 12 kB / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4028, allocations: 3.938 kB / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4028, allocations: 0 / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.4033, allocations: 275.5 kB / 338.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.4034, allocations: 85.11 kB / 338.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.4035, allocations: 7.984 kB / 338.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.4037, allocations: 20.03 kB / 338.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.4038, allocations: 7.984 kB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4038, allocations: 8 kB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.4039, allocations: 111.4 kB / 338.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4039, allocations: 0 / 338.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.4043, allocations: 59.73 kB / 338.3 MB, free: 14.78 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000829/0.4052, allocations: 0.81 MB / 339.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.4055, allocations: 99.94 kB / 339.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4055, allocations: 0 / 339.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4057, allocations: 59.94 kB / 339.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.406, allocations: 30.28 kB / 339.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4075, allocations: 452.3 kB / 339.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.4079, allocations: 0.7243 MB / 340.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.408, allocations: 17.2 kB / 340.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.4081, allocations: 47.42 kB / 340.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4081, allocations: 0 / 340.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4364, allocations: 2.921 MB / 343.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004865/0.437, allocations: 165.4 kB / 343.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.826, allocations: 0 / 343.7 MB, free: 9.367 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat