Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.57e-05, allocations: 2.75 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09948, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5515, allocations: 97.13 MB / 391.4 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5518, allocations: 66.59 kB / 391.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7947/1.347, allocations: 121.9 MB / 0.5013 GB, free: 75.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.347, allocations: 0 / 0.5013 GB, free: 75.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001189/1.347, allocations: 50.75 kB / 0.5014 GB, free: 75.07 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.009115/1.356, allocations: 2.798 MB / 0.5041 GB, free: 73.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/1.356, allocations: 9.344 kB / 0.5041 GB, free: 73.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/1.357, allocations: 418.8 kB / 0.5045 GB, free: 73.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007105/1.365, allocations: 2.438 MB / 0.5069 GB, free: 72.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/1.365, allocations: 15.62 kB / 0.5069 GB, free: 72.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/1.365, allocations: 38.48 kB / 0.507 GB, free: 72.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001752/1.367, allocations: 0.6877 MB / 0.5076 GB, free: 72.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/1.368, allocations: 0.7159 MB / 0.5083 GB, free: 72.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.368, allocations: 0 / 0.5083 GB, free: 72.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/1.368, allocations: 7.656 kB / 0.5083 GB, free: 72.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/1.368, allocations: 23.7 kB / 0.5084 GB, free: 72.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/1.379, allocations: 3.167 MB / 0.5115 GB, free: 72.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.38, allocations: 468.5 kB / 0.5119 GB, free: 72.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.381, allocations: 0.5775 MB / 0.5125 GB, free: 72.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05152/1.433, allocations: 36.18 MB / 0.5478 GB, free: 45.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/1.433, allocations: 313.8 kB / 0.5481 GB, free: 45.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 4.619e-06/1.433, allocations: 0 / 0.5481 GB, free: 45.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.002265/1.436, allocations: 0.7964 MB / 0.5489 GB, free: 45.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.436, allocations: 270.6 kB / 0.5491 GB, free: 45.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005982/1.442, allocations: 2.463 MB / 0.5515 GB, free: 44.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/1.442, allocations: 29.02 kB / 0.5516 GB, free: 44.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.444, allocations: 1.576 MB / 0.5531 GB, free: 44.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/1.445, allocations: 168.4 kB / 0.5533 GB, free: 44.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/1.445, allocations: 0 / 0.5533 GB, free: 44.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/1.445, allocations: 339.4 kB / 0.5536 GB, free: 44.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/1.445, allocations: 176.4 kB / 0.5538 GB, free: 44.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/1.446, allocations: 0.5746 MB / 0.5543 GB, free: 43.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/1.447, allocations: 265.7 kB / 0.5546 GB, free: 43.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.447, allocations: 3.344 kB / 0.5546 GB, free: 43.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00284/1.45, allocations: 1.044 MB / 0.5556 GB, free: 43.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.45, allocations: 15.61 kB / 0.5556 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000221/1.45, allocations: 83.86 kB / 0.5557 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-05/1.45, allocations: 26.39 kB / 0.5557 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.452, allocations: 207.6 kB / 0.5559 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/1.452, allocations: 25.28 kB / 0.5559 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.454, allocations: 107 kB / 0.556 GB, free: 43.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.454, allocations: 68.69 kB / 0.5561 GB, free: 43.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002462/1.454, allocations: 147.8 kB / 0.5562 GB, free: 43.34 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001655/1.456, allocations: 0.8056 MB / 0.557 GB, free: 43.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/1.456, allocations: 402.2 kB / 0.5574 GB, free: 42.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/1.461, allocations: 1.131 MB / 0.5585 GB, free: 42.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/1.461, allocations: 3.938 kB / 0.5585 GB, free: 42.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.461, allocations: 2.75 kB / 0.5585 GB, free: 42.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.461, allocations: 0 / 0.5585 GB, free: 42.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005483/1.467, allocations: 2.088 MB / 0.5606 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002044/1.467, allocations: 71.25 kB / 0.5606 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.468, allocations: 104.2 kB / 0.5607 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.468, allocations: 3.938 kB / 0.5607 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/1.468, allocations: 25.52 kB / 0.5608 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.468, allocations: 12.45 kB / 0.5608 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.468, allocations: 0 / 0.5608 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/1.471, allocations: 1.204 MB / 0.562 GB, free: 41.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/1.473, allocations: 0.5238 MB / 0.5625 GB, free: 41.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008675/1.473, allocations: 3.625 kB / 0.5625 GB, free: 41.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/1.475, allocations: 39.62 kB / 0.5625 GB, free: 41.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/1.475, allocations: 62.97 kB / 0.5626 GB, free: 41.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.475, allocations: 39.75 kB / 0.5626 GB, free: 41.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003819/1.479, allocations: 1.819 MB / 0.5644 GB, free: 41.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.479, allocations: 0 / 0.5644 GB, free: 41.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00288/1.482, allocations: 0.6281 MB / 0.565 GB, free: 41.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004653/1.487, allocations: 2.757 MB / 0.5677 GB, free: 40.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/1.489, allocations: 0.6605 MB / 0.5683 GB, free: 40.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.489, allocations: 0 / 0.5683 GB, free: 40.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/1.489, allocations: 389.7 kB / 0.5687 GB, free: 40.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.493, allocations: 0.5083 MB / 0.5692 GB, free: 40 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.504, allocations: 3.767 MB / 0.5729 GB, free: 38.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.505, allocations: 1.779 MB / 0.5746 GB, free: 38.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002318/1.508, allocations: 387.2 kB / 0.575 GB, free: 38.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.51, allocations: 1.259 MB / 0.5762 GB, free: 38.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.462e-06/1.51, allocations: 0 / 0.5762 GB, free: 38.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/1.687, allocations: 56.21 MB / 0.6311 GB, free: 9.492 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003264/1.688, allocations: 160.1 kB / 0.6313 GB, free: 9.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.462/8.15, allocations: 0 / 0.6313 GB, free: 9.293 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat does not exist to compare? outputFormat=mat