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.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.556e-05, allocations: 4 kB / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 25.15 MB / 176.5 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05429/0.2016, allocations: 35.29 MB / 211.8 MB, free: 14.17 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.2018, allocations: 63.97 kB / 211.9 MB, free: 14.11 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02343/0.2252, allocations: 5.966 MB / 217.9 MB, free: 8.109 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.047e-06/0.2253, allocations: 0 / 217.9 MB, free: 8.109 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.661e-05/0.2253, allocations: 11.98 kB / 217.9 MB, free: 8.098 MB / 186.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.001659/0.227, allocations: 0.6152 MB / 218.5 MB, free: 7.438 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/0.2271, allocations: 8.406 kB / 218.5 MB, free: 7.43 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.2274, allocations: 43.53 kB / 218.5 MB, free: 7.387 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2284, allocations: 294.2 kB / 218.8 MB, free: 7.062 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.2285, allocations: 24.78 kB / 218.9 MB, free: 7.039 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.2287, allocations: 39.89 kB / 218.9 MB, free: 7 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.2303, allocations: 331.2 kB / 219.2 MB, free: 6.656 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.2304, allocations: 0 / 219.2 MB, free: 6.656 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.2305, allocations: 16 kB / 219.2 MB, free: 6.641 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.2306, allocations: 8 kB / 219.2 MB, free: 6.633 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2318, allocations: 233.5 kB / 219.5 MB, free: 6.406 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/0.2367, allocations: 1.443 MB / 220.9 MB, free: 4.863 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009277/0.2377, allocations: 198.5 kB / 221.1 MB, free: 4.66 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.2382, allocations: 96.84 kB / 221.2 MB, free: 4.562 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.2383, allocations: 0 / 221.2 MB, free: 4.562 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.2383, allocations: 42.91 kB / 221.2 MB, free: 4.512 MB / 186.7 MB Notification: Performance of pre-optimization done (n=24): time 4.203e-06/0.2384, allocations: 0 / 221.2 MB, free: 4.512 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001346/0.2397, allocations: 267.2 kB / 221.5 MB, free: 4.238 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.2398, allocations: 55.41 kB / 221.6 MB, free: 4.172 MB / 186.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.0009216/0.2408, allocations: 287.3 kB / 221.8 MB, free: 3.887 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.2409, allocations: 29.7 kB / 221.9 MB, free: 3.852 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.2412, allocations: 266.5 kB / 222.1 MB, free: 3.59 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.2414, allocations: 74.92 kB / 222.2 MB, free: 3.516 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.2414, allocations: 0 / 222.2 MB, free: 3.516 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.2417, allocations: 326.8 kB / 222.5 MB, free: 3.188 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.2421, allocations: 64 kB / 222.6 MB, free: 3.125 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.2426, allocations: 105.2 kB / 222.7 MB, free: 3.008 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.243, allocations: 71.91 kB / 222.8 MB, free: 2.938 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.243, allocations: 0 / 222.8 MB, free: 2.938 MB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001703/0.2448, allocations: 311.8 kB / 223.1 MB, free: 2.617 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.2448, allocations: 4 kB / 223.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.2449, allocations: 4 kB / 223.1 MB, free: 2.609 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009495/0.2458, allocations: 110.5 kB / 223.2 MB, free: 2.492 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.2463, allocations: 35.98 kB / 223.2 MB, free: 2.457 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008953/0.2553, allocations: 4.43 MB / 227.6 MB, free: 13.62 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.256, allocations: 40.11 kB / 227.7 MB, free: 13.58 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.2561, allocations: 12.25 kB / 227.7 MB, free: 13.57 MB / 202.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.0002341/0.2563, allocations: 116.9 kB / 227.8 MB, free: 13.45 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.2565, allocations: 35.56 kB / 227.8 MB, free: 13.41 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2567, allocations: 34.95 kB / 227.9 MB, free: 13.37 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2567, allocations: 4 kB / 227.9 MB, free: 13.37 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-06/0.2568, allocations: 0 / 227.9 MB, free: 13.37 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.96e-06/0.2568, allocations: 8 kB / 227.9 MB, free: 13.36 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.258, allocations: 381.2 kB / 228.3 MB, free: 12.94 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.258, allocations: 4 kB / 228.3 MB, free: 12.93 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.2583, allocations: 23.92 kB / 228.3 MB, free: 12.91 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008623/0.2592, allocations: 110.5 kB / 228.4 MB, free: 12.79 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.2593, allocations: 4 kB / 228.4 MB, free: 12.79 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008788/0.2681, allocations: 4.426 MB / 232.8 MB, free: 7.965 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.054e-06/0.2682, allocations: 3.984 kB / 232.8 MB, free: 7.961 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.2696, allocations: 377.5 kB / 233.2 MB, free: 7.566 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.27, allocations: 128.6 kB / 233.3 MB, free: 7.422 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.2702, allocations: 7.984 kB / 233.3 MB, free: 7.414 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.2708, allocations: 24.23 kB / 233.4 MB, free: 7.391 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.271, allocations: 23.97 kB / 233.4 MB, free: 7.367 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.2711, allocations: 12 kB / 233.4 MB, free: 7.355 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0006263/0.2717, allocations: 222.1 kB / 233.6 MB, free: 7.141 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.322e-06/0.2718, allocations: 3.938 kB / 233.6 MB, free: 7.137 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.002001/0.2738, allocations: 115.8 kB / 233.7 MB, free: 7.023 MB / 202.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.0002495/0.2741, allocations: 103.2 kB / 233.8 MB, free: 6.914 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.2758, allocations: 0.5089 MB / 234.3 MB, free: 6.375 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.035e-06/0.2758, allocations: 0 / 234.3 MB, free: 6.375 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.2769, allocations: 441.2 kB / 234.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.2782, allocations: 89.59 kB / 234.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.2803, allocations: 433 kB / 235.3 MB, free: 5.379 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008882/0.2813, allocations: 0.8067 MB / 236.1 MB, free: 4.547 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.2815, allocations: 19.44 kB / 236.1 MB, free: 4.527 MB / 202.7 MB Notification: Performance of SimCode: time 2.394e-06/0.2815, allocations: 0 / 236.1 MB, free: 4.527 MB / 202.7 MB Notification: Performance of Templates: time 0.02444/0.3059, allocations: 8.024 MB / 244.1 MB, free: 12.51 MB / 218.7 MB