Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.537e-05, allocations: 3.984 kB / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09269, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.5729, allocations: 97.46 MB / 397.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5732, allocations: 73.52 kB / 397.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3073/0.8805, allocations: 89.3 MB / 486.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.8806, allocations: 0 / 486.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.085e-05/0.8806, allocations: 24 kB / 486.8 MB, free: 13.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.004145/0.8848, allocations: 1.61 MB / 488.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.8848, allocations: 12.03 kB / 488.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.885, allocations: 62.53 kB / 488.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.8854, allocations: 197.6 kB / 488.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.8889, allocations: 1.215 MB / 489.9 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.8889, allocations: 24.55 kB / 489.9 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.889, allocations: 28 kB / 490 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.8902, allocations: 443.6 kB / 490.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.8902, allocations: 0 / 490.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/0.8903, allocations: 15.98 kB / 490.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.8903, allocations: 8 kB / 490.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.8913, allocations: 378.4 kB / 490.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.8965, allocations: 1.658 MB / 492.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.8973, allocations: 275.5 kB / 492.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.8981, allocations: 361.9 kB / 493.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03239/0.9305, allocations: 18.19 MB / 0.4993 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.9311, allocations: 207.2 kB / 0.4995 GB, free: 1.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 4.779e-06/0.9311, allocations: 7.984 kB / 0.4995 GB, free: 1.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001381/0.9325, allocations: 496.2 kB / 0.5 GB, free: 1.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.9326, allocations: 166.2 kB / 0.5001 GB, free: 0.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.935, allocations: 1.205 MB / 0.5013 GB, free: 15.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.9351, allocations: 33.7 kB / 0.5013 GB, free: 15.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009371/0.9361, allocations: 0.7298 MB / 0.502 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.9362, allocations: 90.75 kB / 0.5021 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.9363, allocations: 12 kB / 0.5021 GB, free: 14.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9364, allocations: 326 kB / 0.5024 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.9368, allocations: 113.1 kB / 0.5026 GB, free: 14.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.9373, allocations: 327.9 kB / 0.5029 GB, free: 13.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.9378, allocations: 160.3 kB / 0.503 GB, free: 13.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.9378, allocations: 0 / 0.503 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001719/0.9395, allocations: 0.6507 MB / 0.5037 GB, free: 13.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9396, allocations: 8 kB / 0.5037 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.9397, allocations: 52 kB / 0.5037 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.9402, allocations: 136.8 kB / 0.5038 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.941, allocations: 111.8 kB / 0.504 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008979/0.9419, allocations: 0.6773 MB / 0.5046 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.9431, allocations: 83.48 kB / 0.5047 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.9433, allocations: 36.06 kB / 0.5047 GB, free: 11.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.9435, allocations: 147.8 kB / 0.5049 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.9438, allocations: 185.8 kB / 0.505 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.9466, allocations: 0.6762 MB / 0.5057 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.9466, allocations: 7.984 kB / 0.5057 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.9467, allocations: 3.953 kB / 0.5057 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.9467, allocations: 0 / 0.5057 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.9498, allocations: 1.234 MB / 0.5069 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.835e-05/0.9499, allocations: 32 kB / 0.507 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.9505, allocations: 63.95 kB / 0.507 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/0.9509, allocations: 124.8 kB / 0.5071 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.951, allocations: 19.94 kB / 0.5072 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008788/0.9519, allocations: 0.6773 MB / 0.5078 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-06/0.9519, allocations: 4.062 kB / 0.5078 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.9533, allocations: 0.6454 MB / 0.5084 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00094/0.9543, allocations: 290.7 kB / 0.5087 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.9546, allocations: 8 kB / 0.5087 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/0.9555, allocations: 39.95 kB / 0.5088 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.9557, allocations: 43.95 kB / 0.5088 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.9558, allocations: 16 kB / 0.5088 GB, free: 7.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001963/0.9578, allocations: 0.9352 MB / 0.5097 GB, free: 6.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.9578, allocations: 0 / 0.5097 GB, free: 6.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001508/0.9593, allocations: 367.7 kB / 0.5101 GB, free: 6.219 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00301/0.9623, allocations: 1.854 MB / 0.5119 GB, free: 4.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.9637, allocations: 424.7 kB / 0.5123 GB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9637, allocations: 3.938 kB / 0.5123 GB, free: 3.883 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.9643, allocations: 239.6 kB / 0.5125 GB, free: 3.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.9659, allocations: 242.8 kB / 0.5128 GB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.971, allocations: 1.798 MB / 0.5145 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009585/0.972, allocations: 1.183 MB / 0.5157 GB, free: 336 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.9731, allocations: 182.4 kB / 0.5159 GB, free: 148 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2753/1.248, allocations: 0.5485 MB / 0.5164 GB, free: 98.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.154e-06/1.248, allocations: 1 kB / 0.5164 GB, free: 98.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08901/1.337, allocations: 33.6 MB / 0.5492 GB, free: 96.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.338, allocations: 189.1 kB / 0.5494 GB, free: 96.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.993/5.331, allocations: 0 / 0.5494 GB, free: 96.71 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Inverter_res.mat does not exist to compare? outputFormat=mat