Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.323e-05, allocations: 11.64 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 50.41 MB / 342.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5331, allocations: 104.5 MB / 447 MB, free: 5.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5333, allocations: 74.08 kB / 447.1 MB, free: 5.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6773/1.211, allocations: 143.2 MB / 0.5764 GB, free: 100.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.139e-06/1.211, allocations: 4 kB / 0.5764 GB, free: 100.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001567/1.211, allocations: 47.31 kB / 0.5765 GB, free: 100.6 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.00539/1.216, allocations: 2.784 MB / 0.5792 GB, free: 98.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.216, allocations: 7.688 kB / 0.5792 GB, free: 98.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006999/1.217, allocations: 416.7 kB / 0.5796 GB, free: 98.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/1.223, allocations: 2.407 MB / 0.582 GB, free: 97.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/1.223, allocations: 36.69 kB / 0.582 GB, free: 97.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.223, allocations: 51.64 kB / 0.5821 GB, free: 97.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/1.224, allocations: 0.7856 MB / 0.5828 GB, free: 97.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.224, allocations: 3.531 kB / 0.5828 GB, free: 97.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.225, allocations: 19.66 kB / 0.5828 GB, free: 97.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/1.225, allocations: 21.42 kB / 0.5829 GB, free: 97.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/1.226, allocations: 0.7116 MB / 0.5836 GB, free: 96.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006987/1.233, allocations: 3.278 MB / 0.5868 GB, free: 95.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/1.234, allocations: 478.8 kB / 0.5872 GB, free: 95.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008937/1.235, allocations: 0.5944 MB / 0.5878 GB, free: 94.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03554/1.27, allocations: 36.1 MB / 0.6231 GB, free: 60.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/1.271, allocations: 321.5 kB / 0.6234 GB, free: 60.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 4.468e-06/1.271, allocations: 0 / 0.6234 GB, free: 60.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001579/1.273, allocations: 0.8162 MB / 0.6242 GB, free: 59.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.273, allocations: 269 kB / 0.6244 GB, free: 59.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004588/1.277, allocations: 2.646 MB / 0.627 GB, free: 56.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.277, allocations: 37.7 kB / 0.627 GB, free: 56.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/1.279, allocations: 1.303 MB / 0.6283 GB, free: 55.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/1.279, allocations: 169.5 kB / 0.6285 GB, free: 55.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/1.279, allocations: 12 kB / 0.6285 GB, free: 55.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/1.279, allocations: 350.8 kB / 0.6288 GB, free: 54.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/1.279, allocations: 190 kB / 0.629 GB, free: 54.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/1.28, allocations: 0.5916 MB / 0.6296 GB, free: 53.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/1.281, allocations: 284.8 kB / 0.6298 GB, free: 53.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.65e-06/1.281, allocations: 4 kB / 0.6298 GB, free: 53.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001601/1.282, allocations: 0.7761 MB / 0.6306 GB, free: 52.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.282, allocations: 12.25 kB / 0.6306 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.282, allocations: 79.98 kB / 0.6307 GB, free: 52.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/1.282, allocations: 23.94 kB / 0.6307 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/1.283, allocations: 215.6 kB / 0.6309 GB, free: 52.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.599e-05/1.283, allocations: 31.92 kB / 0.631 GB, free: 52.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.285, allocations: 111.1 kB / 0.6311 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.285, allocations: 71.98 kB / 0.6311 GB, free: 52.1 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.0002113/1.286, allocations: 174.6 kB / 0.6313 GB, free: 51.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/1.286, allocations: 399.1 kB / 0.6317 GB, free: 51.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/1.29, allocations: 1.151 MB / 0.6328 GB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.29, allocations: 4 kB / 0.6328 GB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-06/1.29, allocations: 0 / 0.6328 GB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.297e-06/1.29, allocations: 3.984 kB / 0.6328 GB, free: 50.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/1.294, allocations: 2.194 MB / 0.6349 GB, free: 48.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001064/1.295, allocations: 67.98 kB / 0.635 GB, free: 48.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/1.295, allocations: 107.9 kB / 0.6351 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.295, allocations: 7.281 kB / 0.6351 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/1.295, allocations: 31.98 kB / 0.6352 GB, free: 47.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.118e-06/1.295, allocations: 3.938 kB / 0.6352 GB, free: 47.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.295, allocations: 7.953 kB / 0.6352 GB, free: 47.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/1.297, allocations: 1.223 MB / 0.6364 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.299, allocations: 0.5155 MB / 0.6369 GB, free: 46.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/1.299, allocations: 15.95 kB / 0.6369 GB, free: 46.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.3, allocations: 48.02 kB / 0.6369 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.301, allocations: 63.88 kB / 0.637 GB, free: 45.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/1.301, allocations: 35.98 kB / 0.637 GB, free: 45.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00383/1.304, allocations: 2.018 MB / 0.639 GB, free: 43.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.221e-06/1.304, allocations: 0 / 0.639 GB, free: 43.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002221/1.307, allocations: 0.6518 MB / 0.6396 GB, free: 43.27 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.001403/1.308, allocations: 0.8819 MB / 0.6405 GB, free: 42.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/1.309, allocations: 0.6841 MB / 0.6412 GB, free: 41.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.36e-06/1.31, allocations: 7.938 kB / 0.6412 GB, free: 41.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/1.31, allocations: 387.1 kB / 0.6415 GB, free: 41.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/1.314, allocations: 0.623 MB / 0.6421 GB, free: 40.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/1.32, allocations: 3.341 MB / 0.6454 GB, free: 37.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/1.322, allocations: 1.777 MB / 0.6471 GB, free: 35.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.322, allocations: 163.4 kB / 0.6473 GB, free: 35.47 MB / 442.7 MB Notification: Performance of SimCode: time 2.001e-06/1.322, allocations: 0 / 0.6473 GB, free: 35.47 MB / 442.7 MB Notification: Performance of Templates: time 0.05937/1.382, allocations: 37.93 MB / 0.6843 GB, free: 13.7 MB / 458.7 MB