Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.756e-05, allocations: 2.75 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09602, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5541, allocations: 76.26 MB / 370.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5544, allocations: 81.23 kB / 370.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06284/0.6173, allocations: 15.82 MB / 386.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6174, allocations: 0 / 386.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.6174, allocations: 11.78 kB / 386.5 MB, free: 18.58 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002445/0.6198, allocations: 0.7595 MB / 387.2 MB, free: 18.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6199, allocations: 7.688 kB / 387.2 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.6247, allocations: 436.1 kB / 387.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.6254, allocations: 318.2 kB / 388 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.6255, allocations: 19.19 kB / 388 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6256, allocations: 39 kB / 388 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001751/0.6274, allocations: 0.5753 MB / 388.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6287, allocations: 442.5 kB / 389 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.6287, allocations: 0 / 389 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.6288, allocations: 0 / 389 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.6289, allocations: 19.53 kB / 389.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.634, allocations: 1.99 MB / 391.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003897/0.638, allocations: 2.96 MB / 394 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/0.6388, allocations: 233.5 kB / 394.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.639, allocations: 97.11 kB / 394.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.639, allocations: 42.75 kB / 394.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.526e-06/0.639, allocations: 0 / 394.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001935/0.641, allocations: 474.6 kB / 394.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.6411, allocations: 59.47 kB / 394.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.6413, allocations: 160.3 kB / 395.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.6414, allocations: 25.7 kB / 395.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.6416, allocations: 244.5 kB / 395.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.6418, allocations: 159.3 kB / 395.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.6418, allocations: 3.219 kB / 395.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.642, allocations: 336.6 kB / 395.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.6424, allocations: 135.8 kB / 395.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004945/0.6429, allocations: 253.4 kB / 396.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.6441, allocations: 259 kB / 396.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6441, allocations: 3.844 kB / 396.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002264/0.6464, allocations: 0.5805 MB / 397 MB, free: 11.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.6465, allocations: 7.75 kB / 397 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.6465, allocations: 3.875 kB / 397 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.647, allocations: 85.34 kB / 397.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.6479, allocations: 119.6 kB / 397.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.6505, allocations: 1.564 MB / 398.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.6512, allocations: 43.02 kB / 398.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.6513, allocations: 23.25 kB / 398.9 MB, free: 10.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.6515, allocations: 126.2 kB / 399 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001846/0.6534, allocations: 470.4 kB / 399.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.6535, allocations: 34.95 kB / 399.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.6556, allocations: 0.548 MB / 400 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6557, allocations: 7.5 kB / 400 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6557, allocations: 0 / 400 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6557, allocations: 7.984 kB / 400 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.6589, allocations: 1.11 MB / 401.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.659, allocations: 0 / 401.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.6597, allocations: 88.98 kB / 401.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004882/0.6602, allocations: 72.14 kB / 401.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.6603, allocations: 6.781 kB / 401.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.6628, allocations: 1.557 MB / 402.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.6628, allocations: 15.89 kB / 402.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.6654, allocations: 0.8268 MB / 403.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.6656, allocations: 112 kB / 403.8 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/0.6657, allocations: 3.938 kB / 403.8 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.6662, allocations: 15.27 kB / 403.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.6664, allocations: 36.3 kB / 403.9 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.6664, allocations: 13.31 kB / 403.9 MB, free: 7.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.6666, allocations: 123.5 kB / 404 MB, free: 7.676 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6666, allocations: 4.062 kB / 404 MB, free: 7.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009355/0.6676, allocations: 143.8 kB / 404.2 MB, free: 7.641 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00309/0.6707, allocations: 1.548 MB / 405.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.6722, allocations: 0.5146 MB / 406.2 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6723, allocations: 0 / 406.2 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000848/0.6731, allocations: 345.6 kB / 406.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.6736, allocations: 15.34 kB / 406.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.6785, allocations: 1.084 MB / 407.7 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.6791, allocations: 0.8257 MB / 408.5 MB, free: 5.125 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.6796, allocations: 46.61 kB / 408.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.6799, allocations: 138.9 kB / 408.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of SimCode: time 3.918e-06/0.6799, allocations: 4 kB / 408.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/0.7381, allocations: 6.312 MB / 415 MB, free: 2.07 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003728/0.7385, allocations: 167.9 kB / 415.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.893/3.632, allocations: 4.812 kB / 415.1 MB, free: 1.883 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat