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_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.758e-05, allocations: 0 / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.3631, allocations: 94.12 MB / 357.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3634, allocations: 75.95 kB / 358 MB, free: 11.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146/1.51, allocations: 196.5 MB / 0.5414 GB, free: 46.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.569e-06/1.51, allocations: 0 / 0.5414 GB, free: 46.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001202/1.51, allocations: 86.53 kB / 0.5415 GB, free: 46.18 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.009957/1.52, allocations: 4.677 MB / 0.5461 GB, free: 43.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.52, allocations: 9.875 kB / 0.5461 GB, free: 43.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.521, allocations: 0.7497 MB / 0.5468 GB, free: 43.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/1.531, allocations: 4.502 MB / 0.5512 GB, free: 42.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/1.532, allocations: 75.05 kB / 0.5513 GB, free: 42.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/1.532, allocations: 96.66 kB / 0.5514 GB, free: 42.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.535, allocations: 1.438 MB / 0.5528 GB, free: 42.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/1.535, allocations: 0 / 0.5528 GB, free: 42.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/1.535, allocations: 40.34 kB / 0.5528 GB, free: 42.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/1.535, allocations: 42.73 kB / 0.5529 GB, free: 42.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/1.538, allocations: 1.352 MB / 0.5542 GB, free: 42.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/1.551, allocations: 5.855 MB / 0.5599 GB, free: 39.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.552, allocations: 0.8837 MB / 0.5608 GB, free: 38.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/1.554, allocations: 1.157 MB / 0.5619 GB, free: 38.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4189/1.973, allocations: 71.89 MB / 0.6321 GB, free: 78.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009933/1.974, allocations: 0.5077 MB / 0.6326 GB, free: 78.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=85): time 4.922e-06/1.974, allocations: 0 / 0.6326 GB, free: 78.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.002974/1.977, allocations: 1.464 MB / 0.634 GB, free: 78.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.977, allocations: 478.8 kB / 0.6345 GB, free: 77.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009591/1.987, allocations: 4.798 MB / 0.6392 GB, free: 77.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002077/1.987, allocations: 41.64 kB / 0.6392 GB, free: 77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003109/1.99, allocations: 2.933 MB / 0.6421 GB, free: 76.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/1.991, allocations: 298 kB / 0.6424 GB, free: 76.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.991, allocations: 28.72 kB / 0.6424 GB, free: 76.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/1.991, allocations: 364.7 kB / 0.6427 GB, free: 76.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/1.992, allocations: 346.7 kB / 0.6431 GB, free: 76.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.993, allocations: 1.113 MB / 0.6441 GB, free: 75.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.994, allocations: 0.5131 MB / 0.6446 GB, free: 75.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/1.994, allocations: 7.531 kB / 0.6447 GB, free: 75.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004133/1.998, allocations: 2.032 MB / 0.6466 GB, free: 74.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/1.999, allocations: 15 kB / 0.6467 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000243/1.999, allocations: 163 kB / 0.6468 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-05/1.999, allocations: 38.97 kB / 0.6468 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/2, allocations: 371.5 kB / 0.6472 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.822e-05/2, allocations: 51.91 kB / 0.6473 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/2.004, allocations: 202.7 kB / 0.6474 GB, free: 74.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/2.004, allocations: 128.7 kB / 0.6476 GB, free: 74.76 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.0003725/2.005, allocations: 211.6 kB / 0.6478 GB, free: 74.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/2.006, allocations: 0.727 MB / 0.6485 GB, free: 74.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007268/2.013, allocations: 2.138 MB / 0.6506 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/2.013, allocations: 13 kB / 0.6506 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/2.013, allocations: 3.844 kB / 0.6506 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/2.013, allocations: 3.516 kB / 0.6506 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008715/2.022, allocations: 3.73 MB / 0.6542 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002189/2.022, allocations: 136.4 kB / 0.6544 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/2.023, allocations: 166.8 kB / 0.6545 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/2.023, allocations: 3.125 kB / 0.6545 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/2.023, allocations: 57.41 kB / 0.6546 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/2.023, allocations: 6.219 kB / 0.6546 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.652e-06/2.023, allocations: 0 / 0.6546 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/2.027, allocations: 2.101 MB / 0.6566 GB, free: 72.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/2.03, allocations: 0.941 MB / 0.6576 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/2.032, allocations: 16.61 kB / 0.6576 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/2.034, allocations: 56.25 kB / 0.6576 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/2.035, allocations: 104 kB / 0.6577 GB, free: 72.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/2.035, allocations: 67.89 kB / 0.6578 GB, free: 72.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008711/2.044, allocations: 3.637 MB / 0.6613 GB, free: 72.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.824e-06/2.044, allocations: 2.188 kB / 0.6613 GB, free: 72.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004044/2.048, allocations: 1.177 MB / 0.6625 GB, free: 72.15 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.002267/2.05, allocations: 1.245 MB / 0.6637 GB, free: 72.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002679/2.053, allocations: 1.287 MB / 0.665 GB, free: 71.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.521e-06/2.053, allocations: 1.312 kB / 0.665 GB, free: 71.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/2.054, allocations: 0.7182 MB / 0.6657 GB, free: 71.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004965/2.059, allocations: 0.9474 MB / 0.6666 GB, free: 71.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/2.072, allocations: 6.037 MB / 0.6725 GB, free: 69.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/2.075, allocations: 2.725 MB / 0.6751 GB, free: 68.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004013/2.079, allocations: 0.7282 MB / 0.6759 GB, free: 68.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007054/2.08, allocations: 308.6 kB / 0.6762 GB, free: 68.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.234e-06/2.08, allocations: 0 / 0.6762 GB, free: 68.77 MB / 378.7 MB Notification: Performance of Templates: time 0.1362/2.216, allocations: 55.85 MB / 0.7307 GB, free: 30.52 MB / 378.7 MB