Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.628e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09256, allocations: 44.52 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.5009, allocations: 76.91 MB / 376.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5012, allocations: 79.39 kB / 377 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05914/0.5604, allocations: 15.95 MB / 392.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5605, allocations: 0 / 392.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.5605, allocations: 7.781 kB / 392.9 MB, free: 10.95 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002397/0.5629, allocations: 0.7558 MB / 393.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.563, allocations: 11.75 kB / 393.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.5632, allocations: 107.4 kB / 393.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/0.5676, allocations: 434.8 kB / 394.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.5683, allocations: 320.4 kB / 394.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.5684, allocations: 41.53 kB / 394.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.5685, allocations: 62.81 kB / 394.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.57, allocations: 0.521 MB / 395.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.57, allocations: 5.938 kB / 395.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.5701, allocations: 26.53 kB / 395.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5702, allocations: 15.34 kB / 395.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.5717, allocations: 0.6012 MB / 395.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/0.5765, allocations: 2.07 MB / 397.9 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.5797, allocations: 2.975 MB / 400.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.5803, allocations: 207.5 kB / 401 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.5804, allocations: 95.5 kB / 401.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.5805, allocations: 41.23 kB / 401.2 MB, free: 6.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.417e-06/0.5805, allocations: 3.938 kB / 401.2 MB, free: 6.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.00124/0.5817, allocations: 428.2 kB / 401.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.5818, allocations: 63.47 kB / 401.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.5821, allocations: 186.1 kB / 401.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.5822, allocations: 37.14 kB / 401.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.5823, allocations: 239.8 kB / 402.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.5825, allocations: 167.4 kB / 402.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.5825, allocations: 11.34 kB / 402.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002856/0.5828, allocations: 337.1 kB / 402.6 MB, free: 21.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.5832, allocations: 138 kB / 402.8 MB, free: 21.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.5836, allocations: 258.6 kB / 403 MB, free: 21.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.5841, allocations: 177.7 kB / 403.2 MB, free: 21.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5841, allocations: 4 kB / 403.2 MB, free: 21.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00138/0.5855, allocations: 0.544 MB / 403.7 MB, free: 21.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5855, allocations: 7.938 kB / 403.7 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5856, allocations: 3.812 kB / 403.7 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/0.5861, allocations: 92.22 kB / 403.8 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.5869, allocations: 111.8 kB / 403.9 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.5895, allocations: 1.844 MB / 405.8 MB, free: 19.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.5902, allocations: 53.53 kB / 405.8 MB, free: 19.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.5903, allocations: 26.3 kB / 405.9 MB, free: 19.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0001705/0.5905, allocations: 133.5 kB / 406 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.5906, allocations: 34.98 kB / 406 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.592, allocations: 0.517 MB / 406.5 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.5921, allocations: 4.062 kB / 406.5 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5921, allocations: 3.875 kB / 406.6 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5921, allocations: 7.922 kB / 406.6 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.5943, allocations: 1.103 MB / 407.7 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5943, allocations: 0 / 407.7 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.5949, allocations: 84.42 kB / 407.7 MB, free: 18.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.5954, allocations: 85.19 kB / 407.8 MB, free: 18.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.5954, allocations: 10.78 kB / 407.8 MB, free: 18.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.5979, allocations: 1.84 MB / 409.7 MB, free: 17.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5979, allocations: 0 / 409.7 MB, free: 17.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.5996, allocations: 0.7552 MB / 410.4 MB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.5998, allocations: 116 kB / 410.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.5999, allocations: 10.44 kB / 410.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/0.6003, allocations: 26.23 kB / 410.6 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6004, allocations: 39.09 kB / 410.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.6005, allocations: 14.72 kB / 410.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.6007, allocations: 134.9 kB / 410.8 MB, free: 16.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.492e-06/0.6007, allocations: 3.781 kB / 410.8 MB, free: 16.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008477/0.6015, allocations: 168.5 kB / 410.9 MB, free: 16.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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.002236/0.6038, allocations: 1.346 MB / 412.3 MB, free: 16.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.6052, allocations: 0.5466 MB / 412.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6052, allocations: 0.8125 kB / 412.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.6059, allocations: 372.5 kB / 413.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.6063, allocations: 31.61 kB / 413.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.6104, allocations: 1.112 MB / 414.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.611, allocations: 0.8299 MB / 415.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003796/0.6114, allocations: 46.55 kB / 415.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.6116, allocations: 149.4 kB / 415.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6117, allocations: 0 / 415.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/0.6594, allocations: 7.17 MB / 422.5 MB, free: 11 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.6597, allocations: 196 kB / 422.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.423, allocations: 0 / 422.7 MB, free: 10.78 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat