Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_FourInverters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.349e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 44.48 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.524, allocations: 97.26 MB / 391.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.5244, allocations: 67.97 kB / 391.6 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9056/1.43, allocations: 186.6 MB / 0.5646 GB, free: 0.625 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.43, allocations: 3.938 kB / 0.5646 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001965/1.43, allocations: 88 kB / 0.5647 GB, free: 0.5352 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.2994/1.73, allocations: 4.67 MB / 0.5693 GB, free: 50.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/1.73, allocations: 12.34 kB / 0.5693 GB, free: 50.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/1.732, allocations: 0.7492 MB / 0.57 GB, free: 50.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/1.746, allocations: 4.51 MB / 0.5744 GB, free: 49.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/1.746, allocations: 27.62 kB / 0.5745 GB, free: 49.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/1.747, allocations: 65.53 kB / 0.5745 GB, free: 49.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003128/1.75, allocations: 1.316 MB / 0.5758 GB, free: 49.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/1.753, allocations: 1.318 MB / 0.5771 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/1.753, allocations: 2.156 kB / 0.5771 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/1.753, allocations: 12.14 kB / 0.5771 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/1.753, allocations: 38.05 kB / 0.5771 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/1.769, allocations: 5.659 MB / 0.5827 GB, free: 48.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/1.771, allocations: 0.8518 MB / 0.5835 GB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.773, allocations: 1.123 MB / 0.5846 GB, free: 48.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09635/1.87, allocations: 71.86 MB / 0.6548 GB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009877/1.871, allocations: 0.4928 MB / 0.6553 GB, free: 27.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 3.677e-06/1.871, allocations: 0 / 0.6553 GB, free: 27.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.003761/1.874, allocations: 1.43 MB / 0.6567 GB, free: 27.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002841/1.875, allocations: 481.7 kB / 0.6571 GB, free: 26.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009722/1.885, allocations: 4.409 MB / 0.6614 GB, free: 26.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/1.885, allocations: 30.73 kB / 0.6615 GB, free: 26.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003484/1.888, allocations: 2.932 MB / 0.6643 GB, free: 26.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/1.889, allocations: 288 kB / 0.6646 GB, free: 25.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.889, allocations: 0 / 0.6646 GB, free: 25.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/1.889, allocations: 364.3 kB / 0.6649 GB, free: 25.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/1.89, allocations: 320.1 kB / 0.6652 GB, free: 25.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.891, allocations: 1.083 MB / 0.6663 GB, free: 24.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.892, allocations: 499 kB / 0.6668 GB, free: 24.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/1.892, allocations: 5.906 kB / 0.6668 GB, free: 24.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004559/1.897, allocations: 1.921 MB / 0.6687 GB, free: 24.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.897, allocations: 16.41 kB / 0.6687 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003611/1.897, allocations: 165 kB / 0.6688 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.812e-05/1.898, allocations: 34.38 kB / 0.6689 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/1.9, allocations: 372.7 kB / 0.6692 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.001e-05/1.9, allocations: 45.33 kB / 0.6693 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004587/1.904, allocations: 185.6 kB / 0.6694 GB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/1.905, allocations: 120.1 kB / 0.6696 GB, free: 24.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004839/1.905, allocations: 183.4 kB / 0.6697 GB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003736/1.909, allocations: 1.423 MB / 0.6711 GB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/1.911, allocations: 0.725 MB / 0.6718 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/1.92, allocations: 2.089 MB / 0.6739 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.92, allocations: 7.562 kB / 0.6739 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.92, allocations: 3.953 kB / 0.6739 GB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.92, allocations: 3.656 kB / 0.6739 GB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009957/1.93, allocations: 3.553 MB / 0.6773 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003344/1.93, allocations: 136.5 kB / 0.6775 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/1.932, allocations: 167 kB / 0.6776 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/1.932, allocations: 3.953 kB / 0.6776 GB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/1.932, allocations: 57.92 kB / 0.6777 GB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.932, allocations: 3.906 kB / 0.6777 GB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.932, allocations: 2.906 kB / 0.6777 GB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/1.936, allocations: 2.049 MB / 0.6797 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003501/1.94, allocations: 0.9345 MB / 0.6806 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002343/1.942, allocations: 10.78 kB / 0.6806 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/1.946, allocations: 39.33 kB / 0.6807 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004122/1.946, allocations: 100.8 kB / 0.6808 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.946, allocations: 74.27 kB / 0.6808 GB, free: 21.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007847/1.954, allocations: 3.251 MB / 0.684 GB, free: 21.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.954, allocations: 3.969 kB / 0.684 GB, free: 21.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004994/1.959, allocations: 1.123 MB / 0.6851 GB, free: 20.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * 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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007579/1.967, allocations: 3.887 MB / 0.6889 GB, free: 17.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002826/1.97, allocations: 1.248 MB / 0.6901 GB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.97, allocations: 4 kB / 0.6901 GB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.971, allocations: 0.7019 MB / 0.6908 GB, free: 16.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/1.977, allocations: 0.9567 MB / 0.6917 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/1.997, allocations: 6.913 MB / 0.6985 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003032/2, allocations: 2.722 MB / 0.7012 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004479/2.005, allocations: 0.7261 MB / 0.7019 GB, free: 7.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003902/2.009, allocations: 2.433 MB / 0.7042 GB, free: 7.543 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/2.009, allocations: 0 / 0.7042 GB, free: 7.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5522/2.561, allocations: 99.28 MB / 0.8012 GB, free: 51.05 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/2.561, allocations: 143 kB / 0.8013 GB, free: 50.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.531/12.09, allocations: 0 / 0.8013 GB, free: 50.86 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat does not exist to compare? outputFormat=mat