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.913/1.913, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.369e-05, allocations: 3.984 kB / 219.6 MB, free: 6.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2994, allocations: 38.77 MB / 258.4 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4236, allocations: 69.39 MB / 327.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.424, allocations: 79.94 kB / 327.8 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04639/0.4704, allocations: 12.11 MB / 339.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4705, allocations: 0 / 339.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.4705, allocations: 11.94 kB / 340 MB, free: 12.01 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.002339/0.4728, allocations: 0.6627 MB / 340.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4729, allocations: 12.03 kB / 340.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.4732, allocations: 51.61 kB / 340.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.4737, allocations: 262.5 kB / 340.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.4737, allocations: 12 kB / 340.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.4738, allocations: 24 kB / 341 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006891/0.4745, allocations: 222.6 kB / 341.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.4754, allocations: 284 kB / 341.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4754, allocations: 0 / 341.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.4754, allocations: 0 / 341.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4755, allocations: 12 kB / 341.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.4784, allocations: 1.261 MB / 342.7 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.4791, allocations: 174.7 kB / 342.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4793, allocations: 64.86 kB / 343 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.4794, allocations: 3.984 kB / 343 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.4794, allocations: 34.5 kB / 343 MB, free: 8.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.4794, allocations: 0 / 343 MB, free: 8.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007329/0.4802, allocations: 199.9 kB / 343.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.4802, allocations: 51.41 kB / 343.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4804, allocations: 138.1 kB / 343.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4805, allocations: 25.7 kB / 343.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.4807, allocations: 211.8 kB / 343.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.4807, allocations: 55.09 kB / 343.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.4808, allocations: 0 / 343.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4809, allocations: 331.3 kB / 344 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.4811, allocations: 52 kB / 344 MB, free: 7.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.4813, allocations: 106.7 kB / 344.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.4815, allocations: 59.98 kB / 344.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4815, allocations: 0 / 344.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007852/0.4823, allocations: 253 kB / 344.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4823, allocations: 11.81 kB / 344.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4823, allocations: 4 kB / 344.5 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.4828, allocations: 84.75 kB / 344.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.4832, allocations: 35.92 kB / 344.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.4861, allocations: 1.784 MB / 346.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.4864, allocations: 19.78 kB / 346.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.4865, allocations: 8 kB / 346.4 MB, free: 5.16 MB / 298.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.0001339/0.4866, allocations: 109 kB / 346.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006848/0.4873, allocations: 202.1 kB / 346.7 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.4874, allocations: 11.91 kB / 346.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.4881, allocations: 200.7 kB / 346.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4881, allocations: 3.953 kB / 346.9 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4881, allocations: 8 kB / 346.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4881, allocations: 4 kB / 346.9 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.4886, allocations: 273.9 kB / 347.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4886, allocations: 0 / 347.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.4889, allocations: 23.92 kB / 347.2 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.4893, allocations: 76.81 kB / 347.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4894, allocations: 8 kB / 347.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.4921, allocations: 1.763 MB / 349.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4921, allocations: 0 / 349.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008618/0.493, allocations: 364 kB / 349.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.4931, allocations: 89.03 kB / 349.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4932, allocations: 0 / 349.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.4934, allocations: 15.94 kB / 349.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.4935, allocations: 15.98 kB / 349.5 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4935, allocations: 8.062 kB / 349.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.4937, allocations: 112.5 kB / 349.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.4937, allocations: 0 / 349.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000748/0.4944, allocations: 99.53 kB / 349.8 MB, free: 1.59 MB / 298.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.001318/0.4958, allocations: 0.9142 MB / 350.7 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007817/0.4966, allocations: 293.3 kB / 351 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4966, allocations: 0 / 351 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.4971, allocations: 210 kB / 351.2 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4974, allocations: 15.95 kB / 351.2 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4989, allocations: 427.9 kB / 351.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4994, allocations: 0.7711 MB / 352.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.4995, allocations: 13.22 kB / 352.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.4997, allocations: 91.39 kB / 352.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4997, allocations: 0 / 352.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04726/0.547, allocations: 3.687 MB / 356.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000312/0.5474, allocations: 176.5 kB / 356.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/2.969, allocations: 0 / 356.3 MB, free: 10.88 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