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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.467e-05, allocations: 4 kB / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4716, allocations: 77.3 MB / 394.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4719, allocations: 70.83 kB / 394.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.4977, allocations: 6.269 MB / 400.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.509e-06/0.4977, allocations: 3.938 kB / 400.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.4978, allocations: 11.98 kB / 400.6 MB, free: 5.402 MB / 314.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.001115/0.4989, allocations: 0.6022 MB / 401.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.499, allocations: 12.02 kB / 401.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.4991, allocations: 47.44 kB / 401.2 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.4996, allocations: 300.1 kB / 401.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.4996, allocations: 23.22 kB / 401.6 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.4997, allocations: 30.25 kB / 401.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.5005, allocations: 332.4 kB / 401.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5005, allocations: 4 kB / 401.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.5005, allocations: 15.44 kB / 401.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.5006, allocations: 8.656 kB / 401.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.5012, allocations: 228.9 kB / 402.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.504, allocations: 1.43 MB / 403.6 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.5045, allocations: 215 kB / 403.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.5047, allocations: 86.92 kB / 403.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.5048, allocations: 4 kB / 403.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5048, allocations: 38.42 kB / 403.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.743e-06/0.5048, allocations: 0 / 403.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007102/0.5055, allocations: 272.8 kB / 404.2 MB, free: 2.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.5056, allocations: 55.41 kB / 404.2 MB, free: 2.141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.506, allocations: 272.9 kB / 404.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.5061, allocations: 29.64 kB / 404.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.5063, allocations: 209.8 kB / 404.7 MB, free: 1.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.5064, allocations: 78.09 kB / 404.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.5064, allocations: 7.938 kB / 404.8 MB, free: 1.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.5066, allocations: 334.5 kB / 405.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.5068, allocations: 71.12 kB / 405.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.507, allocations: 110.7 kB / 405.3 MB, free: 1.191 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.5072, allocations: 71.09 kB / 405.4 MB, free: 1.145 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.878e-06/0.5073, allocations: 4 kB / 405.4 MB, free: 1.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009134/0.5082, allocations: 328.2 kB / 405.7 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5082, allocations: 8 kB / 405.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.932e-06/0.5082, allocations: 0 / 405.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.5088, allocations: 113.1 kB / 405.8 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.509, allocations: 36.02 kB / 405.9 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.5142, allocations: 4.429 MB / 410.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.5147, allocations: 38.91 kB / 410.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.5147, allocations: 11.34 kB / 410.4 MB, free: 12.14 MB / 330.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.0001493/0.5149, allocations: 119 kB / 410.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.515, allocations: 31.62 kB / 410.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.5151, allocations: 44.89 kB / 410.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-06/0.5151, allocations: 4 kB / 410.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-06/0.5151, allocations: 0 / 410.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.614e-06/0.5151, allocations: 0 / 410.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.5157, allocations: 385 kB / 410.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.838e-06/0.5158, allocations: 4 kB / 410.9 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.516, allocations: 19.98 kB / 411 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.5166, allocations: 112.8 kB / 411.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.5166, allocations: 2.875 kB / 411.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.5217, allocations: 4.432 MB / 415.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-06/0.5218, allocations: 0 / 415.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.5226, allocations: 382.3 kB / 415.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.5228, allocations: 122.7 kB / 416 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.5229, allocations: 3.938 kB / 416 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.5232, allocations: 23.67 kB / 416 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.5233, allocations: 26.89 kB / 416 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.5234, allocations: 11.81 kB / 416.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003156/0.5237, allocations: 213.4 kB / 416.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.5237, allocations: 0 / 416.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009298/0.5247, allocations: 118.1 kB / 416.4 MB, free: 6.156 MB / 330.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.0001718/0.5248, allocations: 106.4 kB / 416.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.5258, allocations: 0.5131 MB / 417 MB, free: 5.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.084e-06/0.5258, allocations: 0 / 417 MB, free: 5.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.5265, allocations: 443 kB / 417.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.527, allocations: 55.58 kB / 417.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.5281, allocations: 405 kB / 417.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.5287, allocations: 0.8029 MB / 418.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.5289, allocations: 18.98 kB / 418.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.5289, allocations: 23.42 kB / 418.7 MB, free: 3.867 MB / 330.7 MB Notification: Performance of SimCode: time 1.901e-06/0.529, allocations: 4 kB / 418.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of Templates: time 0.01384/0.5428, allocations: 4.704 MB / 423.4 MB, free: 15.19 MB / 346.7 MB