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.817/1.817, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.035e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2931, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.434, allocations: 69.4 MB / 327.8 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.4344, allocations: 83.95 kB / 327.8 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04527/0.4797, allocations: 12.2 MB / 340 MB, free: 11.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4797, allocations: 0 / 340 MB, free: 11.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.4798, allocations: 8 kB / 340 MB, free: 11.92 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.002195/0.482, allocations: 0.6671 MB / 340.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.482, allocations: 8.031 kB / 340.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.4823, allocations: 51.61 kB / 340.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.4827, allocations: 262.5 kB / 341 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.4828, allocations: 16 kB / 341 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.4829, allocations: 20 kB / 341.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006829/0.4836, allocations: 246.6 kB / 341.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.4843, allocations: 284 kB / 341.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.4844, allocations: 0 / 341.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.4844, allocations: 0 / 341.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.4845, allocations: 16 kB / 341.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.4874, allocations: 1.282 MB / 342.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.4879, allocations: 150.7 kB / 343 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.4882, allocations: 112.8 kB / 343.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.4883, allocations: 4 kB / 343.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4883, allocations: 30.56 kB / 343.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.013e-06/0.4883, allocations: 4 kB / 343.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006958/0.489, allocations: 191.4 kB / 343.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.4891, allocations: 59.34 kB / 343.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.4893, allocations: 134.2 kB / 343.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4893, allocations: 25.7 kB / 343.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.4894, allocations: 211.8 kB / 343.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.4895, allocations: 59.2 kB / 343.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.4895, allocations: 0 / 343.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4897, allocations: 323.3 kB / 344.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4898, allocations: 47.94 kB / 344.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.49, allocations: 116.5 kB / 344.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.4902, allocations: 63.94 kB / 344.4 MB, free: 7.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4902, allocations: 4 kB / 344.4 MB, free: 7.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007323/0.491, allocations: 253.9 kB / 344.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.491, allocations: 8 kB / 344.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.491, allocations: 0 / 344.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.4915, allocations: 77.09 kB / 344.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4918, allocations: 43.97 kB / 344.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.494, allocations: 1.566 MB / 346.3 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.4943, allocations: 27.73 kB / 346.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.4944, allocations: 8 kB / 346.4 MB, free: 5.207 MB / 298.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.000111/0.4945, allocations: 112.9 kB / 346.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006131/0.4951, allocations: 188 kB / 346.7 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.4952, allocations: 15.77 kB / 346.7 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.4958, allocations: 203 kB / 346.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4958, allocations: 4 kB / 346.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4958, allocations: 3.953 kB / 346.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4959, allocations: 3.984 kB / 346.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.4971, allocations: 0.582 MB / 347.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4971, allocations: 0 / 347.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.4973, allocations: 32.05 kB / 347.5 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/0.4977, allocations: 69.05 kB / 347.6 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4978, allocations: 0 / 347.6 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.4999, allocations: 1.565 MB / 349.1 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4999, allocations: 0 / 349.1 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/0.5007, allocations: 382.5 kB / 349.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.5008, allocations: 100.9 kB / 349.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.5009, allocations: 0 / 349.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.5011, allocations: 16.05 kB / 349.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.5012, allocations: 27.81 kB / 349.6 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.5013, allocations: 4 kB / 349.6 MB, free: 1.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.5014, allocations: 116.5 kB / 349.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5014, allocations: 0 / 349.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000621/0.502, allocations: 95.53 kB / 349.8 MB, free: 1.469 MB / 298.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.001205/0.5032, allocations: 1.07 MB / 350.9 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007344/0.504, allocations: 282.1 kB / 351.2 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.504, allocations: 0 / 351.2 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.5045, allocations: 209.5 kB / 351.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.5048, allocations: 16.64 kB / 351.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.5062, allocations: 441.7 kB / 351.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.5066, allocations: 0.7711 MB / 352.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.5067, allocations: 21.19 kB / 352.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5069, allocations: 83.41 kB / 352.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5069, allocations: 0 / 352.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.5434, allocations: 3.709 MB / 356.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.5437, allocations: 178.8 kB / 356.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.076, allocations: 3.938 kB / 356.6 MB, free: 10.56 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