Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.361e-05, allocations: 4 kB / 292.1 MB, free: 8.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09032, allocations: 50.42 MB / 342.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.4824, allocations: 104.5 MB / 447 MB, free: 5.918 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4827, allocations: 78.69 kB / 447.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7447/1.227, allocations: 141 MB / 0.5743 GB, free: 100.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.776e-06/1.227, allocations: 4 kB / 0.5743 GB, free: 100.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001573/1.228, allocations: 44.84 kB / 0.5744 GB, free: 100.1 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.005551/1.233, allocations: 2.705 MB / 0.577 GB, free: 98.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.233, allocations: 7.281 kB / 0.577 GB, free: 98.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007408/1.234, allocations: 399 kB / 0.5774 GB, free: 98.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/1.239, allocations: 2.345 MB / 0.5797 GB, free: 97.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/1.24, allocations: 36.09 kB / 0.5797 GB, free: 97.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/1.24, allocations: 60.31 kB / 0.5798 GB, free: 97.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.241, allocations: 0.7865 MB / 0.5806 GB, free: 96.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.241, allocations: 0 / 0.5806 GB, free: 96.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.241, allocations: 19.88 kB / 0.5806 GB, free: 96.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/1.241, allocations: 22.42 kB / 0.5806 GB, free: 96.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.243, allocations: 0.7054 MB / 0.5813 GB, free: 96.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006839/1.25, allocations: 3.179 MB / 0.5844 GB, free: 95.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/1.251, allocations: 484 kB / 0.5849 GB, free: 94.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009613/1.252, allocations: 0.5963 MB / 0.5854 GB, free: 94.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03732/1.289, allocations: 36.07 MB / 0.6207 GB, free: 62.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/1.29, allocations: 316.1 kB / 0.621 GB, free: 62.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 4.373e-06/1.29, allocations: 4 kB / 0.621 GB, free: 62.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001656/1.291, allocations: 0.7899 MB / 0.6217 GB, free: 61.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/1.291, allocations: 273 kB / 0.622 GB, free: 61.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/1.296, allocations: 2.503 MB / 0.6244 GB, free: 58.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.296, allocations: 37.7 kB / 0.6245 GB, free: 58.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.297, allocations: 1.229 MB / 0.6257 GB, free: 57.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/1.297, allocations: 179.6 kB / 0.6259 GB, free: 57.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/1.297, allocations: 12 kB / 0.6259 GB, free: 57.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/1.297, allocations: 342.8 kB / 0.6262 GB, free: 56.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/1.298, allocations: 194 kB / 0.6264 GB, free: 56.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/1.298, allocations: 0.5913 MB / 0.627 GB, free: 55.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/1.299, allocations: 277.3 kB / 0.6272 GB, free: 55.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.973e-06/1.299, allocations: 4 kB / 0.6272 GB, free: 55.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001611/1.301, allocations: 0.7831 MB / 0.628 GB, free: 54.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.301, allocations: 12.22 kB / 0.628 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.301, allocations: 79.98 kB / 0.6281 GB, free: 54.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/1.301, allocations: 20 kB / 0.6281 GB, free: 54.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/1.302, allocations: 211.6 kB / 0.6283 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/1.302, allocations: 27.92 kB / 0.6283 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.304, allocations: 121.6 kB / 0.6284 GB, free: 54.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.304, allocations: 64 kB / 0.6285 GB, free: 54.31 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.0002125/1.304, allocations: 177.2 kB / 0.6287 GB, free: 54.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/1.305, allocations: 383.3 kB / 0.629 GB, free: 53.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/1.308, allocations: 1.144 MB / 0.6302 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.796e-06/1.308, allocations: 4 kB / 0.6302 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-06/1.308, allocations: 0 / 0.6302 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.89e-06/1.308, allocations: 3.984 kB / 0.6302 GB, free: 52.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/1.313, allocations: 2.109 MB / 0.6322 GB, free: 50.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001067/1.313, allocations: 67.98 kB / 0.6323 GB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/1.313, allocations: 107.9 kB / 0.6324 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.314, allocations: 4 kB / 0.6324 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/1.314, allocations: 35.98 kB / 0.6324 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.314, allocations: 0 / 0.6324 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.537e-06/1.314, allocations: 7.953 kB / 0.6324 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/1.316, allocations: 1.208 MB / 0.6336 GB, free: 48.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.317, allocations: 0.5529 MB / 0.6342 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005604/1.318, allocations: 15.95 kB / 0.6342 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.319, allocations: 48.02 kB / 0.6342 GB, free: 48.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.319, allocations: 59.94 kB / 0.6343 GB, free: 48.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/1.319, allocations: 39.98 kB / 0.6343 GB, free: 48.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003693/1.323, allocations: 1.902 MB / 0.6362 GB, free: 46.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.115e-06/1.323, allocations: 0 / 0.6362 GB, free: 46.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002281/1.325, allocations: 0.6439 MB / 0.6368 GB, free: 45.68 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.001381/1.327, allocations: 0.8391 MB / 0.6376 GB, free: 45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/1.328, allocations: 0.6882 MB / 0.6383 GB, free: 44.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.645e-06/1.328, allocations: 0.625 kB / 0.6383 GB, free: 44.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/1.329, allocations: 395 kB / 0.6387 GB, free: 43.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/1.332, allocations: 0.5965 MB / 0.6392 GB, free: 43.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006266/1.338, allocations: 3.191 MB / 0.6424 GB, free: 40.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.34, allocations: 1.724 MB / 0.644 GB, free: 38.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/1.34, allocations: 167.4 kB / 0.6442 GB, free: 38.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/1.34, allocations: 4 kB / 0.6442 GB, free: 38.14 MB / 442.7 MB Notification: Performance of Templates: time 0.05559/1.396, allocations: 36.6 MB / 0.68 GB, free: 1.699 MB / 442.7 MB