Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.166/2.166, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.752e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2616, allocations: 38.76 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.4506, allocations: 93.98 MB / 357.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.451, allocations: 71.97 kB / 357.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6521/1.103, allocations: 129.2 MB / 487.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.103, allocations: 4 kB / 487.2 MB, free: 1.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001503/1.103, allocations: 44 kB / 487.2 MB, free: 1.453 MB / 330.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.01107/1.114, allocations: 2.796 MB / 490 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/1.115, allocations: 8.031 kB / 490 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004672/1.115, allocations: 98.5 kB / 490.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/1.117, allocations: 418.9 kB / 490.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/1.127, allocations: 2.429 MB / 492.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/1.128, allocations: 40.78 kB / 493 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/1.128, allocations: 55.91 kB / 493 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/1.132, allocations: 0.7813 MB / 493.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/1.132, allocations: 0 / 493.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/1.132, allocations: 27.98 kB / 493.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/1.132, allocations: 19.94 kB / 493.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/1.135, allocations: 0.7053 MB / 494.6 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01692/1.152, allocations: 3.286 MB / 497.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/1.154, allocations: 491.8 kB / 498.3 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/1.157, allocations: 0.5811 MB / 498.9 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3365/1.493, allocations: 36.21 MB / 0.5226 GB, free: 35.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007293/1.494, allocations: 323.8 kB / 0.5229 GB, free: 35.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.616e-06/1.494, allocations: 0 / 0.5229 GB, free: 35.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.00205/1.496, allocations: 0.8174 MB / 0.5237 GB, free: 34.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.496, allocations: 265.5 kB / 0.5239 GB, free: 34.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/1.502, allocations: 2.665 MB / 0.5266 GB, free: 34.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/1.502, allocations: 38.02 kB / 0.5266 GB, free: 34.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.504, allocations: 1.582 MB / 0.5281 GB, free: 34.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/1.505, allocations: 168.6 kB / 0.5283 GB, free: 33.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/1.505, allocations: 15.78 kB / 0.5283 GB, free: 33.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/1.505, allocations: 347.5 kB / 0.5286 GB, free: 33.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/1.505, allocations: 187.2 kB / 0.5288 GB, free: 33.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/1.506, allocations: 0.5948 MB / 0.5294 GB, free: 33.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/1.507, allocations: 282 kB / 0.5297 GB, free: 33.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.507, allocations: 3.969 kB / 0.5297 GB, free: 33.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00269/1.51, allocations: 1.111 MB / 0.5308 GB, free: 32.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.51, allocations: 7.344 kB / 0.5308 GB, free: 32.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/1.51, allocations: 91.38 kB / 0.5309 GB, free: 32.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.502e-05/1.51, allocations: 19.69 kB / 0.5309 GB, free: 32.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.511, allocations: 211 kB / 0.5311 GB, free: 32.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.373e-05/1.511, allocations: 24.62 kB / 0.5311 GB, free: 32.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.514, allocations: 125 kB / 0.5312 GB, free: 32.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/1.514, allocations: 68.2 kB / 0.5313 GB, free: 32.84 MB / 346.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.0002709/1.514, allocations: 165 kB / 0.5314 GB, free: 32.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007482/1.515, allocations: 400 kB / 0.5318 GB, free: 32.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/1.52, allocations: 1.165 MB / 0.533 GB, free: 32.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.52, allocations: 5.188 kB / 0.533 GB, free: 32.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.52, allocations: 0 / 0.533 GB, free: 32.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.52, allocations: 3.469 kB / 0.533 GB, free: 32.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/1.525, allocations: 2.202 MB / 0.5351 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001415/1.525, allocations: 67.89 kB / 0.5352 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009279/1.526, allocations: 109.2 kB / 0.5353 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/1.526, allocations: 3.438 kB / 0.5353 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.526, allocations: 38.38 kB / 0.5353 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/1.526, allocations: 0 / 0.5353 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.526, allocations: 6.688 kB / 0.5353 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/1.529, allocations: 1.234 MB / 0.5365 GB, free: 31.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.53, allocations: 0.5118 MB / 0.537 GB, free: 31.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008476/1.531, allocations: 13.45 kB / 0.537 GB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.533, allocations: 48.23 kB / 0.5371 GB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.534, allocations: 63.16 kB / 0.5372 GB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.534, allocations: 38.75 kB / 0.5372 GB, free: 31.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004744/1.538, allocations: 2.025 MB / 0.5392 GB, free: 31.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.539, allocations: 0 / 0.5392 GB, free: 31.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002688/1.541, allocations: 0.673 MB / 0.5398 GB, free: 31.08 MB / 346.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.004547/1.546, allocations: 2.674 MB / 0.5424 GB, free: 30.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/1.548, allocations: 0.6919 MB / 0.5431 GB, free: 29.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.548, allocations: 0 / 0.5431 GB, free: 29.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/1.548, allocations: 395.6 kB / 0.5435 GB, free: 29.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.552, allocations: 0.5066 MB / 0.544 GB, free: 29.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.563, allocations: 3.811 MB / 0.5477 GB, free: 28.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.564, allocations: 1.787 MB / 0.5495 GB, free: 27.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002343/1.567, allocations: 382.8 kB / 0.5498 GB, free: 27.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/1.569, allocations: 1.26 MB / 0.551 GB, free: 27.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.713e-06/1.569, allocations: 0 / 0.551 GB, free: 27.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/1.727, allocations: 62.13 MB / 0.6117 GB, free: 148 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/1.728, allocations: 163.8 kB / 0.6119 GB, free: 15.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.264/7.992, allocations: 8.062 kB / 0.6119 GB, free: 15.91 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat does not exist to compare? outputFormat=mat