Running command: translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 1.763/1.763, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.45e-05, allocations: 7.016 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07704/0.07709, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.436, allocations: 97.94 MB / 397.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4363, allocations: 76.52 kB / 397.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8198/1.256, allocations: 193.3 MB / 0.5773 GB, free: 58.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.256, allocations: 0 / 0.5773 GB, free: 58.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000115/1.256, allocations: 85.28 kB / 0.5774 GB, free: 58.21 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.008752/1.265, allocations: 4.671 MB / 0.582 GB, free: 55.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.265, allocations: 7.281 kB / 0.582 GB, free: 55.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/1.266, allocations: 0.7522 MB / 0.5827 GB, free: 55.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009578/1.276, allocations: 4.51 MB / 0.5871 GB, free: 53.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/1.276, allocations: 69.5 kB / 0.5872 GB, free: 53.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/1.276, allocations: 107.3 kB / 0.5873 GB, free: 53.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/1.279, allocations: 1.436 MB / 0.5887 GB, free: 52.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.279, allocations: 0 / 0.5887 GB, free: 52.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/1.279, allocations: 39.95 kB / 0.5887 GB, free: 52.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/1.279, allocations: 36.94 kB / 0.5887 GB, free: 52.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/1.282, allocations: 1.345 MB / 0.5901 GB, free: 51.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/1.294, allocations: 5.869 MB / 0.5958 GB, free: 49.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/1.296, allocations: 0.8696 MB / 0.5966 GB, free: 48.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/1.298, allocations: 1.171 MB / 0.5978 GB, free: 48.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3225/1.62, allocations: 71.89 MB / 0.668 GB, free: 94.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/1.622, allocations: 0.5024 MB / 0.6685 GB, free: 94.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 5.151e-06/1.622, allocations: 2.125 kB / 0.6685 GB, free: 94.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.003468/1.625, allocations: 1.463 MB / 0.6699 GB, free: 94.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.625, allocations: 481 kB / 0.6704 GB, free: 93.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/1.637, allocations: 4.791 MB / 0.675 GB, free: 93.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/1.637, allocations: 45.92 kB / 0.6751 GB, free: 93.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002672/1.64, allocations: 2.362 MB / 0.6774 GB, free: 92.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/1.64, allocations: 290.5 kB / 0.6777 GB, free: 92.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/1.64, allocations: 31.06 kB / 0.6777 GB, free: 92.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/1.641, allocations: 375.7 kB / 0.6781 GB, free: 92.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000924/1.642, allocations: 346.4 kB / 0.6784 GB, free: 92.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/1.643, allocations: 1.111 MB / 0.6795 GB, free: 91.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.644, allocations: 0.5186 MB / 0.68 GB, free: 91.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/1.644, allocations: 8.625 kB / 0.68 GB, free: 91.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003222/1.647, allocations: 1.423 MB / 0.6814 GB, free: 91.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.647, allocations: 17.59 kB / 0.6814 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002332/1.648, allocations: 159.5 kB / 0.6816 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.559e-05/1.648, allocations: 38.12 kB / 0.6816 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.649, allocations: 372.1 kB / 0.6819 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.791e-05/1.649, allocations: 49.42 kB / 0.682 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.653, allocations: 203.4 kB / 0.6822 GB, free: 91.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003975/1.653, allocations: 122.6 kB / 0.6823 GB, free: 91.27 MB / 426.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.0003793/1.654, allocations: 229.4 kB / 0.6825 GB, free: 91.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.655, allocations: 0.7217 MB / 0.6832 GB, free: 90.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006949/1.662, allocations: 2.139 MB / 0.6853 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.662, allocations: 7.875 kB / 0.6853 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.85e-06/1.662, allocations: 0 / 0.6853 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.662, allocations: 3.703 kB / 0.6853 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/1.67, allocations: 3.738 MB / 0.689 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000206/1.67, allocations: 139.1 kB / 0.6891 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.671, allocations: 164.8 kB / 0.6893 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.671, allocations: 7.5 kB / 0.6893 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.672, allocations: 56.5 kB / 0.6893 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.493e-06/1.672, allocations: 9.562 kB / 0.6893 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.672, allocations: 0 / 0.6893 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/1.675, allocations: 2.1 MB / 0.6914 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.678, allocations: 0.9314 MB / 0.6923 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/1.679, allocations: 21.92 kB / 0.6923 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/1.682, allocations: 55 kB / 0.6924 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/1.682, allocations: 104.4 kB / 0.6925 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.682, allocations: 69.28 kB / 0.6925 GB, free: 88.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007922/1.69, allocations: 3.639 MB / 0.6961 GB, free: 88.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.019e-06/1.69, allocations: 0 / 0.6961 GB, free: 88.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00385/1.694, allocations: 1.182 MB / 0.6972 GB, free: 88.66 MB / 426.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.002223/1.697, allocations: 1.228 MB / 0.6984 GB, free: 88.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002556/1.699, allocations: 1.288 MB / 0.6997 GB, free: 88.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.463e-06/1.699, allocations: 3.406 kB / 0.6997 GB, free: 88.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.7, allocations: 0.7127 MB / 0.7004 GB, free: 88.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004608/1.705, allocations: 0.9655 MB / 0.7013 GB, free: 87.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.717, allocations: 6.14 MB / 0.7073 GB, free: 86.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/1.72, allocations: 2.721 MB / 0.71 GB, free: 85.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008214/1.721, allocations: 318 kB / 0.7103 GB, free: 85.31 MB / 426.7 MB Notification: Performance of SimCode: time 2.108e-06/1.721, allocations: 0 / 0.7103 GB, free: 85.31 MB / 426.7 MB Notification: Performance of Templates: time 0.1032/1.824, allocations: 68.55 MB / 0.7772 GB, free: 43.41 MB / 426.7 MB