Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.157e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4024, allocations: 70.08 MB / 334 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.4027, allocations: 79.95 kB / 334 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04736/0.4501, allocations: 12.35 MB / 346.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.4502, allocations: 0 / 346.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.4502, allocations: 11.94 kB / 346.4 MB, free: 6.93 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.002269/0.4525, allocations: 0.6585 MB / 347.1 MB, free: 6.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.4526, allocations: 12.03 kB / 347.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.4527, allocations: 82.52 kB / 347.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.453, allocations: 47.61 kB / 347.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.4535, allocations: 270.4 kB / 347.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.4535, allocations: 29 kB / 347.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4536, allocations: 44 kB / 347.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.4546, allocations: 332.5 kB / 347.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.4546, allocations: 0 / 347.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.4547, allocations: 16 kB / 347.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.4547, allocations: 15.94 kB / 347.9 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.4555, allocations: 258 kB / 348.1 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.4587, allocations: 1.368 MB / 349.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.4593, allocations: 154.8 kB / 349.7 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.4597, allocations: 112.8 kB / 349.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.4597, allocations: 0 / 349.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.4598, allocations: 38.56 kB / 349.8 MB, free: 3.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.4598, allocations: 4 kB / 349.8 MB, free: 3.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007538/0.4606, allocations: 200.5 kB / 350 MB, free: 3.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4606, allocations: 55.41 kB / 350.1 MB, free: 3.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.4609, allocations: 150.4 kB / 350.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.4609, allocations: 33.7 kB / 350.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.4611, allocations: 203.6 kB / 350.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.4612, allocations: 63.19 kB / 350.5 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.4612, allocations: 7.938 kB / 350.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4614, allocations: 330.8 kB / 350.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.4616, allocations: 52 kB / 350.9 MB, free: 2.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.4618, allocations: 112.6 kB / 351 MB, free: 2.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.462, allocations: 72.69 kB / 351.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.462, allocations: 0 / 351.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008216/0.4629, allocations: 272 kB / 351.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4629, allocations: 8 kB / 351.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4629, allocations: 0 / 351.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.4635, allocations: 81.09 kB / 351.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4638, allocations: 39.92 kB / 351.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.4663, allocations: 1.644 MB / 353.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.4667, allocations: 23.75 kB / 353.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.4667, allocations: 11.98 kB / 353.1 MB, free: 15.76 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.0001368/0.4669, allocations: 124.9 kB / 353.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.4669, allocations: 15.81 kB / 353.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.4677, allocations: 212 kB / 353.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4677, allocations: 7.984 kB / 353.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4677, allocations: 0 / 353.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4677, allocations: 7.938 kB / 353.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.4692, allocations: 0.6451 MB / 354.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.4692, allocations: 0 / 354.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.4695, allocations: 23.98 kB / 354.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.4699, allocations: 89.03 kB / 354.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.47, allocations: 4 kB / 354.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.4724, allocations: 1.632 MB / 355.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4724, allocations: 0 / 355.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009532/0.4734, allocations: 412.4 kB / 356.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.4735, allocations: 88.95 kB / 356.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.4735, allocations: 3.984 kB / 356.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.4738, allocations: 20.06 kB / 356.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.4739, allocations: 19.97 kB / 356.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.4739, allocations: 4 kB / 356.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4741, allocations: 128.9 kB / 356.5 MB, free: 12.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.515e-06/0.4741, allocations: 0 / 356.5 MB, free: 12.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006393/0.4748, allocations: 103.6 kB / 356.7 MB, free: 11.98 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.001419/0.4762, allocations: 1.105 MB / 357.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008761/0.4771, allocations: 285.7 kB / 358 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4771, allocations: 0 / 358 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.4777, allocations: 217.5 kB / 358.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.478, allocations: 8 kB / 358.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.4795, allocations: 455.7 kB / 358.7 MB, free: 9.828 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.4799, allocations: 0.7714 MB / 359.5 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.4801, allocations: 17.53 kB / 359.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.4803, allocations: 91.41 kB / 359.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4803, allocations: 0 / 359.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08845/0.5687, allocations: 4.544 MB / 364.1 MB, free: 4.434 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/0.5692, allocations: 208.3 kB / 364.3 MB, free: 4.199 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.161, allocations: 4 kB / 364.3 MB, free: 4.195 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat