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.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.545e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07808, allocations: 44.49 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.4472, allocations: 73.06 MB / 372.9 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.4475, allocations: 71.08 kB / 373 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02412/0.4716, allocations: 6.183 MB / 379.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4716, allocations: 0 / 379.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.4717, allocations: 8.188 kB / 379.2 MB, free: 21.66 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.0009595/0.4727, allocations: 0.6185 MB / 379.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4727, allocations: 8.5 kB / 379.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.4728, allocations: 51.89 kB / 379.9 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.4733, allocations: 291.2 kB / 380.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4733, allocations: 20.59 kB / 380.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.4734, allocations: 33.17 kB / 380.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/0.4741, allocations: 328.9 kB / 380.5 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4741, allocations: 0 / 380.5 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.4742, allocations: 18.31 kB / 380.5 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4742, allocations: 7.5 kB / 380.6 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.4748, allocations: 234.4 kB / 380.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.4771, allocations: 1.43 MB / 382.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.4776, allocations: 214.5 kB / 382.4 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.4778, allocations: 96.23 kB / 382.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4779, allocations: 6.125 kB / 382.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.4779, allocations: 36.78 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.843e-06/0.4779, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006688/0.4786, allocations: 268.3 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.4786, allocations: 53.12 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.479, allocations: 266.5 kB / 383.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.479, allocations: 30.64 kB / 383.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4791, allocations: 213.9 kB / 383.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.4792, allocations: 72.36 kB / 383.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.4792, allocations: 8.438 kB / 383.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.4793, allocations: 337.1 kB / 383.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.4795, allocations: 74.59 kB / 383.9 MB, free: 19.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.4797, allocations: 99.56 kB / 383.9 MB, free: 19.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.4799, allocations: 64.98 kB / 384 MB, free: 19.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.867e-06/0.48, allocations: 1.031 kB / 384 MB, free: 19.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008623/0.4808, allocations: 339.8 kB / 384.3 MB, free: 19.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4809, allocations: 8.188 kB / 384.4 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4809, allocations: 1.781 kB / 384.4 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.4814, allocations: 119.8 kB / 384.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4817, allocations: 40.17 kB / 384.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/0.4857, allocations: 4.422 MB / 388.9 MB, free: 30.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.4861, allocations: 38.61 kB / 389 MB, free: 30.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.4862, allocations: 8.875 kB / 389 MB, free: 30.96 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.0001477/0.4863, allocations: 112.4 kB / 389.1 MB, free: 30.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/0.4864, allocations: 32.94 kB / 389.1 MB, free: 30.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.98e-05/0.4865, allocations: 38.36 kB / 389.2 MB, free: 30.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-06/0.4865, allocations: 6.703 kB / 389.2 MB, free: 30.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.731e-06/0.4865, allocations: 1.375 kB / 389.2 MB, free: 30.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-06/0.4866, allocations: 0 / 389.2 MB, free: 30.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.4871, allocations: 381.8 kB / 389.5 MB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.526e-06/0.4871, allocations: 1.312 kB / 389.5 MB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4873, allocations: 27.73 kB / 389.6 MB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.4878, allocations: 108.2 kB / 389.7 MB, free: 30.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.4878, allocations: 5.594 kB / 389.7 MB, free: 30.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/0.4925, allocations: 4.453 MB / 394.1 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.468e-06/0.4925, allocations: 0 / 394.1 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.4932, allocations: 365.5 kB / 394.5 MB, free: 26.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.4934, allocations: 128.3 kB / 394.6 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.4935, allocations: 5.312 kB / 394.6 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.4938, allocations: 24.59 kB / 394.6 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4939, allocations: 31.56 kB / 394.7 MB, free: 26.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.494, allocations: 8.312 kB / 394.7 MB, free: 26.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003134/0.4943, allocations: 217 kB / 394.9 MB, free: 26.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.4943, allocations: 1.656 kB / 394.9 MB, free: 26.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009016/0.4952, allocations: 109.9 kB / 395 MB, free: 26.13 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.0001575/0.4954, allocations: 114.4 kB / 395.1 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008692/0.4963, allocations: 0.5153 MB / 395.6 MB, free: 25.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4963, allocations: 0 / 395.6 MB, free: 25.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.4969, allocations: 442.3 kB / 396.1 MB, free: 25.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4973, allocations: 62.69 kB / 396.1 MB, free: 25.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4984, allocations: 408.9 kB / 396.5 MB, free: 25.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.4989, allocations: 0.8004 MB / 397.3 MB, free: 24.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.4991, allocations: 29.39 kB / 397.4 MB, free: 24.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.4991, allocations: 18.06 kB / 397.4 MB, free: 24.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.884e-06/0.4992, allocations: 0 / 397.4 MB, free: 24.48 MB / 330.7 MB Notification: Performance of Templates: time 0.01225/0.5114, allocations: 4.689 MB / 402.1 MB, free: 24.15 MB / 330.7 MB