Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 1.034/1.034, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.064e-05, allocations: 6.656 kB / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05357/0.05363, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004433/0.05814, allocations: 2.667 MB / 182.4 MB, free: 6.945 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.05975, allocations: 0.5927 MB / 182.9 MB, free: 6.352 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.06003, allocations: 11.94 kB / 183 MB, free: 6.34 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.06017, allocations: 51.64 kB / 183 MB, free: 6.289 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.06063, allocations: 159.5 kB / 183.2 MB, free: 6.133 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.06094, allocations: 79.91 kB / 183.2 MB, free: 6.055 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.06149, allocations: 271.4 kB / 183.5 MB, free: 5.789 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.06175, allocations: 65.59 kB / 183.6 MB, free: 5.727 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.06207, allocations: 143.6 kB / 183.7 MB, free: 5.586 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.06239, allocations: 167.4 kB / 183.9 MB, free: 5.422 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.0625, allocations: 16 kB / 183.9 MB, free: 5.406 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.06257, allocations: 20 kB / 183.9 MB, free: 5.387 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.06267, allocations: 63.69 kB / 184 MB, free: 5.324 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.06281, allocations: 40 kB / 184 MB, free: 5.285 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.06333, allocations: 347.2 kB / 184.4 MB, free: 4.945 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.06335, allocations: 0 / 184.4 MB, free: 4.945 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.06337, allocations: 4 kB / 184.4 MB, free: 4.941 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.06339, allocations: 0 / 184.4 MB, free: 4.941 MB / 154.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.001518/0.06492, allocations: 0.6355 MB / 185 MB, free: 4.258 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.06498, allocations: 12.03 kB / 185 MB, free: 4.246 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.06514, allocations: 47.44 kB / 185 MB, free: 4.199 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.06569, allocations: 302.1 kB / 185.3 MB, free: 3.867 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.06574, allocations: 24.66 kB / 185.4 MB, free: 3.84 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.06582, allocations: 32 kB / 185.4 MB, free: 3.809 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.06684, allocations: 362.7 kB / 185.8 MB, free: 3.438 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.06687, allocations: 0 / 185.8 MB, free: 3.438 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.06694, allocations: 12 kB / 185.8 MB, free: 3.426 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.06696, allocations: 11.95 kB / 185.8 MB, free: 3.414 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009661/0.06794, allocations: 282.4 kB / 186.1 MB, free: 3.137 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.07112, allocations: 1.427 MB / 187.5 MB, free: 1.613 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.07189, allocations: 242.2 kB / 187.7 MB, free: 1.367 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.07194, allocations: 4 kB / 187.7 MB, free: 1.363 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.07199, allocations: 30.56 kB / 187.7 MB, free: 1.324 MB / 154.7 MB Notification: Performance of pre-optimization done (n=24): time 2.354e-06/0.072, allocations: 0 / 187.7 MB, free: 1.324 MB / 154.7 MB Notification: Performance of matching and sorting (n=24): time 0.002611/0.07462, allocations: 0.7135 MB / 188.5 MB, free: 0.543 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.0747, allocations: 55.41 kB / 188.5 MB, free: 488 kB / 154.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage3.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage2.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter With_Ron_Goff.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter Ideal.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.07528, allocations: 287.6 kB / 188.8 MB, free: 192 kB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.07534, allocations: 25.7 kB / 188.8 MB, free: 160 kB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.07558, allocations: 262.6 kB / 189.1 MB, free: 15.89 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.926e-05/0.07568, allocations: 78.86 kB / 189.2 MB, free: 15.81 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.07571, allocations: 4 kB / 189.2 MB, free: 15.81 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.07587, allocations: 322.8 kB / 189.5 MB, free: 15.48 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.07623, allocations: 83.95 kB / 189.6 MB, free: 15.4 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.07663, allocations: 132.2 kB / 189.7 MB, free: 15.26 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.07702, allocations: 91.97 kB / 189.8 MB, free: 15.17 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.07704, allocations: 3.953 kB / 189.8 MB, free: 15.16 MB / 170.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001329/0.07838, allocations: 352 kB / 190.1 MB, free: 14.8 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.07842, allocations: 4.094 kB / 190.1 MB, free: 14.8 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.07844, allocations: 7.938 kB / 190.1 MB, free: 14.79 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.07908, allocations: 114.4 kB / 190.2 MB, free: 14.67 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.07943, allocations: 39.97 kB / 190.3 MB, free: 14.63 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/0.08489, allocations: 4.469 MB / 194.8 MB, free: 9.766 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.08537, allocations: 39.8 kB / 194.8 MB, free: 9.727 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.08542, allocations: 4 kB / 194.8 MB, free: 9.723 MB / 170.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.0002825/0.08571, allocations: 153.7 kB / 194.9 MB, free: 9.562 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.08582, allocations: 39.56 kB / 195 MB, free: 9.523 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.142e-05/0.08592, allocations: 35.17 kB / 195 MB, free: 9.484 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.08594, allocations: 4 kB / 195 MB, free: 9.48 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.08595, allocations: 0 / 195 MB, free: 9.48 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.08597, allocations: 7.984 kB / 195 MB, free: 9.473 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.08662, allocations: 377.3 kB / 195.4 MB, free: 9.055 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.08664, allocations: 3.984 kB / 195.4 MB, free: 9.051 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.08689, allocations: 23.98 kB / 195.4 MB, free: 9.027 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/0.08748, allocations: 110.5 kB / 195.5 MB, free: 8.91 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.08752, allocations: 7.891 kB / 195.5 MB, free: 8.902 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/0.09293, allocations: 4.465 MB / 200 MB, free: 4.035 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.09298, allocations: 3.938 kB / 200 MB, free: 4.031 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.09409, allocations: 414.4 kB / 200.4 MB, free: 3.602 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.09432, allocations: 132.6 kB / 200.5 MB, free: 3.453 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.09441, allocations: 3.953 kB / 200.6 MB, free: 3.449 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.09483, allocations: 31.98 kB / 200.6 MB, free: 3.418 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.09496, allocations: 19.97 kB / 200.6 MB, free: 3.398 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.09501, allocations: 11.98 kB / 200.6 MB, free: 3.387 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003563/0.09537, allocations: 219.1 kB / 200.8 MB, free: 3.176 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.09539, allocations: 0 / 200.8 MB, free: 3.176 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0008716/0.09627, allocations: 119.8 kB / 200.9 MB, free: 3.059 MB / 170.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.0001716/0.09645, allocations: 111.2 kB / 201.1 MB, free: 2.938 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.09793, allocations: 0.5778 MB / 201.6 MB, free: 2.32 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.09796, allocations: 0 / 201.6 MB, free: 2.32 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.09884, allocations: 484.1 kB / 202.1 MB, free: 1.809 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.09977, allocations: 89.86 kB / 202.2 MB, free: 1.719 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1016, allocations: 0.7787 MB / 203 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1022, allocations: 0.8067 MB / 203.8 MB, free: 76 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1023, allocations: 19.44 kB / 203.8 MB, free: 56 kB / 170.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1023, allocations: 0 / 203.8 MB, free: 56 kB / 170.7 MB Notification: Performance of Templates: time 0.1536/0.2559, allocations: 8.016 MB / 211.8 MB, free: 19.94 MB / 170.7 MB