Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/4.024e-05, allocations: 8 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2647, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4009, allocations: 70.07 MB / 333.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.4013, allocations: 79.95 kB / 334 MB, free: 3.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0651/0.4665, allocations: 12.26 MB / 346.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4665, allocations: 4 kB / 346.3 MB, free: 7.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.894e-05/0.4666, allocations: 8 kB / 346.3 MB, free: 7.121 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.003148/0.4698, allocations: 0.6623 MB / 346.9 MB, free: 6.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.4698, allocations: 12.03 kB / 347 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.47, allocations: 74.53 kB / 347 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.4705, allocations: 59.59 kB / 347.1 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.4711, allocations: 254.6 kB / 347.3 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.4712, allocations: 29 kB / 347.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4713, allocations: 40 kB / 347.4 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4727, allocations: 330.5 kB / 347.7 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.399e-05/0.4728, allocations: 0 / 347.7 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.4729, allocations: 16 kB / 347.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.473, allocations: 8 kB / 347.7 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.4748, allocations: 248 kB / 348 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.4792, allocations: 1.339 MB / 349.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/0.4803, allocations: 178.7 kB / 349.5 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.4806, allocations: 76.84 kB / 349.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.4806, allocations: 3.938 kB / 349.6 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.4807, allocations: 38.56 kB / 349.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.506e-06/0.4807, allocations: 0 / 349.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001042/0.4818, allocations: 217 kB / 349.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.4818, allocations: 55.36 kB / 349.9 MB, free: 3.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.4821, allocations: 154.5 kB / 350 MB, free: 3.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.4822, allocations: 25.7 kB / 350.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.4824, allocations: 211.6 kB / 350.3 MB, free: 2.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.4825, allocations: 55.11 kB / 350.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.4825, allocations: 8 kB / 350.3 MB, free: 2.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4827, allocations: 326.8 kB / 350.6 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4828, allocations: 56 kB / 350.7 MB, free: 2.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.4831, allocations: 98.88 kB / 350.8 MB, free: 2.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.4833, allocations: 75.91 kB / 350.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4833, allocations: 0 / 350.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009113/0.4843, allocations: 274.2 kB / 351.1 MB, free: 1.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.4843, allocations: 8.031 kB / 351.1 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4843, allocations: 4 kB / 351.2 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/0.4849, allocations: 88.81 kB / 351.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.4852, allocations: 35.92 kB / 351.3 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.4883, allocations: 1.842 MB / 353.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.4887, allocations: 27.88 kB / 353.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.4887, allocations: 8 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.0001405/0.4889, allocations: 124.9 kB / 353.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.4889, allocations: 15.97 kB / 353.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.4897, allocations: 227.8 kB / 353.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4898, allocations: 0 / 353.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4898, allocations: 4 kB / 353.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4898, allocations: 0 / 353.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.4905, allocations: 341.3 kB / 353.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4905, allocations: 0 / 353.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.4907, allocations: 23.98 kB / 353.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.4912, allocations: 84.81 kB / 354 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.4913, allocations: 0 / 354 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.4942, allocations: 1.846 MB / 355.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4943, allocations: 0 / 355.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/0.4952, allocations: 379.2 kB / 356.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.4954, allocations: 101 kB / 356.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4954, allocations: 0 / 356.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4957, allocations: 19.98 kB / 356.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.4958, allocations: 15.91 kB / 356.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.4958, allocations: 8 kB / 356.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.496, allocations: 124.9 kB / 356.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.496, allocations: 0 / 356.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006781/0.4967, allocations: 107.8 kB / 356.5 MB, free: 12.18 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.001452/0.4982, allocations: 0.9309 MB / 357.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009281/0.4991, allocations: 314.9 kB / 357.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4992, allocations: 0 / 357.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.4997, allocations: 226.3 kB / 358 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.5001, allocations: 12.3 kB / 358 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5016, allocations: 445.5 kB / 358.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.5021, allocations: 0.7753 MB / 359.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.5023, allocations: 9.562 kB / 359.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.5025, allocations: 95.39 kB / 359.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5025, allocations: 0 / 359.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.5311, allocations: 4.566 MB / 363.9 MB, free: 4.773 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.5314, allocations: 203.6 kB / 364.1 MB, free: 4.543 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.168, allocations: 4 kB / 364.1 MB, free: 4.539 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat