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.873/1.873, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.179e-05/4.171e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2929, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4259, allocations: 70.07 MB / 334 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4263, allocations: 79.95 kB / 334 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04881/0.4751, allocations: 12.26 MB / 346.3 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.359e-06/0.4751, allocations: 0 / 346.3 MB, free: 7.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.4752, allocations: 11.94 kB / 346.3 MB, free: 7.031 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.002481/0.4777, allocations: 0.6623 MB / 347 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.4777, allocations: 12.03 kB / 347 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.4779, allocations: 82.52 kB / 347.1 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.4783, allocations: 47.61 kB / 347.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.4787, allocations: 266.5 kB / 347.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.4788, allocations: 33 kB / 347.4 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.4789, allocations: 40 kB / 347.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009654/0.4799, allocations: 324.5 kB / 347.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.4799, allocations: 0 / 347.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.48, allocations: 19.98 kB / 347.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.48, allocations: 12 kB / 347.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.4808, allocations: 234 kB / 348 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.484, allocations: 1.351 MB / 349.4 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.4848, allocations: 174.7 kB / 349.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.4851, allocations: 68.86 kB / 349.6 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.4851, allocations: 4 kB / 349.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4852, allocations: 38.56 kB / 349.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.776e-06/0.4852, allocations: 0 / 349.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008243/0.486, allocations: 212.6 kB / 349.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4861, allocations: 55.36 kB / 349.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.4863, allocations: 158.5 kB / 350.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.4864, allocations: 25.7 kB / 350.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.4866, allocations: 207.6 kB / 350.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.4866, allocations: 59.09 kB / 350.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.4867, allocations: 8 kB / 350.4 MB, free: 2.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4868, allocations: 326.8 kB / 350.7 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.487, allocations: 48 kB / 350.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.4872, allocations: 106.9 kB / 350.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4875, allocations: 65.64 kB / 350.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4875, allocations: 8 kB / 350.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009122/0.4884, allocations: 267 kB / 351.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4885, allocations: 8 kB / 351.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4885, allocations: 0 / 351.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.489, allocations: 89.03 kB / 351.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4894, allocations: 35.92 kB / 351.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.4925, allocations: 1.85 MB / 353.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.4929, allocations: 27.77 kB / 353.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.4929, allocations: 8 kB / 353.2 MB, free: 15.72 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.0001376/0.4931, allocations: 113 kB / 353.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.4931, allocations: 15.81 kB / 353.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.4939, allocations: 232 kB / 353.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.494, allocations: 7.938 kB / 353.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.494, allocations: 0 / 353.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.494, allocations: 0 / 353.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006131/0.4946, allocations: 345.3 kB / 353.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4946, allocations: 0 / 353.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.4949, allocations: 19.98 kB / 353.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/0.4954, allocations: 84.81 kB / 354 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.4954, allocations: 8 kB / 354 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.4984, allocations: 1.835 MB / 355.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4984, allocations: 0 / 355.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/0.4994, allocations: 380.4 kB / 356.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.4995, allocations: 96.92 kB / 356.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.4996, allocations: 4 kB / 356.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.4999, allocations: 16.12 kB / 356.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.5, allocations: 19.91 kB / 356.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5, allocations: 4 kB / 356.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.5002, allocations: 128.9 kB / 356.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5002, allocations: 0 / 356.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007542/0.5009, allocations: 99.59 kB / 356.5 MB, free: 12.11 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.001535/0.5025, allocations: 0.9418 MB / 357.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.5038, allocations: 300.7 kB / 357.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.5039, allocations: 448 / 357.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.5047, allocations: 217.5 kB / 358 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.5052, allocations: 15.98 kB / 358 MB, free: 10.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.5076, allocations: 450.2 kB / 358.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.5084, allocations: 0.7753 MB / 359.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.5086, allocations: 5.562 kB / 359.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.5089, allocations: 91.39 kB / 359.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5089, allocations: 4 kB / 359.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06752/0.5764, allocations: 4.532 MB / 363.9 MB, free: 4.758 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/0.5767, allocations: 198.3 kB / 364 MB, free: 4.531 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.129, allocations: 0 / 364 MB, free: 4.531 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