Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_FourInverters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.041e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2599, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.4823, allocations: 93.44 MB / 351.8 MB, free: 300 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4826, allocations: 75.95 kB / 351.9 MB, free: 224 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157/1.64, allocations: 189.8 MB / 0.529 GB, free: 44.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.64, allocations: 0 / 0.529 GB, free: 44.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001619/1.64, allocations: 84.78 kB / 0.529 GB, free: 44.84 MB / 346.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.01299/1.653, allocations: 4.676 MB / 0.5336 GB, free: 42.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.653, allocations: 14.53 kB / 0.5336 GB, free: 42.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/1.655, allocations: 0.7495 MB / 0.5343 GB, free: 42.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/1.668, allocations: 4.51 MB / 0.5387 GB, free: 40.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/1.668, allocations: 34.73 kB / 0.5388 GB, free: 40.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/1.668, allocations: 66.94 kB / 0.5388 GB, free: 40.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003117/1.672, allocations: 1.314 MB / 0.5401 GB, free: 40.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/1.675, allocations: 1.319 MB / 0.5414 GB, free: 40.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/1.675, allocations: 3.156 kB / 0.5414 GB, free: 40.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/1.675, allocations: 3.781 kB / 0.5414 GB, free: 40.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/1.675, allocations: 39.97 kB / 0.5415 GB, free: 40.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/1.693, allocations: 5.65 MB / 0.547 GB, free: 40.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/1.695, allocations: 0.8561 MB / 0.5478 GB, free: 40.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/1.697, allocations: 1.12 MB / 0.5489 GB, free: 39.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1018/1.799, allocations: 71.87 MB / 0.6191 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/1.8, allocations: 0.4922 MB / 0.6196 GB, free: 14.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=85): time 4.138e-06/1.8, allocations: 0 / 0.6196 GB, free: 14.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.00328/1.803, allocations: 1.427 MB / 0.621 GB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/1.803, allocations: 475.2 kB / 0.6214 GB, free: 12.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.814, allocations: 4.408 MB / 0.6257 GB, free: 7.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/1.814, allocations: 33.17 kB / 0.6258 GB, free: 7.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004718/1.819, allocations: 2.931 MB / 0.6286 GB, free: 4.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006464/1.82, allocations: 289.9 kB / 0.6289 GB, free: 4.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.82, allocations: 0 / 0.6289 GB, free: 4.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/1.82, allocations: 369.9 kB / 0.6292 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000872/1.821, allocations: 308 kB / 0.6295 GB, free: 3.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.823, allocations: 1.081 MB / 0.6306 GB, free: 2.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/1.824, allocations: 0.4935 MB / 0.6311 GB, free: 1.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/1.824, allocations: 8 kB / 0.6311 GB, free: 1.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00536/1.83, allocations: 1.919 MB / 0.633 GB, free: 168 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/1.83, allocations: 19.94 kB / 0.633 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.281/2.111, allocations: 162.3 kB / 0.6331 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/2.111, allocations: 36.34 kB / 0.6332 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/2.114, allocations: 366.7 kB / 0.6335 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001335/2.114, allocations: 49.14 kB / 0.6336 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004365/2.118, allocations: 171.9 kB / 0.6337 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005896/2.119, allocations: 121.4 kB / 0.6338 GB, free: 75.95 MB / 378.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.000473/2.119, allocations: 183.5 kB / 0.634 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004101/2.123, allocations: 1.426 MB / 0.6354 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/2.125, allocations: 0.7264 MB / 0.6361 GB, free: 75.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/2.134, allocations: 2.085 MB / 0.6382 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/2.134, allocations: 10.19 kB / 0.6382 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/2.134, allocations: 0 / 0.6382 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/2.134, allocations: 5.297 kB / 0.6382 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/2.144, allocations: 3.553 MB / 0.6416 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003771/2.145, allocations: 140.3 kB / 0.6418 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/2.146, allocations: 163.1 kB / 0.6419 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/2.146, allocations: 2.938 kB / 0.6419 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/2.147, allocations: 57.23 kB / 0.642 GB, free: 74.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/2.147, allocations: 10.75 kB / 0.642 GB, free: 74.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/2.147, allocations: 0 / 0.642 GB, free: 74.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/2.151, allocations: 2.057 MB / 0.644 GB, free: 73.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/2.154, allocations: 0.9341 MB / 0.6449 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/2.156, allocations: 7.75 kB / 0.6449 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/2.159, allocations: 41.77 kB / 0.645 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/2.16, allocations: 99.72 kB / 0.6451 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/2.16, allocations: 69.03 kB / 0.6451 GB, free: 73.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008152/2.168, allocations: 3.255 MB / 0.6483 GB, free: 73.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.168, allocations: 0 / 0.6483 GB, free: 73.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004493/2.172, allocations: 1.119 MB / 0.6494 GB, free: 73.14 MB / 378.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.007718/2.18, allocations: 3.904 MB / 0.6532 GB, free: 71.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00312/2.183, allocations: 1.248 MB / 0.6544 GB, free: 71.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/2.183, allocations: 2.531 kB / 0.6544 GB, free: 71.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/2.185, allocations: 0.702 MB / 0.6551 GB, free: 71.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006279/2.191, allocations: 0.9435 MB / 0.656 GB, free: 71.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/2.212, allocations: 6.909 MB / 0.6628 GB, free: 69.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003792/2.216, allocations: 2.724 MB / 0.6654 GB, free: 68.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004873/2.22, allocations: 0.727 MB / 0.6662 GB, free: 68.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00447/2.225, allocations: 2.436 MB / 0.6685 GB, free: 68.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.084e-06/2.225, allocations: 0 / 0.6685 GB, free: 68.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2535/2.479, allocations: 99.29 MB / 0.7655 GB, free: 15 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/2.479, allocations: 148 kB / 0.7656 GB, free: 14.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.582/12.06, allocations: 0 / 0.7656 GB, free: 14.8 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat does not exist to compare? outputFormat=mat