Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.54e-05, allocations: 8 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.547, allocations: 101.9 MB / 418.9 MB, free: 2.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5473, allocations: 71.59 kB / 419 MB, free: 1.984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3056/0.853, allocations: 89.44 MB / 0.4965 GB, free: 15.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.853, allocations: 3.938 kB / 0.4965 GB, free: 15.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.606e-05/0.8531, allocations: 28 kB / 0.4965 GB, free: 15.21 MB / 426.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.004493/0.8576, allocations: 1.614 MB / 0.4981 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.8577, allocations: 12.03 kB / 0.4981 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.8579, allocations: 62.53 kB / 0.4982 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.8583, allocations: 193.7 kB / 0.4984 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.8615, allocations: 1.219 MB / 0.4995 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.8616, allocations: 32.45 kB / 0.4996 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.8617, allocations: 31.89 kB / 0.4996 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.8628, allocations: 434.6 kB / 0.5 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.8629, allocations: 3.938 kB / 0.5 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.863, allocations: 12 kB / 0.5 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.863, allocations: 11.98 kB / 0.5 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.864, allocations: 377.3 kB / 0.5004 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.8688, allocations: 1.651 MB / 0.502 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.8696, allocations: 275.2 kB / 0.5023 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.8704, allocations: 370 kB / 0.5026 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3007/1.171, allocations: 18.17 MB / 0.5204 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/1.172, allocations: 211.5 kB / 0.5206 GB, free: 96.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.376e-06/1.172, allocations: 0 / 0.5206 GB, free: 96.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.001329/1.173, allocations: 497.1 kB / 0.5211 GB, free: 96.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/1.173, allocations: 164.8 kB / 0.5212 GB, free: 96.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/1.176, allocations: 1.212 MB / 0.5224 GB, free: 96.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.176, allocations: 34.56 kB / 0.5224 GB, free: 96.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007967/1.177, allocations: 0.7211 MB / 0.5231 GB, free: 96.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/1.177, allocations: 97.62 kB / 0.5232 GB, free: 95.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/1.177, allocations: 5.938 kB / 0.5232 GB, free: 95.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8e-05/1.177, allocations: 330 kB / 0.5235 GB, free: 95.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/1.177, allocations: 110.1 kB / 0.5237 GB, free: 95.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/1.178, allocations: 326.7 kB / 0.524 GB, free: 95.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/1.178, allocations: 160.5 kB / 0.5241 GB, free: 95.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.178, allocations: 2.312 kB / 0.5241 GB, free: 95.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001666/1.18, allocations: 0.6354 MB / 0.5247 GB, free: 95.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.18, allocations: 8.531 kB / 0.5247 GB, free: 95.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.18, allocations: 41 kB / 0.5248 GB, free: 95.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/1.181, allocations: 134.2 kB / 0.5249 GB, free: 95.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/1.182, allocations: 114.4 kB / 0.525 GB, free: 95.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/1.182, allocations: 0.6854 MB / 0.5257 GB, free: 94.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.184, allocations: 82.3 kB / 0.5258 GB, free: 94.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.184, allocations: 35.28 kB / 0.5258 GB, free: 94.72 MB / 426.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.0001986/1.184, allocations: 141.9 kB / 0.5259 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/1.184, allocations: 188 kB / 0.5261 GB, free: 94.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/1.187, allocations: 0.678 MB / 0.5268 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.187, allocations: 2.25 kB / 0.5268 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.187, allocations: 1.125 kB / 0.5268 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.187, allocations: 1.031 kB / 0.5268 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/1.19, allocations: 1.244 MB / 0.528 GB, free: 94.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.791e-05/1.19, allocations: 34.06 kB / 0.528 GB, free: 94.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/1.191, allocations: 72.14 kB / 0.5281 GB, free: 94.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/1.191, allocations: 126.1 kB / 0.5282 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/1.191, allocations: 14.97 kB / 0.5282 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007137/1.192, allocations: 0.6623 MB / 0.5289 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.192, allocations: 1.75 kB / 0.5289 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/1.193, allocations: 0.6543 MB / 0.5295 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/1.194, allocations: 287.6 kB / 0.5298 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/1.194, allocations: 10.59 kB / 0.5298 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/1.195, allocations: 39.08 kB / 0.5298 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.196, allocations: 46.16 kB / 0.5299 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/1.196, allocations: 26 kB / 0.5299 GB, free: 93.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001838/1.198, allocations: 0.9295 MB / 0.5308 GB, free: 92.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.198, allocations: 0 / 0.5308 GB, free: 92.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001803/1.199, allocations: 369.8 kB / 0.5312 GB, free: 92.89 MB / 426.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.002651/1.202, allocations: 1.848 MB / 0.533 GB, free: 91.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/1.203, allocations: 415.1 kB / 0.5334 GB, free: 91.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/1.203, allocations: 0 / 0.5334 GB, free: 91.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005728/1.204, allocations: 247.4 kB / 0.5336 GB, free: 91.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.205, allocations: 231.1 kB / 0.5338 GB, free: 91.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/1.21, allocations: 1.79 MB / 0.5356 GB, free: 91.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/1.211, allocations: 1.187 MB / 0.5367 GB, free: 90.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009692/1.212, allocations: 174.9 kB / 0.5369 GB, free: 90.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007452/1.213, allocations: 0.5589 MB / 0.5375 GB, free: 90.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/1.213, allocations: 0 / 0.5375 GB, free: 90.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08376/1.296, allocations: 33.6 MB / 0.5703 GB, free: 87.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/1.297, allocations: 188.6 kB / 0.5704 GB, free: 87.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.825/5.122, allocations: 0 / 0.5704 GB, free: 87.18 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Inverter_res.mat does not exist to compare? outputFormat=mat