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.767/1.767, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.126e-05, allocations: 4 kB / 225.1 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2603, allocations: 38.77 MB / 263.9 MB, free: 9.789 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.4266, allocations: 94.11 MB / 358 MB, free: 11.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.427, allocations: 71.95 kB / 358 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.156/1.583, allocations: 196.5 MB / 0.5415 GB, free: 45.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.583, allocations: 1.219 kB / 0.5415 GB, free: 45.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001337/1.583, allocations: 88.62 kB / 0.5416 GB, free: 45.98 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.01103/1.594, allocations: 4.677 MB / 0.5462 GB, free: 43.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.594, allocations: 11.09 kB / 0.5462 GB, free: 43.55 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005254/1.595, allocations: 157.3 kB / 0.5463 GB, free: 43.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/1.596, allocations: 0.7487 MB / 0.5471 GB, free: 43.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/1.608, allocations: 4.511 MB / 0.5515 GB, free: 42.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/1.608, allocations: 67.42 kB / 0.5515 GB, free: 42.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/1.609, allocations: 101.8 kB / 0.5516 GB, free: 42.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/1.612, allocations: 1.445 MB / 0.553 GB, free: 41.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/1.612, allocations: 2.719 kB / 0.553 GB, free: 41.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/1.612, allocations: 44.22 kB / 0.5531 GB, free: 41.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/1.612, allocations: 38.59 kB / 0.5531 GB, free: 41.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/1.615, allocations: 1.365 MB / 0.5544 GB, free: 41.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/1.633, allocations: 5.856 MB / 0.5602 GB, free: 39.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/1.635, allocations: 0.8881 MB / 0.561 GB, free: 38.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.637, allocations: 1.159 MB / 0.5622 GB, free: 38.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3914/2.028, allocations: 71.89 MB / 0.6324 GB, free: 78.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/2.029, allocations: 0.5136 MB / 0.6329 GB, free: 78.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=85): time 3.928e-06/2.029, allocations: 0 / 0.6329 GB, free: 78.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.003481/2.033, allocations: 1.456 MB / 0.6343 GB, free: 78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/2.033, allocations: 490.9 kB / 0.6348 GB, free: 77.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009878/2.043, allocations: 4.792 MB / 0.6394 GB, free: 76.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002784/2.043, allocations: 42.27 kB / 0.6395 GB, free: 76.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0036/2.047, allocations: 2.929 MB / 0.6423 GB, free: 76.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/2.047, allocations: 305.7 kB / 0.6426 GB, free: 76.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/2.048, allocations: 27.06 kB / 0.6427 GB, free: 76.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/2.048, allocations: 365.8 kB / 0.643 GB, free: 76.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/2.049, allocations: 344.9 kB / 0.6433 GB, free: 76.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/2.05, allocations: 1.119 MB / 0.6444 GB, free: 75.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/2.051, allocations: 0.521 MB / 0.6449 GB, free: 75.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/2.051, allocations: 7.719 kB / 0.6449 GB, free: 75.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0047/2.056, allocations: 2.098 MB / 0.647 GB, free: 74.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/2.056, allocations: 13.59 kB / 0.647 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003213/2.057, allocations: 165.9 kB / 0.6472 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.655e-05/2.057, allocations: 36.72 kB / 0.6472 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/2.059, allocations: 371 kB / 0.6475 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.245e-05/2.059, allocations: 51.97 kB / 0.6476 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/2.063, allocations: 201.5 kB / 0.6478 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004778/2.063, allocations: 122.3 kB / 0.6479 GB, free: 74.7 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.0004322/2.064, allocations: 219.3 kB / 0.6481 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/2.065, allocations: 0.7247 MB / 0.6488 GB, free: 74.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008646/2.074, allocations: 2.14 MB / 0.6509 GB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/2.074, allocations: 5.344 kB / 0.6509 GB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/2.074, allocations: 0 / 0.6509 GB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/2.074, allocations: 2.438 kB / 0.6509 GB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008748/2.083, allocations: 3.742 MB / 0.6546 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000298/2.083, allocations: 139.1 kB / 0.6547 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/2.085, allocations: 163.7 kB / 0.6549 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/2.085, allocations: 3.094 kB / 0.6549 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/2.085, allocations: 61.39 kB / 0.6549 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/2.085, allocations: 3.125 kB / 0.6549 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/2.085, allocations: 5.875 kB / 0.6549 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/2.089, allocations: 2.099 MB / 0.657 GB, free: 72.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002714/2.092, allocations: 0.9361 MB / 0.6579 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/2.093, allocations: 22.36 kB / 0.6579 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/2.096, allocations: 51.2 kB / 0.658 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/2.096, allocations: 103.7 kB / 0.6581 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/2.096, allocations: 69.83 kB / 0.6581 GB, free: 72.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008569/2.105, allocations: 3.64 MB / 0.6617 GB, free: 72.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.105, allocations: 0 / 0.6617 GB, free: 72.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004273/2.109, allocations: 1.175 MB / 0.6628 GB, free: 72.09 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.007281/2.117, allocations: 3.877 MB / 0.6666 GB, free: 70.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003062/2.12, allocations: 1.329 MB / 0.6679 GB, free: 70.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/2.12, allocations: 0.9844 kB / 0.6679 GB, free: 70.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/2.121, allocations: 0.7187 MB / 0.6686 GB, free: 70.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005517/2.127, allocations: 0.955 MB / 0.6696 GB, free: 70.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/2.145, allocations: 6.993 MB / 0.6764 GB, free: 68.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/2.147, allocations: 2.717 MB / 0.679 GB, free: 67.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003917/2.151, allocations: 0.7262 MB / 0.6797 GB, free: 67.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003288/2.154, allocations: 2.433 MB / 0.6821 GB, free: 66.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/2.154, allocations: 0 / 0.6821 GB, free: 66.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5151/2.669, allocations: 105 MB / 0.7847 GB, free: 88.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/2.67, allocations: 155.4 kB / 0.7849 GB, free: 88.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.358/12.03, allocations: 0 / 0.7849 GB, free: 88.32 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