Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.72e-05, allocations: 4 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5158, allocations: 78.88 MB / 421.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.516, allocations: 69.52 kB / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02478/0.5408, allocations: 6.493 MB / 428 MB, free: 9.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.888e-06/0.5409, allocations: 0 / 428 MB, free: 9.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.367e-05/0.5409, allocations: 8 kB / 428 MB, free: 9.699 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.001078/0.542, allocations: 0.6125 MB / 428.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5421, allocations: 15.97 kB / 428.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.5422, allocations: 47.44 kB / 428.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.5427, allocations: 299.6 kB / 429 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.5427, allocations: 23.47 kB / 429 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.5428, allocations: 30.25 kB / 429 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.5435, allocations: 323.6 kB / 429.3 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.5435, allocations: 4 kB / 429.3 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.5436, allocations: 17.92 kB / 429.4 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.5436, allocations: 11.94 kB / 429.4 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.5442, allocations: 231.6 kB / 429.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.5468, allocations: 1.435 MB / 431 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.5473, allocations: 200.5 kB / 431.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.5475, allocations: 97.16 kB / 431.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.5476, allocations: 7.938 kB / 431.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5476, allocations: 34.5 kB / 431.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.833e-06/0.5476, allocations: 0 / 431.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.000669/0.5483, allocations: 266.3 kB / 431.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.5484, allocations: 59.41 kB / 431.7 MB, free: 6.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.5488, allocations: 272.3 kB / 432 MB, free: 6.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.5488, allocations: 32.77 kB / 432 MB, free: 6.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.549, allocations: 202.9 kB / 432.2 MB, free: 6.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.5491, allocations: 76.91 kB / 432.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.5491, allocations: 3.5 kB / 432.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5493, allocations: 345.9 kB / 432.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.5495, allocations: 64.44 kB / 432.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5498, allocations: 109.3 kB / 432.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.55, allocations: 67.55 kB / 432.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-06/0.55, allocations: 0 / 432.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008862/0.5509, allocations: 335.2 kB / 433.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5509, allocations: 4 kB / 433.2 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.652e-06/0.5509, allocations: 4.094 kB / 433.2 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.5515, allocations: 113.7 kB / 433.3 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.5517, allocations: 35.91 kB / 433.3 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/0.5567, allocations: 4.433 MB / 437.8 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.5571, allocations: 34.7 kB / 437.8 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.5571, allocations: 11.56 kB / 437.8 MB, free: 456 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.0001383/0.5573, allocations: 119.9 kB / 437.9 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.5574, allocations: 31.62 kB / 437.9 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.673e-05/0.5575, allocations: 36.02 kB / 438 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-06/0.5575, allocations: 0 / 438 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.5575, allocations: 0 / 438 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-06/0.5576, allocations: 11.92 kB / 438 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.5582, allocations: 371.8 kB / 438.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-06/0.5582, allocations: 4 kB / 438.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.5584, allocations: 31.91 kB / 438.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.5588, allocations: 106.8 kB / 438.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.5589, allocations: 3.688 kB / 438.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.5638, allocations: 4.442 MB / 442.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.021e-06/0.5638, allocations: 144 / 442.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.5646, allocations: 373.3 kB / 443.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.5648, allocations: 132.2 kB / 443.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.5648, allocations: 3.312 kB / 443.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.5652, allocations: 27.47 kB / 443.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.5653, allocations: 23.22 kB / 443.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.5653, allocations: 8 kB / 443.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003088/0.5656, allocations: 220.5 kB / 443.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5656, allocations: 0 / 443.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008936/0.5666, allocations: 117.9 kB / 443.8 MB, free: 10.45 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.0001645/0.5667, allocations: 103.1 kB / 443.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009121/0.5677, allocations: 0.518 MB / 444.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.495e-06/0.5677, allocations: 0 / 444.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.5683, allocations: 431.8 kB / 444.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.5687, allocations: 59.17 kB / 444.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.5698, allocations: 418.5 kB / 445.3 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.5704, allocations: 0.8028 MB / 446.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.5705, allocations: 26.97 kB / 446.2 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.5706, allocations: 19.44 kB / 446.2 MB, free: 8.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5706, allocations: 0 / 446.2 MB, free: 8.16 MB / 362.7 MB Notification: Performance of Templates: time 0.01346/0.5841, allocations: 4.695 MB / 450.9 MB, free: 3.5 MB / 362.7 MB