Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.923e-05, allocations: 0 / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09076, allocations: 50.42 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4158/0.5066, allocations: 88.59 MB / 431.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.5069, allocations: 70.03 kB / 431.2 MB, free: 5.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1686/0.6755, allocations: 38.15 MB / 469.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.98e-06/0.6756, allocations: 3.938 kB / 469.4 MB, free: 4.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.474e-05/0.6757, allocations: 16 kB / 469.4 MB, free: 4.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.003516/0.6792, allocations: 1.183 MB / 470.6 MB, free: 2.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.264e-05/0.6793, allocations: 12.03 kB / 470.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.6797, allocations: 130.4 kB / 470.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.6834, allocations: 0.715 MB / 471.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/0.6836, allocations: 16.44 kB / 471.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.6838, allocations: 24 kB / 471.4 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.6856, allocations: 297.8 kB / 471.7 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.6857, allocations: 3.938 kB / 471.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.6858, allocations: 12 kB / 471.8 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.6859, allocations: 4 kB / 471.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.6872, allocations: 205 kB / 472 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.693, allocations: 1.185 MB / 473.1 MB, free: 300 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.6935, allocations: 230.5 kB / 473.4 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/0.6942, allocations: 284.8 kB / 473.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/0.696, allocations: 1.281 MB / 474.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.6961, allocations: 42.56 kB / 475 MB, free: 14.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 4.229e-06/0.6961, allocations: 0 / 475 MB, free: 14.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.003083/0.6992, allocations: 1.242 MB / 476.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.6993, allocations: 110.8 kB / 476.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.7008, allocations: 0.773 MB / 477.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.7008, allocations: 33.7 kB / 477.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.7012, allocations: 344.1 kB / 477.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.7014, allocations: 130.1 kB / 477.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.7014, allocations: 4 kB / 477.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.7016, allocations: 330.9 kB / 477.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.7019, allocations: 104.3 kB / 478 MB, free: 11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.7022, allocations: 142.8 kB / 478.2 MB, free: 10.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.7026, allocations: 173.4 kB / 478.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-06/0.7026, allocations: 0 / 478.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001119/0.7037, allocations: 428.6 kB / 478.7 MB, free: 10.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.7038, allocations: 41.62 kB / 478.8 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.7039, allocations: 12 kB / 478.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.7042, allocations: 73.67 kB / 478.9 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.7045, allocations: 43.91 kB / 478.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.708, allocations: 2.979 MB / 481.9 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.7086, allocations: 16.09 kB / 481.9 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.7087, allocations: 19.98 kB / 481.9 MB, free: 6.773 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.709, allocations: 158.4 kB / 482.1 MB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.7092, allocations: 122.5 kB / 482.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.7112, allocations: 0.6457 MB / 482.8 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7113, allocations: 4 kB / 482.9 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7113, allocations: 7.953 kB / 482.9 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.849e-06/0.7113, allocations: 3.984 kB / 482.9 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.7125, allocations: 0.6082 MB / 483.5 MB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.459e-05/0.7126, allocations: 12 kB / 483.5 MB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.7129, allocations: 35.97 kB / 483.5 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.7132, allocations: 69.67 kB / 483.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.7132, allocations: 12 kB / 483.6 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/0.7167, allocations: 2.99 MB / 486.6 MB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.077e-06/0.7167, allocations: 4.125 kB / 486.6 MB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.7186, allocations: 0.8119 MB / 487.4 MB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/0.7192, allocations: 283.5 kB / 487.7 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.7193, allocations: 8 kB / 487.7 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.7198, allocations: 16.06 kB / 487.7 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.7199, allocations: 31.95 kB / 487.7 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.72, allocations: 15.98 kB / 487.8 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.7211, allocations: 0.6079 MB / 488.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.26e-07/0.7211, allocations: 0 / 488.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001213/0.7224, allocations: 255.8 kB / 488.6 MB, free: 15.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008577/0.7232, allocations: 392.9 kB / 489 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.7246, allocations: 0.7134 MB / 489.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.601e-06/0.7246, allocations: 0 / 489.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.7255, allocations: 0.5873 MB / 490.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.7262, allocations: 104.7 kB / 490.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.7287, allocations: 1.111 MB / 491.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.7295, allocations: 1.019 MB / 492.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7297, allocations: 43.42 kB / 492.6 MB, free: 11.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.807e-06/0.7297, allocations: 0 / 492.6 MB, free: 11.53 MB / 410.7 MB Notification: Performance of Templates: time 0.02724/0.7569, allocations: 16.24 MB / 0.4969 GB, free: 11.29 MB / 426.7 MB