Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.601/2.601, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.393e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4197, allocations: 44.49 MB / 294.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.6159, allocations: 71.45 MB / 365.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004123/0.6163, allocations: 71.95 kB / 365.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02851/0.6449, allocations: 3.013 MB / 368.8 MB, free: 7.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.645, allocations: 4 kB / 368.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.645, allocations: 0 / 368.8 MB, free: 7.254 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.001553/0.6466, allocations: 454.8 kB / 369.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.822e-05/0.6467, allocations: 8.031 kB / 369.3 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.6469, allocations: 23.72 kB / 369.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.6474, allocations: 218.7 kB / 369.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.6475, allocations: 11.94 kB / 369.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.6476, allocations: 16 kB / 369.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006853/0.6483, allocations: 107.9 kB / 369.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.6491, allocations: 137.6 kB / 369.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.6491, allocations: 0 / 369.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.6492, allocations: 0 / 369.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.6493, allocations: 11.94 kB / 369.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.6528, allocations: 0.7138 MB / 370.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.6535, allocations: 126.6 kB / 370.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.6539, allocations: 84.83 kB / 370.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.654, allocations: 7.984 kB / 370.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.6541, allocations: 34.56 kB / 370.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 6.843e-06/0.6541, allocations: 0 / 370.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006879/0.6548, allocations: 117.4 kB / 370.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.6549, allocations: 59.41 kB / 370.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.6553, allocations: 129.3 kB / 371.1 MB, free: 4.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.6553, allocations: 25.7 kB / 371.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.6555, allocations: 136.1 kB / 371.2 MB, free: 4.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.6556, allocations: 43.27 kB / 371.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.6557, allocations: 0 / 371.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.6559, allocations: 326.8 kB / 371.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.6562, allocations: 36 kB / 371.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.6565, allocations: 64.97 kB / 371.7 MB, free: 4.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.6568, allocations: 43.98 kB / 371.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6568, allocations: 0 / 371.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007068/0.6575, allocations: 143.4 kB / 371.9 MB, free: 4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.6576, allocations: 8 kB / 371.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6576, allocations: 0 / 371.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.6577, allocations: 0 / 371.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.6585, allocations: 47.97 kB / 371.9 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6586, allocations: 4.031 kB / 371.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.659, allocations: 15.84 kB / 371.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.659, allocations: 4 kB / 371.9 MB, free: 3.922 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 0.0001776/0.6592, allocations: 108.7 kB / 372 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005756/0.6598, allocations: 121.8 kB / 372.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.66, allocations: 11.84 kB / 372.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.6601, allocations: 16.75 kB / 372.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6601, allocations: 4 kB / 372.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.6602, allocations: 0 / 372.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6602, allocations: 0 / 372.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/0.6609, allocations: 229.9 kB / 372.4 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.661, allocations: 3.938 kB / 372.4 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/0.6618, allocations: 39.97 kB / 372.5 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.6619, allocations: 3.953 kB / 372.5 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.6619, allocations: 0 / 372.5 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.6619, allocations: 4 kB / 372.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.662, allocations: 0 / 372.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.6629, allocations: 259.4 kB / 372.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.663, allocations: 96.95 kB / 372.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.6631, allocations: 3.953 kB / 372.8 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.6637, allocations: 16 kB / 372.8 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.6638, allocations: 11.92 kB / 372.8 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.6639, allocations: 4 kB / 372.9 MB, free: 2.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.6641, allocations: 107.3 kB / 373 MB, free: 2.812 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.6641, allocations: 4 kB / 373 MB, free: 2.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.665, allocations: 39.84 kB / 373 MB, free: 2.77 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.001419/0.6664, allocations: 0.7905 MB / 373.8 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.6671, allocations: 99.94 kB / 373.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.6671, allocations: 0 / 373.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.6674, allocations: 51.94 kB / 373.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.6681, allocations: 15.98 kB / 374 MB, free: 1.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.6708, allocations: 439.1 kB / 374.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.6715, allocations: 0.7318 MB / 375.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.6717, allocations: 9.203 kB / 375.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.672, allocations: 55.42 kB / 375.2 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of SimCode: time 2.054e-06/0.672, allocations: 0 / 375.2 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04659/0.7186, allocations: 2.456 MB / 377.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003862/0.7191, allocations: 142.1 kB / 377.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.838/3.557, allocations: 3.938 kB / 377.8 MB, free: 13.86 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat