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_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.786e-05, allocations: 0 / 255.4 MB, free: 2.723 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07874, allocations: 44.51 MB / 299.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4338, allocations: 97.94 MB / 397.8 MB, free: 18.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4341, allocations: 76.09 kB / 397.9 MB, free: 18.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.801/1.235, allocations: 193.3 MB / 0.5773 GB, free: 58.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.492e-06/1.235, allocations: 0 / 0.5773 GB, free: 58.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000122/1.235, allocations: 83.28 kB / 0.5774 GB, free: 58.76 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.009223/1.245, allocations: 4.673 MB / 0.582 GB, free: 55.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/1.245, allocations: 8.75 kB / 0.582 GB, free: 55.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.246, allocations: 0.7568 MB / 0.5827 GB, free: 55.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/1.256, allocations: 4.508 MB / 0.5871 GB, free: 53.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/1.256, allocations: 66.75 kB / 0.5872 GB, free: 53.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/1.257, allocations: 104.9 kB / 0.5873 GB, free: 53.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/1.26, allocations: 1.44 MB / 0.5887 GB, free: 52.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.26, allocations: 4 kB / 0.5887 GB, free: 52.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/1.26, allocations: 37.41 kB / 0.5887 GB, free: 52.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/1.26, allocations: 44.89 kB / 0.5888 GB, free: 52.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/1.263, allocations: 1.352 MB / 0.5901 GB, free: 52.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/1.277, allocations: 5.861 MB / 0.5958 GB, free: 49.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/1.278, allocations: 0.8755 MB / 0.5967 GB, free: 49.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/1.28, allocations: 1.159 MB / 0.5978 GB, free: 48.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3414/1.622, allocations: 71.89 MB / 0.668 GB, free: 94.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/1.623, allocations: 0.5092 MB / 0.6685 GB, free: 94.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 4.53e-06/1.623, allocations: 0 / 0.6685 GB, free: 94.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.003574/1.626, allocations: 1.459 MB / 0.6699 GB, free: 94.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.627, allocations: 478.4 kB / 0.6704 GB, free: 93.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/1.638, allocations: 4.793 MB / 0.6751 GB, free: 93.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/1.638, allocations: 41.58 kB / 0.6751 GB, free: 93.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003215/1.641, allocations: 2.935 MB / 0.678 GB, free: 93.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/1.642, allocations: 297.7 kB / 0.6783 GB, free: 92.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/1.642, allocations: 28.22 kB / 0.6783 GB, free: 92.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/1.642, allocations: 367.1 kB / 0.6786 GB, free: 92.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/1.643, allocations: 349.5 kB / 0.679 GB, free: 92.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.644, allocations: 1.11 MB / 0.6801 GB, free: 91.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.645, allocations: 0.5164 MB / 0.6806 GB, free: 91.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/1.645, allocations: 6.625 kB / 0.6806 GB, free: 91.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004052/1.649, allocations: 2.031 MB / 0.6826 GB, free: 91.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/1.649, allocations: 15.95 kB / 0.6826 GB, free: 91.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002363/1.65, allocations: 161.5 kB / 0.6827 GB, free: 91.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.128e-05/1.65, allocations: 37.81 kB / 0.6828 GB, free: 91.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.651, allocations: 368.1 kB / 0.6831 GB, free: 91.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.672e-05/1.651, allocations: 51.52 kB / 0.6832 GB, free: 91.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/1.655, allocations: 206.6 kB / 0.6834 GB, free: 91.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/1.656, allocations: 122.5 kB / 0.6835 GB, free: 91.13 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.0004788/1.656, allocations: 228.2 kB / 0.6837 GB, free: 91.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.657, allocations: 0.7213 MB / 0.6844 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007198/1.664, allocations: 2.134 MB / 0.6865 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.665, allocations: 10.88 kB / 0.6865 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.058e-06/1.665, allocations: 1.938 kB / 0.6865 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.934e-06/1.665, allocations: 3.141 kB / 0.6865 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/1.673, allocations: 3.737 MB / 0.6901 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000208/1.673, allocations: 144.8 kB / 0.6903 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/1.674, allocations: 165.5 kB / 0.6904 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.674, allocations: 4.344 kB / 0.6904 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.674, allocations: 62.81 kB / 0.6905 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.66e-06/1.674, allocations: 5.781 kB / 0.6905 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.297e-06/1.674, allocations: 0 / 0.6905 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/1.678, allocations: 2.101 MB / 0.6926 GB, free: 89.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/1.68, allocations: 0.935 MB / 0.6935 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/1.681, allocations: 20.17 kB / 0.6935 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.683, allocations: 55.95 kB / 0.6935 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/1.683, allocations: 101.5 kB / 0.6936 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.684, allocations: 69.88 kB / 0.6937 GB, free: 88.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00759/1.691, allocations: 3.639 MB / 0.6973 GB, free: 88.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.691, allocations: 0 / 0.6973 GB, free: 88.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003782/1.695, allocations: 1.173 MB / 0.6984 GB, free: 88.53 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.002144/1.697, allocations: 1.236 MB / 0.6996 GB, free: 88.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002463/1.7, allocations: 1.282 MB / 0.7009 GB, free: 88.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.717e-06/1.7, allocations: 3.75 kB / 0.7009 GB, free: 88.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.701, allocations: 0.7134 MB / 0.7016 GB, free: 87.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/1.705, allocations: 0.9593 MB / 0.7025 GB, free: 87.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.717, allocations: 6.046 MB / 0.7084 GB, free: 85.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/1.72, allocations: 2.719 MB / 0.7111 GB, free: 85.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00371/1.723, allocations: 0.7353 MB / 0.7118 GB, free: 85.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/1.724, allocations: 303.2 kB / 0.7121 GB, free: 85.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.884e-06/1.724, allocations: 0 / 0.7121 GB, free: 85.15 MB / 426.7 MB Notification: Performance of Templates: time 0.1368/1.861, allocations: 55.84 MB / 0.7666 GB, free: 53.45 MB / 426.7 MB