Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.57e-05, allocations: 4 kB / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2567, allocations: 38.77 MB / 263.9 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.3851, allocations: 66.98 MB / 330.8 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.3855, allocations: 71.95 kB / 330.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.4032, allocations: 3.106 MB / 334 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4033, allocations: 0 / 334 MB, free: 3.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.4033, allocations: 8 kB / 334 MB, free: 3.488 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.001117/0.4044, allocations: 457.8 kB / 334.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.4045, allocations: 12.03 kB / 334.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.4047, allocations: 54.55 kB / 334.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.4048, allocations: 19.81 kB / 334.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.4052, allocations: 218.7 kB / 334.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.4052, allocations: 16 kB / 334.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.4053, allocations: 19.95 kB / 334.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.4059, allocations: 161.6 kB / 335 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.406, allocations: 0 / 335 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.406, allocations: 12 kB / 335 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.4061, allocations: 7.938 kB / 335 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.4065, allocations: 108 kB / 335.1 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.409, allocations: 0.7664 MB / 335.8 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.4095, allocations: 126.6 kB / 336 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.4099, allocations: 88.86 kB / 336.1 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.4099, allocations: 8 kB / 336.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.41, allocations: 34.5 kB / 336.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.076e-06/0.41, allocations: 4 kB / 336.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005173/0.4105, allocations: 117.6 kB / 336.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4106, allocations: 55.34 kB / 336.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.4108, allocations: 140.6 kB / 336.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.4109, allocations: 33.7 kB / 336.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4111, allocations: 202.5 kB / 336.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.4112, allocations: 47.36 kB / 336.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.4112, allocations: 0 / 336.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4114, allocations: 322.8 kB / 337 MB, free: 276 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.4116, allocations: 40 kB / 337 MB, free: 236 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.4118, allocations: 61.7 kB / 337.1 MB, free: 168 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.412, allocations: 46.17 kB / 337.1 MB, free: 124 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4121, allocations: 0 / 337.1 MB, free: 124 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00058/0.4127, allocations: 153.4 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4127, allocations: 4 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4127, allocations: 0 / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4128, allocations: 8.031 kB / 337.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.4133, allocations: 35.98 kB / 337.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.4134, allocations: 11.94 kB / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.4137, allocations: 15.84 kB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4137, allocations: 4 kB / 337.4 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.0001387/0.4139, allocations: 112.9 kB / 337.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.4139, allocations: 11.91 kB / 337.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.414, allocations: 24.73 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4141, allocations: 4 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4141, allocations: 0 / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4141, allocations: 3.953 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.4147, allocations: 265.4 kB / 337.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.4148, allocations: 3.984 kB / 337.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.4153, allocations: 35.98 kB / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.4154, allocations: 3.984 kB / 337.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.4154, allocations: 4 kB / 337.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.4155, allocations: 7.938 kB / 337.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4155, allocations: 7.875 kB / 337.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.4162, allocations: 267.6 kB / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.4163, allocations: 88.92 kB / 338.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.4164, allocations: 8 kB / 338.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.4168, allocations: 16.03 kB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.4169, allocations: 7.984 kB / 338.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4169, allocations: 8 kB / 338.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.4171, allocations: 115.8 kB / 338.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4171, allocations: 0 / 338.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006407/0.4178, allocations: 47.84 kB / 338.4 MB, free: 14.77 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.001113/0.4189, allocations: 0.8022 MB / 339.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.4194, allocations: 104.9 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4194, allocations: 4 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.4196, allocations: 48 kB / 339.4 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.0005179/0.4201, allocations: 31.91 kB / 339.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.4221, allocations: 481.5 kB / 339.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.4226, allocations: 0.7282 MB / 340.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4228, allocations: 47.42 kB / 340.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.422e-06/0.4228, allocations: 4 kB / 340.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.398/2.821, allocations: 2.705 MB / 343.3 MB, free: 9.738 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat