Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.488e-05/4.495e-05, allocations: 4 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 50.41 MB / 342.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4156/0.5411, allocations: 78.07 MB / 420.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.5414, allocations: 72.19 kB / 420.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.5554, allocations: 3.212 MB / 424 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5554, allocations: 0 / 424 MB, free: 12.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.5554, allocations: 4 kB / 424 MB, free: 12.91 MB / 346.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.000898/0.5563, allocations: 453.5 kB / 424.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5564, allocations: 8.031 kB / 424.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.631e-05/0.5565, allocations: 50.23 kB / 424.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.5566, allocations: 27.59 kB / 424.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.5569, allocations: 205.9 kB / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.5569, allocations: 15.38 kB / 424.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.557, allocations: 19.84 kB / 424.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.5574, allocations: 163.3 kB / 424.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5575, allocations: 4 kB / 424.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.5575, allocations: 11.7 kB / 424.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5575, allocations: 4 kB / 424.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.5579, allocations: 114.4 kB / 425.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.5597, allocations: 0.7659 MB / 425.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.5601, allocations: 128.5 kB / 425.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.5604, allocations: 92.08 kB / 426 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.5604, allocations: 0 / 426 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5604, allocations: 34.56 kB / 426.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.215e-06/0.5605, allocations: 3.938 kB / 426.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003818/0.5609, allocations: 116.4 kB / 426.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.5609, allocations: 55.41 kB / 426.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.5611, allocations: 139.8 kB / 426.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.5611, allocations: 25.7 kB / 426.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.5613, allocations: 135.6 kB / 426.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.5613, allocations: 50.95 kB / 426.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.5614, allocations: 7.812 kB / 426.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5615, allocations: 322.7 kB / 426.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.5616, allocations: 43.27 kB / 427 MB, free: 10.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.5618, allocations: 56.78 kB / 427 MB, free: 10.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.5619, allocations: 43.61 kB / 427.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.562, allocations: 4 kB / 427.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003685/0.5623, allocations: 154 kB / 427.2 MB, free: 9.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5624, allocations: 4 kB / 427.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5624, allocations: 0 / 427.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5624, allocations: 4 kB / 427.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.5628, allocations: 46.97 kB / 427.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5629, allocations: 4 kB / 427.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.5631, allocations: 15.84 kB / 427.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.5631, allocations: 7.219 kB / 427.3 MB, free: 9.875 MB / 346.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.0001041/0.5632, allocations: 120.2 kB / 427.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.5633, allocations: 15.89 kB / 427.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.5633, allocations: 14.19 kB / 427.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5633, allocations: 4 kB / 427.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5634, allocations: 3.938 kB / 427.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5634, allocations: 0 / 427.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.5638, allocations: 272.8 kB / 427.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5638, allocations: 0 / 427.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.5643, allocations: 43.97 kB / 427.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5643, allocations: 0 / 427.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.5643, allocations: 7.5 kB / 427.8 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5643, allocations: 0 / 427.8 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5643, allocations: 4 kB / 427.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.5648, allocations: 275 kB / 428 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.5649, allocations: 81.06 kB / 428.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.565, allocations: 14.98 kB / 428.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.5652, allocations: 8 kB / 428.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.5653, allocations: 11.73 kB / 428.1 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5653, allocations: 4 kB / 428.1 MB, free: 9.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.5654, allocations: 117.4 kB / 428.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5655, allocations: 0 / 428.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.5659, allocations: 51.34 kB / 428.3 MB, free: 8.887 MB / 346.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.0008136/0.5667, allocations: 0.8188 MB / 429.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.567, allocations: 99.19 kB / 429.2 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.567, allocations: 3.938 kB / 429.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.5672, allocations: 46.38 kB / 429.3 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.5675, allocations: 30.86 kB / 429.3 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.5689, allocations: 452.7 kB / 429.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.5693, allocations: 0.7243 MB / 430.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.5695, allocations: 13.2 kB / 430.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.5696, allocations: 46.8 kB / 430.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5696, allocations: 0 / 430.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.5974, allocations: 2.92 MB / 433.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.5978, allocations: 144.9 kB / 433.6 MB, free: 3.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.079, allocations: 4.062 kB / 433.6 MB, free: 3.664 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat