Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.527e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.5981, allocations: 104.1 MB / 446.7 MB, free: 6.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5985, allocations: 73.53 kB / 446.8 MB, free: 5.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6775/1.276, allocations: 99.28 MB / 0.5333 GB, free: 106.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.276, allocations: 2.469 kB / 0.5333 GB, free: 106.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.321e-05/1.276, allocations: 24.62 kB / 0.5333 GB, free: 106.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.004995/1.281, allocations: 1.618 MB / 0.5349 GB, free: 105.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.281, allocations: 9.719 kB / 0.5349 GB, free: 105.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/1.281, allocations: 62.59 kB / 0.5349 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006244/1.282, allocations: 196.1 kB / 0.5351 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/1.286, allocations: 1.212 MB / 0.5363 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/1.286, allocations: 16.94 kB / 0.5363 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/1.286, allocations: 28.5 kB / 0.5364 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.287, allocations: 444.4 kB / 0.5368 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.287, allocations: 0 / 0.5368 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/1.287, allocations: 13.31 kB / 0.5368 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/1.287, allocations: 10.38 kB / 0.5368 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/1.288, allocations: 373.5 kB / 0.5372 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004985/1.293, allocations: 1.653 MB / 0.5388 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/1.294, allocations: 275.9 kB / 0.539 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/1.295, allocations: 373.7 kB / 0.5394 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02569/1.321, allocations: 18.12 MB / 0.5571 GB, free: 91.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/1.321, allocations: 211.9 kB / 0.5573 GB, free: 91.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 5.19e-06/1.321, allocations: 3 kB / 0.5573 GB, free: 91.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.00162/1.323, allocations: 496.8 kB / 0.5578 GB, free: 90.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.323, allocations: 172.6 kB / 0.5579 GB, free: 90.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/1.325, allocations: 1.2 MB / 0.5591 GB, free: 90.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.326, allocations: 29.52 kB / 0.5591 GB, free: 90.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/1.326, allocations: 0.7234 MB / 0.5598 GB, free: 90.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/1.326, allocations: 91.09 kB / 0.5599 GB, free: 90.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/1.327, allocations: 12.12 kB / 0.5599 GB, free: 90.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/1.327, allocations: 338.4 kB / 0.5603 GB, free: 90 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/1.327, allocations: 102.9 kB / 0.5604 GB, free: 90 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/1.327, allocations: 331.4 kB / 0.5607 GB, free: 89.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/1.328, allocations: 143 kB / 0.5608 GB, free: 89.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.328, allocations: 3.281 kB / 0.5608 GB, free: 89.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001566/1.329, allocations: 0.6368 MB / 0.5614 GB, free: 89.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/1.329, allocations: 11.31 kB / 0.5614 GB, free: 89.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-05/1.33, allocations: 45.23 kB / 0.5615 GB, free: 89.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/1.33, allocations: 126.5 kB / 0.5616 GB, free: 89.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/1.331, allocations: 122.8 kB / 0.5617 GB, free: 89.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007403/1.332, allocations: 0.6801 MB / 0.5624 GB, free: 89.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.333, allocations: 84.56 kB / 0.5625 GB, free: 89.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/1.333, allocations: 37.59 kB / 0.5625 GB, free: 89.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/1.333, allocations: 138.8 kB / 0.5626 GB, free: 88.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/1.334, allocations: 187.6 kB / 0.5628 GB, free: 88.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/1.336, allocations: 0.6681 MB / 0.5635 GB, free: 88.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.336, allocations: 3.938 kB / 0.5635 GB, free: 88.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.336, allocations: 3.594 kB / 0.5635 GB, free: 88.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.336, allocations: 0 / 0.5635 GB, free: 88.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/1.339, allocations: 1.24 MB / 0.5647 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.436e-05/1.339, allocations: 31.56 kB / 0.5647 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/1.34, allocations: 60.33 kB / 0.5648 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/1.34, allocations: 120.3 kB / 0.5649 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/1.34, allocations: 22.7 kB / 0.5649 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006639/1.341, allocations: 0.6684 MB / 0.5656 GB, free: 87.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.341, allocations: 0 / 0.5656 GB, free: 87.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.342, allocations: 0.6522 MB / 0.5662 GB, free: 87.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/1.343, allocations: 277.5 kB / 0.5665 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/1.343, allocations: 15.41 kB / 0.5665 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008779/1.344, allocations: 39.78 kB / 0.5665 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.344, allocations: 46 kB / 0.5666 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/1.344, allocations: 27.31 kB / 0.5666 GB, free: 87.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00165/1.346, allocations: 0.9245 MB / 0.5675 GB, free: 87.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.346, allocations: 0 / 0.5675 GB, free: 87.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001739/1.347, allocations: 356.6 kB / 0.5678 GB, free: 87.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002715/1.35, allocations: 1.84 MB / 0.5696 GB, free: 86.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/1.352, allocations: 414.7 kB / 0.57 GB, free: 86.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.352, allocations: 0 / 0.57 GB, free: 86.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/1.352, allocations: 243.8 kB / 0.5703 GB, free: 86.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.355, allocations: 284.6 kB / 0.5705 GB, free: 86.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/1.361, allocations: 1.782 MB / 0.5723 GB, free: 85.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/1.361, allocations: 1.176 MB / 0.5734 GB, free: 84.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001057/1.363, allocations: 180.2 kB / 0.5736 GB, free: 84.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008422/1.363, allocations: 0.5519 MB / 0.5741 GB, free: 84.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/1.363, allocations: 0 / 0.5741 GB, free: 84.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09055/1.454, allocations: 33.47 MB / 0.6068 GB, free: 74.87 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/1.454, allocations: 171.9 kB / 0.607 GB, free: 74.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.021/5.476, allocations: 3.469 kB / 0.607 GB, free: 74.64 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter_res.mat does not exist to compare? outputFormat=mat