Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.845e-05, allocations: 5.406 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08858, allocations: 50.4 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5126, allocations: 104.4 MB / 447.5 MB, free: 6.027 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.5129, allocations: 70.28 kB / 447.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6934/1.206, allocations: 143.2 MB / 0.5769 GB, free: 100.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.142e-06/1.206, allocations: 3.938 kB / 0.5769 GB, free: 100.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001247/1.207, allocations: 44.89 kB / 0.577 GB, free: 100.7 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004144/1.211, allocations: 2.789 MB / 0.5797 GB, free: 98.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.211, allocations: 11.06 kB / 0.5797 GB, free: 98.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/1.211, allocations: 415.4 kB / 0.5801 GB, free: 98.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/1.216, allocations: 2.411 MB / 0.5824 GB, free: 97.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/1.216, allocations: 38.28 kB / 0.5825 GB, free: 97.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/1.216, allocations: 50.22 kB / 0.5825 GB, free: 97.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/1.217, allocations: 0.794 MB / 0.5833 GB, free: 97.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.217, allocations: 0 / 0.5833 GB, free: 97.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.218, allocations: 18.28 kB / 0.5833 GB, free: 97.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/1.218, allocations: 20.2 kB / 0.5833 GB, free: 97.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.219, allocations: 0.7031 MB / 0.584 GB, free: 97.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/1.225, allocations: 3.273 MB / 0.5872 GB, free: 95.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/1.226, allocations: 490.6 kB / 0.5877 GB, free: 95.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009394/1.227, allocations: 0.5906 MB / 0.5883 GB, free: 94.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03488/1.262, allocations: 36.11 MB / 0.6235 GB, free: 60.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005876/1.263, allocations: 321.4 kB / 0.6238 GB, free: 60.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 3.987e-06/1.263, allocations: 0 / 0.6238 GB, free: 60.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001478/1.264, allocations: 0.8031 MB / 0.6246 GB, free: 59.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/1.264, allocations: 279 kB / 0.6249 GB, free: 59.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/1.268, allocations: 2.646 MB / 0.6275 GB, free: 56.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/1.268, allocations: 37.7 kB / 0.6275 GB, free: 56.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/1.27, allocations: 1.576 MB / 0.629 GB, free: 54.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/1.27, allocations: 171.8 kB / 0.6292 GB, free: 54.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/1.27, allocations: 16 kB / 0.6292 GB, free: 54.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/1.27, allocations: 341.9 kB / 0.6295 GB, free: 54.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/1.271, allocations: 186 kB / 0.6297 GB, free: 54.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/1.271, allocations: 0.6033 MB / 0.6303 GB, free: 53.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/1.272, allocations: 277.3 kB / 0.6306 GB, free: 52.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.114e-06/1.272, allocations: 4 kB / 0.6306 GB, free: 52.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00213/1.274, allocations: 1.108 MB / 0.6317 GB, free: 51.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.274, allocations: 12 kB / 0.6317 GB, free: 51.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/1.274, allocations: 79.98 kB / 0.6317 GB, free: 51.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/1.274, allocations: 23.94 kB / 0.6318 GB, free: 51.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009124/1.275, allocations: 212.3 kB / 0.632 GB, free: 51.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/1.275, allocations: 23.88 kB / 0.632 GB, free: 51.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.277, allocations: 131 kB / 0.6321 GB, free: 51.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.277, allocations: 60 kB / 0.6322 GB, free: 51.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002019/1.277, allocations: 172.6 kB / 0.6323 GB, free: 51.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/1.278, allocations: 399.1 kB / 0.6327 GB, free: 50.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/1.281, allocations: 1.155 MB / 0.6338 GB, free: 49.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.281, allocations: 8 kB / 0.6339 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.009e-06/1.281, allocations: 3.984 kB / 0.6339 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.281, allocations: 0 / 0.6339 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/1.285, allocations: 2.192 MB / 0.636 GB, free: 47.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001098/1.286, allocations: 67.98 kB / 0.6361 GB, free: 47.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/1.286, allocations: 111.9 kB / 0.6362 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.433e-06/1.286, allocations: 0 / 0.6362 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/1.286, allocations: 28 kB / 0.6362 GB, free: 47.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.708e-06/1.286, allocations: 7.938 kB / 0.6362 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.508e-06/1.286, allocations: 7.953 kB / 0.6362 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/1.288, allocations: 1.238 MB / 0.6374 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.29, allocations: 0.5078 MB / 0.6379 GB, free: 45.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004903/1.29, allocations: 19.94 kB / 0.6379 GB, free: 45.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.291, allocations: 44.03 kB / 0.638 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.292, allocations: 59.94 kB / 0.638 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/1.292, allocations: 39.98 kB / 0.6381 GB, free: 45.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003405/1.295, allocations: 2.011 MB / 0.64 GB, free: 43.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.295, allocations: 8 kB / 0.64 GB, free: 43.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00192/1.297, allocations: 0.6557 MB / 0.6407 GB, free: 42.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001322/1.298, allocations: 0.8806 MB / 0.6415 GB, free: 41.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/1.3, allocations: 0.6838 MB / 0.6422 GB, free: 41.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.972e-06/1.3, allocations: 5.25 kB / 0.6422 GB, free: 41.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.3, allocations: 391.1 kB / 0.6426 GB, free: 40.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/1.303, allocations: 0.6262 MB / 0.6432 GB, free: 40.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/1.309, allocations: 3.262 MB / 0.6464 GB, free: 36.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.311, allocations: 1.773 MB / 0.6481 GB, free: 34.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001928/1.313, allocations: 382.7 kB / 0.6485 GB, free: 34.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.313, allocations: 167.4 kB / 0.6486 GB, free: 34.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.079e-06/1.313, allocations: 0 / 0.6486 GB, free: 34.41 MB / 442.7 MB Notification: Performance of Templates: time 0.0818/1.395, allocations: 34.25 MB / 0.6821 GB, free: 480 kB / 442.7 MB