Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.158e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2863, allocations: 38.77 MB / 263.9 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.5048, allocations: 70.07 MB / 333.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.5052, allocations: 83.94 kB / 334 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04761/0.5528, allocations: 12.26 MB / 346.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5529, allocations: 0 / 346.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.5529, allocations: 7.938 kB / 346.3 MB, free: 7.176 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00222/0.5551, allocations: 0.6701 MB / 346.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5552, allocations: 8.031 kB / 346.9 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.5553, allocations: 78.53 kB / 347 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.5556, allocations: 51.59 kB / 347.1 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.556, allocations: 262.5 kB / 347.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.5561, allocations: 40.92 kB / 347.4 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.854e-05/0.5562, allocations: 36 kB / 347.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/0.5571, allocations: 324.5 kB / 347.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.5572, allocations: 4 kB / 347.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.5572, allocations: 16 kB / 347.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.5573, allocations: 8 kB / 347.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007182/0.558, allocations: 242 kB / 348 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.5609, allocations: 1.343 MB / 349.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.5616, allocations: 170.7 kB / 349.5 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.5618, allocations: 68.86 kB / 349.6 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.5619, allocations: 8 kB / 349.6 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.5619, allocations: 38.55 kB / 349.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.5619, allocations: 0 / 349.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007603/0.5627, allocations: 212.6 kB / 349.8 MB, free: 3.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.5628, allocations: 59.36 kB / 349.9 MB, free: 3.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.563, allocations: 150.5 kB / 350 MB, free: 3.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.563, allocations: 29.7 kB / 350.1 MB, free: 3.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5632, allocations: 274 kB / 350.3 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.5633, allocations: 63.08 kB / 350.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.5634, allocations: 8 kB / 350.4 MB, free: 2.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5635, allocations: 310.8 kB / 350.7 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.5637, allocations: 59.98 kB / 350.8 MB, free: 2.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.5639, allocations: 102.9 kB / 350.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.5641, allocations: 71.33 kB / 350.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5641, allocations: 0 / 350.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008289/0.565, allocations: 274.1 kB / 351.2 MB, free: 1.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.565, allocations: 5.719 kB / 351.2 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.565, allocations: 0 / 351.2 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005162/0.5656, allocations: 92.97 kB / 351.3 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.5659, allocations: 35.92 kB / 351.3 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.5688, allocations: 1.839 MB / 353.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.5692, allocations: 27.78 kB / 353.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.5692, allocations: 12 kB / 353.2 MB, free: 15.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.5693, allocations: 112.9 kB / 353.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.5694, allocations: 15.81 kB / 353.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.5702, allocations: 239.9 kB / 353.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5702, allocations: 4 kB / 353.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5702, allocations: 3.938 kB / 353.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5702, allocations: 0 / 353.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.5708, allocations: 329.3 kB / 353.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5708, allocations: 4 kB / 353.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.5711, allocations: 23.98 kB / 353.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/0.5715, allocations: 84.81 kB / 354 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.5716, allocations: 4 kB / 354 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.5744, allocations: 1.843 MB / 355.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5744, allocations: 8.047 kB / 355.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.5753, allocations: 379.1 kB / 356.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.5754, allocations: 96.84 kB / 356.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.5755, allocations: 0 / 356.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.5758, allocations: 24.05 kB / 356.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.5759, allocations: 11.97 kB / 356.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.5759, allocations: 8 kB / 356.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.576, allocations: 124.9 kB / 356.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5761, allocations: 0 / 356.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007556/0.5768, allocations: 103.6 kB / 356.6 MB, free: 12.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.5783, allocations: 0.9317 MB / 357.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.5794, allocations: 297.3 kB / 357.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5794, allocations: 448 / 357.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006343/0.5801, allocations: 217.5 kB / 358 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.5805, allocations: 12 kB / 358 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.5825, allocations: 483.1 kB / 358.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.5831, allocations: 0.7714 MB / 359.3 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.5834, allocations: 87.39 kB / 359.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of SimCode: time 1.093e-06/0.5834, allocations: 0 / 359.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.985/3.568, allocations: 5.129 MB / 364.5 MB, free: 4.164 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat