Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.75e-05, allocations: 4 kB / 292.1 MB, free: 8.879 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08833, allocations: 50.42 MB / 342.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4407, allocations: 78.95 MB / 421.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4409, allocations: 68.08 kB / 421.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/0.4658, allocations: 6.491 MB / 428.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.266e-06/0.4659, allocations: 0 / 428.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.4659, allocations: 8 kB / 428.1 MB, free: 9.566 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001083/0.467, allocations: 0.6158 MB / 428.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.467, allocations: 8.031 kB / 428.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.4672, allocations: 50.62 kB / 428.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.4677, allocations: 298.1 kB / 429 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.4677, allocations: 23.34 kB / 429 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.4678, allocations: 29.81 kB / 429.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.4685, allocations: 336.2 kB / 429.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4685, allocations: 4 kB / 429.4 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.4686, allocations: 18.92 kB / 429.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.4686, allocations: 8 kB / 429.4 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.4692, allocations: 229.7 kB / 429.7 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.4718, allocations: 1.432 MB / 431.1 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.4723, allocations: 199.3 kB / 431.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.4725, allocations: 99.34 kB / 431.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.4726, allocations: 4 kB / 431.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.4726, allocations: 34.5 kB / 431.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.621e-06/0.4727, allocations: 0 / 431.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006861/0.4734, allocations: 271.7 kB / 431.7 MB, free: 6.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.4734, allocations: 55.41 kB / 431.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.4738, allocations: 270.8 kB / 432 MB, free: 6.078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.4739, allocations: 35.33 kB / 432 MB, free: 6.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4741, allocations: 251.6 kB / 432.3 MB, free: 5.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.4741, allocations: 77.66 kB / 432.4 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.4742, allocations: 7.125 kB / 432.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4744, allocations: 326 kB / 432.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.4746, allocations: 68.19 kB / 432.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.4748, allocations: 102.3 kB / 432.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.475, allocations: 73.11 kB / 432.9 MB, free: 5.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-06/0.475, allocations: 0 / 432.9 MB, free: 5.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008505/0.4759, allocations: 309.5 kB / 433.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4759, allocations: 4 kB / 433.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4759, allocations: 4.281 kB / 433.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.4765, allocations: 110.8 kB / 433.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4767, allocations: 39.97 kB / 433.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.4817, allocations: 4.436 MB / 437.8 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.4821, allocations: 39.55 kB / 437.9 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.4821, allocations: 4 kB / 437.9 MB, free: 292 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.4823, allocations: 119.8 kB / 438 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.4824, allocations: 31.62 kB / 438 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-05/0.4825, allocations: 40.05 kB / 438 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.4825, allocations: 3.984 kB / 438 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.4825, allocations: 3.938 kB / 438.1 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4825, allocations: 11.98 kB / 438.1 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.4831, allocations: 364.2 kB / 438.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4832, allocations: 0 / 438.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.4833, allocations: 34.97 kB / 438.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.4838, allocations: 106.8 kB / 438.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4839, allocations: 2.938 kB / 438.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.4887, allocations: 4.448 MB / 443 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.717e-06/0.4888, allocations: 0 / 443 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.4895, allocations: 368.7 kB / 443.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.4897, allocations: 124.5 kB / 443.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.4898, allocations: 2.938 kB / 443.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.4901, allocations: 27.91 kB / 443.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.4902, allocations: 23.91 kB / 443.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.4902, allocations: 11.62 kB / 443.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.4906, allocations: 215.4 kB / 443.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.748e-06/0.4906, allocations: 0 / 443.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009017/0.4915, allocations: 118.5 kB / 443.9 MB, free: 10.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.4917, allocations: 103.1 kB / 444 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009128/0.4926, allocations: 0.5203 MB / 444.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.481e-06/0.4926, allocations: 0 / 444.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.4932, allocations: 439 kB / 444.9 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.4937, allocations: 62.67 kB / 445 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4947, allocations: 444.5 kB / 445.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.4953, allocations: 0.8067 MB / 446.2 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.4954, allocations: 27.36 kB / 446.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of SimCode: time 1.318e-06/0.4954, allocations: 0 / 446.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of Templates: time 0.0129/0.5083, allocations: 7.95 MB / 454.2 MB, free: 76 kB / 362.7 MB