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.931/1.931, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.55e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2527, allocations: 44.49 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.4005, allocations: 97.27 MB / 391.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4008, allocations: 71.8 kB / 391.4 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7591/1.16, allocations: 186.6 MB / 0.5645 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.16, allocations: 0 / 0.5645 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001356/1.16, allocations: 84 kB / 0.5646 GB, free: 0.7383 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.2935/1.454, allocations: 4.669 MB / 0.5692 GB, free: 50.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.454, allocations: 9.438 kB / 0.5692 GB, free: 50.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/1.455, allocations: 0.7546 MB / 0.5699 GB, free: 50.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.466, allocations: 4.508 MB / 0.5743 GB, free: 49.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/1.467, allocations: 31.05 kB / 0.5743 GB, free: 49.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/1.467, allocations: 61.72 kB / 0.5744 GB, free: 49.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002707/1.47, allocations: 1.316 MB / 0.5757 GB, free: 49.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/1.472, allocations: 1.32 MB / 0.577 GB, free: 49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/1.472, allocations: 2.219 kB / 0.577 GB, free: 49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/1.472, allocations: 0 / 0.577 GB, free: 49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/1.472, allocations: 41.94 kB / 0.577 GB, free: 49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/1.486, allocations: 5.669 MB / 0.5825 GB, free: 48.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/1.487, allocations: 0.8438 MB / 0.5834 GB, free: 48.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/1.489, allocations: 1.135 MB / 0.5845 GB, free: 48.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08171/1.571, allocations: 71.86 MB / 0.6547 GB, free: 27.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008963/1.572, allocations: 0.4959 MB / 0.6551 GB, free: 27.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 4.854e-06/1.572, allocations: 0 / 0.6551 GB, free: 27.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.003199/1.575, allocations: 1.424 MB / 0.6565 GB, free: 27.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003106/1.575, allocations: 482.2 kB / 0.657 GB, free: 26.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009551/1.585, allocations: 4.409 MB / 0.6613 GB, free: 26.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/1.585, allocations: 29.27 kB / 0.6613 GB, free: 26.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002528/1.588, allocations: 2.357 MB / 0.6636 GB, free: 25.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/1.588, allocations: 291 kB / 0.6639 GB, free: 25.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/1.588, allocations: 0 / 0.6639 GB, free: 25.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/1.589, allocations: 370 kB / 0.6643 GB, free: 25.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/1.589, allocations: 319.4 kB / 0.6646 GB, free: 25.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/1.59, allocations: 1.08 MB / 0.6656 GB, free: 24.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.591, allocations: 493.6 kB / 0.6661 GB, free: 24.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.591, allocations: 9.375 kB / 0.6661 GB, free: 24.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002958/1.594, allocations: 1.313 MB / 0.6674 GB, free: 24.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/1.594, allocations: 16.94 kB / 0.6674 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002656/1.595, allocations: 161.8 kB / 0.6675 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-05/1.595, allocations: 41.53 kB / 0.6676 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.596, allocations: 370.3 kB / 0.6679 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.654e-05/1.596, allocations: 47 kB / 0.668 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/1.6, allocations: 187.5 kB / 0.6682 GB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003836/1.601, allocations: 125.3 kB / 0.6683 GB, free: 24.05 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.0004046/1.601, allocations: 171.2 kB / 0.6684 GB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.603, allocations: 0.7251 MB / 0.6691 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007597/1.61, allocations: 2.089 MB / 0.6712 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.61, allocations: 7.969 kB / 0.6712 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/1.61, allocations: 0 / 0.6712 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.61, allocations: 3.844 kB / 0.6712 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008766/1.619, allocations: 3.547 MB / 0.6747 GB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002341/1.619, allocations: 142.5 kB / 0.6748 GB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.62, allocations: 164.4 kB / 0.675 GB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/1.62, allocations: 9.062 kB / 0.675 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/1.621, allocations: 50.5 kB / 0.675 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.046e-06/1.621, allocations: 10.75 kB / 0.675 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.574e-06/1.621, allocations: 6.25 kB / 0.675 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/1.625, allocations: 2.048 MB / 0.677 GB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/1.628, allocations: 0.9406 MB / 0.6779 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/1.63, allocations: 3.812 kB / 0.678 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.632, allocations: 45.72 kB / 0.678 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/1.633, allocations: 100.8 kB / 0.6781 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.633, allocations: 66.27 kB / 0.6782 GB, free: 21.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006956/1.64, allocations: 3.254 MB / 0.6813 GB, free: 21.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.64, allocations: 0 / 0.6813 GB, free: 21.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004164/1.644, allocations: 1.123 MB / 0.6824 GB, free: 21.45 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.002053/1.646, allocations: 1.305 MB / 0.6837 GB, free: 21.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002404/1.648, allocations: 1.248 MB / 0.6849 GB, free: 20.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.421e-06/1.648, allocations: 4 kB / 0.6849 GB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.65, allocations: 0.7019 MB / 0.6856 GB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/1.655, allocations: 0.9498 MB / 0.6865 GB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.667, allocations: 6.117 MB / 0.6925 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/1.67, allocations: 2.718 MB / 0.6952 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/1.67, allocations: 321.1 kB / 0.6955 GB, free: 12.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.789e-06/1.67, allocations: 0 / 0.6955 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Templates: time 0.4096/2.08, allocations: 68.73 MB / 0.7626 GB, free: 78.59 MB / 442.7 MB