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 2.309/2.309, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.131e-05, allocations: 11.91 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.307, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004404/0.3115, allocations: 2.768 MB / 306.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3131, allocations: 0.692 MB / 306.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.3133, allocations: 8 kB / 306.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3134, allocations: 51.59 kB / 306.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.3139, allocations: 143.5 kB / 307 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.3141, allocations: 79.91 kB / 307.1 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.3146, allocations: 271.2 kB / 307.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.3148, allocations: 69.58 kB / 307.4 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.3151, allocations: 139.7 kB / 307.5 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.3154, allocations: 163.4 kB / 307.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.3155, allocations: 19.94 kB / 307.7 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-05/0.3156, allocations: 16 kB / 307.7 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.3157, allocations: 67.67 kB / 307.8 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3158, allocations: 40 kB / 307.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.3163, allocations: 343 kB / 308.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3163, allocations: 0 / 308.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3163, allocations: 0 / 308.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.3164, allocations: 4 kB / 308.2 MB, free: 8.746 MB / 250.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.001335/0.3177, allocations: 0.6198 MB / 308.8 MB, free: 8.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3178, allocations: 12.03 kB / 308.8 MB, free: 8.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3179, allocations: 43.53 kB / 308.8 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.3184, allocations: 302.2 kB / 309.1 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.3184, allocations: 24.66 kB / 309.2 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.3185, allocations: 28 kB / 309.2 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.3195, allocations: 362.7 kB / 309.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3195, allocations: 0 / 309.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.3196, allocations: 16 kB / 309.6 MB, free: 7.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3196, allocations: 8 kB / 309.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.3206, allocations: 282.4 kB / 309.8 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.3236, allocations: 1.426 MB / 311.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.3243, allocations: 222.4 kB / 311.5 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.3243, allocations: 4 kB / 311.5 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.3244, allocations: 42.52 kB / 311.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 2.364e-06/0.3244, allocations: 3.938 kB / 311.5 MB, free: 5.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.002416/0.3268, allocations: 0.7062 MB / 312.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3269, allocations: 55.41 kB / 312.3 MB, free: 4.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.3273, allocations: 275.7 kB / 312.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.3274, allocations: 25.7 kB / 312.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3275, allocations: 208.1 kB / 312.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/0.3276, allocations: 82.83 kB / 312.9 MB, free: 3.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.3277, allocations: 8 kB / 312.9 MB, free: 3.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3278, allocations: 334.8 kB / 313.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.3282, allocations: 87.95 kB / 313.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.3286, allocations: 120.2 kB / 313.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.329, allocations: 103.8 kB / 313.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.329, allocations: 0 / 313.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001266/0.3303, allocations: 371.5 kB / 313.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3303, allocations: 4.938 kB / 313.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3303, allocations: 4 kB / 313.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.3309, allocations: 114.5 kB / 314 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.3312, allocations: 43.91 kB / 314 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005199/0.3364, allocations: 4.469 MB / 318.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.3369, allocations: 35.86 kB / 318.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3369, allocations: 8 kB / 318.5 MB, free: 13.58 MB / 266.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.0002366/0.3372, allocations: 148.9 kB / 318.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.3373, allocations: 31.62 kB / 318.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.3374, allocations: 39.17 kB / 318.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3374, allocations: 4 kB / 318.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3374, allocations: 288 / 318.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.3374, allocations: 7.938 kB / 318.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.338, allocations: 377.3 kB / 319.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.338, allocations: 3.938 kB / 319.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.3383, allocations: 27.97 kB / 319.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/0.3388, allocations: 110.5 kB / 319.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3389, allocations: 0 / 319.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.3438, allocations: 4.473 MB / 323.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3439, allocations: 0 / 323.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3449, allocations: 426.2 kB / 324.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.3451, allocations: 128.6 kB / 324.3 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.3452, allocations: 3.938 kB / 324.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.3456, allocations: 27.98 kB / 324.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3457, allocations: 27.95 kB / 324.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.3458, allocations: 8 kB / 324.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003262/0.3461, allocations: 215.1 kB / 324.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3461, allocations: 0 / 324.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008989/0.347, allocations: 115.7 kB / 324.7 MB, free: 6.922 MB / 266.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.0001629/0.3472, allocations: 111.2 kB / 324.8 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3486, allocations: 0.5739 MB / 325.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3486, allocations: 0 / 325.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008391/0.3495, allocations: 499.8 kB / 325.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.35, allocations: 45.64 kB / 325.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3516, allocations: 0.7532 MB / 326.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.3521, allocations: 0.8107 MB / 327.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.3523, allocations: 18.98 kB / 327.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.3524, allocations: 19.44 kB / 327.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3524, allocations: 0 / 327.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of Templates: time 0.01511/0.3675, allocations: 4.718 MB / 332.2 MB, free: 15.27 MB / 282.7 MB