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.1_cpp_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 1.563/1.563, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.186e-05, allocations: 4 kB / 225 MB, free: 2.789 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2271, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.3655, allocations: 94.11 MB / 357.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3658, allocations: 75.94 kB / 357.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031/1.397, allocations: 196.4 MB / 0.5414 GB, free: 45.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.571e-06/1.397, allocations: 3.156 kB / 0.5414 GB, free: 45.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002032/1.397, allocations: 86.22 kB / 0.5415 GB, free: 45.79 MB / 346.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.01508/1.412, allocations: 4.674 MB / 0.546 GB, free: 43.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.412, allocations: 10 kB / 0.5461 GB, free: 43.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/1.415, allocations: 0.7514 MB / 0.5468 GB, free: 42.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.433, allocations: 4.5 MB / 0.5512 GB, free: 41.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.433, allocations: 77.27 kB / 0.5513 GB, free: 41.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006877/1.434, allocations: 98.84 kB / 0.5513 GB, free: 41.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/1.439, allocations: 1.439 MB / 0.5528 GB, free: 41.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.075e-05/1.439, allocations: 0 / 0.5528 GB, free: 41.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/1.439, allocations: 40.56 kB / 0.5528 GB, free: 41.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/1.439, allocations: 41.03 kB / 0.5528 GB, free: 41.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/1.443, allocations: 1.354 MB / 0.5542 GB, free: 41.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02212/1.466, allocations: 5.862 MB / 0.5599 GB, free: 39.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/1.468, allocations: 0.8758 MB / 0.5607 GB, free: 38.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/1.471, allocations: 1.167 MB / 0.5619 GB, free: 38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3209/1.792, allocations: 71.89 MB / 0.6321 GB, free: 78.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000956/1.793, allocations: 0.5056 MB / 0.6326 GB, free: 78.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=85): time 5.095e-06/1.793, allocations: 1.438 kB / 0.6326 GB, free: 78.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.003018/1.796, allocations: 1.461 MB / 0.634 GB, free: 77.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.796, allocations: 479.6 kB / 0.6345 GB, free: 77.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009418/1.806, allocations: 4.793 MB / 0.6391 GB, free: 76.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002036/1.806, allocations: 44.05 kB / 0.6392 GB, free: 76.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002436/1.809, allocations: 2.362 MB / 0.6415 GB, free: 76.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/1.809, allocations: 298.3 kB / 0.6418 GB, free: 76.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.809, allocations: 25.72 kB / 0.6418 GB, free: 76.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/1.809, allocations: 367.9 kB / 0.6421 GB, free: 75.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/1.81, allocations: 342 kB / 0.6425 GB, free: 75.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/1.811, allocations: 1.118 MB / 0.6436 GB, free: 74.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.812, allocations: 0.5225 MB / 0.6441 GB, free: 74.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.812, allocations: 3.969 kB / 0.6441 GB, free: 74.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003094/1.815, allocations: 1.429 MB / 0.6455 GB, free: 74.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/1.815, allocations: 14.91 kB / 0.6455 GB, free: 74.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002365/1.816, allocations: 162.9 kB / 0.6456 GB, free: 74.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-05/1.816, allocations: 35.84 kB / 0.6457 GB, free: 74.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.817, allocations: 368.6 kB / 0.646 GB, free: 74.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.573e-05/1.817, allocations: 48.28 kB / 0.6461 GB, free: 74.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/1.821, allocations: 206.9 kB / 0.6463 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/1.821, allocations: 120.8 kB / 0.6464 GB, free: 74.84 MB / 378.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.0003673/1.821, allocations: 224.4 kB / 0.6466 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.822, allocations: 0.7228 MB / 0.6473 GB, free: 74.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007258/1.83, allocations: 2.134 MB / 0.6494 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.83, allocations: 9.125 kB / 0.6494 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-06/1.83, allocations: 0 / 0.6494 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.83, allocations: 8.922 kB / 0.6494 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/1.838, allocations: 3.729 MB / 0.653 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002155/1.839, allocations: 142.5 kB / 0.6532 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.84, allocations: 164.5 kB / 0.6533 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.84, allocations: 3.594 kB / 0.6533 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/1.84, allocations: 62.28 kB / 0.6534 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.489e-06/1.84, allocations: 0 / 0.6534 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.713e-06/1.84, allocations: 3.844 kB / 0.6534 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/1.844, allocations: 2.102 MB / 0.6555 GB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/1.846, allocations: 0.935 MB / 0.6564 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.848, allocations: 19.19 kB / 0.6564 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.85, allocations: 54 kB / 0.6564 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.85, allocations: 100.6 kB / 0.6565 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.85, allocations: 73.64 kB / 0.6566 GB, free: 72.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008299/1.859, allocations: 3.636 MB / 0.6602 GB, free: 72.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.257e-06/1.859, allocations: 1.688 kB / 0.6602 GB, free: 72.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004068/1.863, allocations: 1.173 MB / 0.6613 GB, free: 72.22 MB / 378.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.002164/1.865, allocations: 1.244 MB / 0.6625 GB, free: 72.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00251/1.868, allocations: 1.285 MB / 0.6638 GB, free: 71.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.868, allocations: 6.391 kB / 0.6638 GB, free: 71.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.869, allocations: 0.7148 MB / 0.6645 GB, free: 71.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/1.874, allocations: 0.9591 MB / 0.6654 GB, free: 71.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.887, allocations: 6.142 MB / 0.6714 GB, free: 69.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/1.889, allocations: 2.721 MB / 0.6741 GB, free: 68.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00082/1.89, allocations: 322.9 kB / 0.6744 GB, free: 68.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.835e-06/1.89, allocations: 0 / 0.6744 GB, free: 68.85 MB / 378.7 MB Notification: Performance of Templates: time 0.103/1.993, allocations: 68.54 MB / 0.7413 GB, free: 20.76 MB / 378.7 MB