Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.907e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 44.51 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5488, allocations: 72.11 MB / 372.1 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003893/0.5492, allocations: 70.16 kB / 372.1 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.5663, allocations: 3.055 MB / 375.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.5663, allocations: 0 / 375.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.5664, allocations: 3.25 kB / 375.2 MB, free: 21.29 MB / 314.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.001014/0.5674, allocations: 452.9 kB / 375.6 MB, free: 20.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.5675, allocations: 8.688 kB / 375.6 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.5676, allocations: 51.48 kB / 375.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.165e-05/0.5677, allocations: 24.83 kB / 375.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.568, allocations: 217.3 kB / 375.9 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.5681, allocations: 14.28 kB / 375.9 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.5682, allocations: 15.59 kB / 376 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.5686, allocations: 167.2 kB / 376.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5687, allocations: 4 kB / 376.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.5687, allocations: 6.469 kB / 376.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.5687, allocations: 7.719 kB / 376.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.5691, allocations: 119 kB / 376.3 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.5709, allocations: 0.7688 MB / 377 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.5714, allocations: 127.2 kB / 377.2 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.5716, allocations: 88.03 kB / 377.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5716, allocations: 1.031 kB / 377.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.5717, allocations: 44.17 kB / 377.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.108e-06/0.5717, allocations: 0 / 377.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004087/0.5721, allocations: 123.6 kB / 377.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.5722, allocations: 53.88 kB / 377.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.5723, allocations: 135.4 kB / 377.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5724, allocations: 30.8 kB / 377.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.5725, allocations: 204.5 kB / 377.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.5725, allocations: 49.23 kB / 377.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.5725, allocations: 3.75 kB / 377.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.5726, allocations: 320.4 kB / 378.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5727, allocations: 37.94 kB / 378.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.5729, allocations: 60.55 kB / 378.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.5731, allocations: 46.86 kB / 378.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5731, allocations: 9.031 kB / 378.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003989/0.5735, allocations: 152.9 kB / 378.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5735, allocations: 5.25 kB / 378.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5735, allocations: 1.375 kB / 378.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5736, allocations: 1.281 kB / 378.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.5741, allocations: 42.5 kB / 378.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.5741, allocations: 5.062 kB / 378.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.5743, allocations: 21.11 kB / 378.6 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5744, allocations: 7 kB / 378.6 MB, free: 19.25 MB / 314.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 9.112e-05/0.5745, allocations: 106.9 kB / 378.7 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.5745, allocations: 21.58 kB / 378.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.5746, allocations: 17.09 kB / 378.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.5746, allocations: 1.188 kB / 378.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5746, allocations: 0 / 378.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.5746, allocations: 1 kB / 378.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.5751, allocations: 262.7 kB / 379 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5751, allocations: 0 / 379 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.5755, allocations: 48.47 kB / 379 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.5755, allocations: 0.9375 kB / 379 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5756, allocations: 7.609 kB / 379 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5756, allocations: 0 / 379 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5756, allocations: 1.219 kB / 379 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.5761, allocations: 269 kB / 379.3 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.5761, allocations: 86.25 kB / 379.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.5762, allocations: 5.438 kB / 379.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.5764, allocations: 22.59 kB / 379.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.5765, allocations: 5.234 kB / 379.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5765, allocations: 4.062 kB / 379.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.5766, allocations: 117.3 kB / 379.5 MB, free: 18.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5767, allocations: 3.938 kB / 379.5 MB, free: 18.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004088/0.5771, allocations: 48.12 kB / 379.6 MB, free: 18.59 MB / 314.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.0006783/0.5778, allocations: 0.8154 MB / 380.4 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.5781, allocations: 98.44 kB / 380.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5781, allocations: 4.969 kB / 380.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.5782, allocations: 51.11 kB / 380.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.5786, allocations: 33.25 kB / 380.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.58, allocations: 474.5 kB / 381 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.5802, allocations: 0.731 MB / 381.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.5804, allocations: 50.94 kB / 381.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5804, allocations: 1 kB / 381.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.441/3.022, allocations: 2.713 MB / 384.5 MB, free: 16.69 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat