Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) 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.018/1.018, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002649, allocations: 4 kB / 158.3 MB, free: 15.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04523/0.04551, allocations: 25.17 MB / 183.5 MB, free: 5.953 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.225, allocations: 35.37 MB / 218.9 MB, free: 6.32 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.2252, allocations: 62.66 kB / 218.9 MB, free: 6.312 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02109/0.2463, allocations: 5.964 MB / 224.9 MB, free: 3.977 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2464, allocations: 0 / 224.9 MB, free: 3.977 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.2464, allocations: 7.656 kB / 224.9 MB, free: 3.977 MB / 170.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.0009663/0.2474, allocations: 0.6625 MB / 225.6 MB, free: 3.441 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2474, allocations: 11.47 kB / 225.6 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.2475, allocations: 46.66 kB / 225.6 MB, free: 3.418 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.2479, allocations: 294.8 kB / 225.9 MB, free: 3.16 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.248, allocations: 31.7 kB / 225.9 MB, free: 3.156 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.248, allocations: 32.89 kB / 226 MB, free: 3.152 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.2488, allocations: 355.2 kB / 226.3 MB, free: 3.023 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2488, allocations: 3.938 kB / 226.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.2489, allocations: 13.47 kB / 226.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2489, allocations: 7.688 kB / 226.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007333/0.2496, allocations: 281.6 kB / 226.6 MB, free: 2.973 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.2517, allocations: 1.443 MB / 228.1 MB, free: 1.973 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.2523, allocations: 223.5 kB / 228.3 MB, free: 1.926 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.2523, allocations: 0 / 228.3 MB, free: 1.926 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.2524, allocations: 45.59 kB / 228.3 MB, free: 1.879 MB / 170.7 MB Notification: Performance of pre-optimization done (n=24): time 3.135e-06/0.2524, allocations: 0 / 228.3 MB, free: 1.879 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.001694/0.2541, allocations: 0.7128 MB / 229 MB, free: 1.438 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.2541, allocations: 55.28 kB / 229.1 MB, free: 1.375 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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.0004362/0.2546, allocations: 281.2 kB / 229.4 MB, free: 1.246 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2546, allocations: 28.83 kB / 229.4 MB, free: 1.215 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.2547, allocations: 268.4 kB / 229.7 MB, free: 1.004 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.2548, allocations: 70.66 kB / 229.7 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.2548, allocations: 10.09 kB / 229.7 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.2549, allocations: 321.8 kB / 230 MB, free: 0.6328 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2551, allocations: 85.83 kB / 230.1 MB, free: 0.6211 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.2554, allocations: 121.8 kB / 230.2 MB, free: 0.5664 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.2557, allocations: 101.4 kB / 230.3 MB, free: 0.5469 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2557, allocations: 0 / 230.3 MB, free: 0.5469 MB / 170.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000974/0.2567, allocations: 352.9 kB / 230.7 MB, free: 392 kB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2568, allocations: 4 kB / 230.7 MB, free: 388 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2568, allocations: 0 / 230.7 MB, free: 388 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.2573, allocations: 118.2 kB / 230.8 MB, free: 288 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.2575, allocations: 31.92 kB / 230.8 MB, free: 256 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.2627, allocations: 4.485 MB / 235.3 MB, free: 11.66 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.263, allocations: 31.44 kB / 235.4 MB, free: 11.64 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.2631, allocations: 11.69 kB / 235.4 MB, free: 11.63 MB / 186.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 () * Number of clocked 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.0002633/0.2634, allocations: 155 kB / 235.5 MB, free: 11.49 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.2635, allocations: 35.56 kB / 235.6 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/0.2635, allocations: 36.58 kB / 235.6 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.098e-06/0.2636, allocations: 4 kB / 235.6 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.64e-06/0.2636, allocations: 0 / 235.6 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.57e-06/0.2636, allocations: 3.938 kB / 235.6 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.2642, allocations: 383.7 kB / 236 MB, free: 11.08 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-06/0.2642, allocations: 4 kB / 236 MB, free: 11.07 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.2644, allocations: 23.98 kB / 236 MB, free: 11.05 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.2649, allocations: 107.4 kB / 236.1 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2649, allocations: 3.812 kB / 236.1 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/0.2701, allocations: 4.482 MB / 240.6 MB, free: 6.391 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2701, allocations: 0 / 240.6 MB, free: 6.391 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.271, allocations: 415.7 kB / 241 MB, free: 6.035 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.2713, allocations: 137 kB / 241.1 MB, free: 5.895 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2713, allocations: 3.75 kB / 241.1 MB, free: 5.895 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.2716, allocations: 23.98 kB / 241.2 MB, free: 5.871 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2718, allocations: 30.08 kB / 241.2 MB, free: 5.848 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.2718, allocations: 4 kB / 241.2 MB, free: 5.844 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003282/0.2721, allocations: 221 kB / 241.4 MB, free: 5.668 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.2721, allocations: 0 / 241.4 MB, free: 5.668 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009344/0.2731, allocations: 118.1 kB / 241.5 MB, free: 5.562 MB / 186.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 () * Number of clocked 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.0001636/0.2733, allocations: 114.4 kB / 241.6 MB, free: 5.441 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.2745, allocations: 0.582 MB / 242.2 MB, free: 4.895 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2745, allocations: 0 / 242.2 MB, free: 4.895 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007414/0.2752, allocations: 493.8 kB / 242.7 MB, free: 4.422 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.2759, allocations: 95.88 kB / 242.8 MB, free: 4.352 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.2775, allocations: 0.7718 MB / 243.6 MB, free: 3.594 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.278, allocations: 0.8029 MB / 244.4 MB, free: 2.762 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.2782, allocations: 23.42 kB / 244.4 MB, free: 2.738 MB / 186.7 MB Notification: Performance of SimCode: time 1.766e-06/0.2782, allocations: 0 / 244.4 MB, free: 2.738 MB / 186.7 MB Notification: Performance of Templates: time 0.01347/0.2916, allocations: 8.016 MB / 252.4 MB, free: 10.77 MB / 202.7 MB