Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.85/1.85, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.316e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2722, allocations: 38.77 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.4131, allocations: 70.07 MB / 333.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.4134, allocations: 79.95 kB / 334 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04801/0.4615, allocations: 12.35 MB / 346.3 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4615, allocations: 0 / 346.3 MB, free: 7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.4615, allocations: 4 kB / 346.3 MB, free: 6.996 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.002395/0.464, allocations: 0.6741 MB / 347 MB, free: 6.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.464, allocations: 8.031 kB / 347 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.4642, allocations: 78.52 kB / 347.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.4645, allocations: 51.59 kB / 347.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.465, allocations: 258.6 kB / 347.4 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.4651, allocations: 40.92 kB / 347.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4652, allocations: 40 kB / 347.5 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009541/0.4661, allocations: 338.5 kB / 347.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.4662, allocations: 4 kB / 347.8 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.4663, allocations: 12 kB / 347.8 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4663, allocations: 12 kB / 347.8 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.4671, allocations: 260 kB / 348.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.4705, allocations: 1.372 MB / 349.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.4711, allocations: 153.4 kB / 349.6 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.4715, allocations: 128.8 kB / 349.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.4715, allocations: 0 / 349.7 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4716, allocations: 38.5 kB / 349.8 MB, free: 3.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.4716, allocations: 0 / 349.8 MB, free: 3.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007713/0.4724, allocations: 198.5 kB / 350 MB, free: 3.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.4724, allocations: 55.41 kB / 350 MB, free: 3.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.4727, allocations: 150.4 kB / 350.2 MB, free: 2.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.4727, allocations: 33.7 kB / 350.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.4729, allocations: 270 kB / 350.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.473, allocations: 59.19 kB / 350.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.473, allocations: 4 kB / 350.5 MB, free: 2.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4732, allocations: 318.8 kB / 350.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4733, allocations: 55.94 kB / 350.9 MB, free: 2.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.4736, allocations: 120.5 kB / 351 MB, free: 2.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.4738, allocations: 68.91 kB / 351.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4738, allocations: 0 / 351.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009013/0.4747, allocations: 276.3 kB / 351.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4748, allocations: 8 kB / 351.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4748, allocations: 0 / 351.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.4753, allocations: 84.8 kB / 351.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.4757, allocations: 39.92 kB / 351.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.4783, allocations: 1.644 MB / 353.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.4786, allocations: 27.81 kB / 353.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.4787, allocations: 15.98 kB / 353.2 MB, free: 15.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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): 18 * 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.0001378/0.4788, allocations: 124.8 kB / 353.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.4789, allocations: 7.906 kB / 353.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.4797, allocations: 219.9 kB / 353.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4797, allocations: 11.92 kB / 353.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4797, allocations: 0 / 353.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4797, allocations: 0 / 353.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.4812, allocations: 0.649 MB / 354.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4812, allocations: 4.062 kB / 354.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.4815, allocations: 19.98 kB / 354.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.4819, allocations: 76.77 kB / 354.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.482, allocations: 12 kB / 354.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.4844, allocations: 1.628 MB / 355.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4845, allocations: 64 / 355.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/0.4855, allocations: 412.2 kB / 356.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.4856, allocations: 97.02 kB / 356.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.4856, allocations: 7.984 kB / 356.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4859, allocations: 8 kB / 356.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.486, allocations: 19.97 kB / 356.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.486, allocations: 4 kB / 356.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.4862, allocations: 128.9 kB / 356.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4863, allocations: 0 / 356.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006135/0.4869, allocations: 107.5 kB / 356.7 MB, free: 11.96 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 (9): * Single equations (assignments): 8 * 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.001472/0.4884, allocations: 1.094 MB / 357.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008883/0.4893, allocations: 310.3 kB / 358.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4893, allocations: 0 / 358.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.4899, allocations: 219.1 kB / 358.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.4903, allocations: 23.98 kB / 358.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.4919, allocations: 480.9 kB / 358.8 MB, free: 9.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.4924, allocations: 0.7753 MB / 359.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.4926, allocations: 91.39 kB / 359.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4926, allocations: 4 kB / 359.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/3.147, allocations: 5.389 MB / 365 MB, free: 3.449 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.ParallelResonance_res.mat does not exist to compare? outputFormat=mat