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.OvervoltageProtection.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.107/1.107, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.721e-05, allocations: 0 / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04521/0.04525, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.2224, allocations: 34.75 MB / 208 MB, free: 7.004 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.2226, allocations: 62.31 kB / 208.1 MB, free: 7.004 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.2401, allocations: 4.484 MB / 212.6 MB, free: 6.383 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2401, allocations: 0 / 212.6 MB, free: 6.383 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.2401, allocations: 5.719 kB / 212.6 MB, free: 6.383 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009828/0.2411, allocations: 0.5356 MB / 213.1 MB, free: 5.973 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2412, allocations: 13.81 kB / 213.1 MB, free: 5.969 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.2413, allocations: 29.34 kB / 213.2 MB, free: 5.953 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.2416, allocations: 245 kB / 213.4 MB, free: 5.73 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2416, allocations: 7.281 kB / 213.4 MB, free: 5.73 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.2417, allocations: 18.22 kB / 213.4 MB, free: 5.727 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004399/0.2421, allocations: 169.3 kB / 213.6 MB, free: 5.723 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.2426, allocations: 218.5 kB / 213.8 MB, free: 5.66 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2426, allocations: 0 / 213.8 MB, free: 5.66 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2427, allocations: 7.938 kB / 213.8 MB, free: 5.652 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.967e-06/0.2427, allocations: 5.688 kB / 213.8 MB, free: 5.652 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.2445, allocations: 1.024 MB / 214.9 MB, free: 5.102 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.246, allocations: 330.3 kB / 215.2 MB, free: 5.07 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.2462, allocations: 105.1 kB / 215.3 MB, free: 5.059 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2463, allocations: 0 / 215.3 MB, free: 5.059 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.2463, allocations: 34.5 kB / 215.3 MB, free: 5.016 MB / 170.7 MB Notification: Performance of pre-optimization done (n=14): time 3.115e-06/0.2463, allocations: 3.984 kB / 215.3 MB, free: 5.012 MB / 170.7 MB Notification: Performance of matching and sorting (n=14): time 0.0028/0.2491, allocations: 0.511 MB / 215.8 MB, free: 4.945 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.2492, allocations: 54.69 kB / 215.9 MB, free: 4.883 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.2494, allocations: 174.3 kB / 216 MB, free: 4.785 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2494, allocations: 29.7 kB / 216.1 MB, free: 4.75 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.2495, allocations: 223.4 kB / 216.3 MB, free: 4.574 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.2496, allocations: 47.44 kB / 216.3 MB, free: 4.539 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.2496, allocations: 0 / 216.3 MB, free: 4.539 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.2497, allocations: 320.8 kB / 216.7 MB, free: 4.227 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2498, allocations: 55.94 kB / 216.7 MB, free: 4.223 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.25, allocations: 77.52 kB / 216.8 MB, free: 4.207 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.2501, allocations: 59.47 kB / 216.8 MB, free: 4.203 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-06/0.2502, allocations: 3.938 kB / 216.8 MB, free: 4.199 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002708/0.2529, allocations: 0.522 MB / 217.4 MB, free: 4.137 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2529, allocations: 6.094 kB / 217.4 MB, free: 4.137 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.301e-06/0.2529, allocations: 0 / 217.4 MB, free: 4.137 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.2533, allocations: 141.2 kB / 217.5 MB, free: 4.121 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2536, allocations: 31.08 kB / 217.5 MB, free: 4.121 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004942/0.2585, allocations: 2.097 MB / 219.6 MB, free: 2.809 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.2589, allocations: 37.53 kB / 219.7 MB, free: 2.801 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.259, allocations: 12.25 kB / 219.7 MB, free: 2.801 MB / 170.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode_1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.2591, allocations: 112.4 kB / 219.8 MB, free: 2.688 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.2592, allocations: 19.31 kB / 219.8 MB, free: 2.676 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.2593, allocations: 22.19 kB / 219.8 MB, free: 2.676 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2593, allocations: 7.625 kB / 219.8 MB, free: 2.672 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-06/0.2593, allocations: 1.641 kB / 219.8 MB, free: 2.672 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-06/0.2593, allocations: 0 / 219.8 MB, free: 2.672 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.2597, allocations: 281.3 kB / 220.1 MB, free: 2.508 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.652e-06/0.2598, allocations: 0 / 220.1 MB, free: 2.508 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.26, allocations: 38.78 kB / 220.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/0.2603, allocations: 142.1 kB / 220.3 MB, free: 2.484 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.2604, allocations: 2.672 kB / 220.3 MB, free: 2.484 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/0.2657, allocations: 2.103 MB / 222.4 MB, free: 17.02 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-06/0.2657, allocations: 0 / 222.4 MB, free: 17.02 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.2687, allocations: 0.6909 MB / 223.1 MB, free: 16.76 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.2689, allocations: 114.7 kB / 223.2 MB, free: 16.64 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.269, allocations: 3.938 kB / 223.2 MB, free: 16.64 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.2694, allocations: 42.22 kB / 223.3 MB, free: 16.63 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.2694, allocations: 11.84 kB / 223.3 MB, free: 16.62 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2695, allocations: 3.875 kB / 223.3 MB, free: 16.62 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.2696, allocations: 145.7 kB / 223.4 MB, free: 16.54 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.62e-06/0.2696, allocations: 0 / 223.4 MB, free: 16.54 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006045/0.2703, allocations: 92.62 kB / 223.5 MB, free: 16.51 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.2704, allocations: 98.47 kB / 223.6 MB, free: 16.42 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.2716, allocations: 354.2 kB / 223.9 MB, free: 16.28 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.641e-06/0.2716, allocations: 0 / 223.9 MB, free: 16.28 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009346/0.2726, allocations: 290.1 kB / 224.2 MB, free: 16.13 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.273, allocations: 31.06 kB / 224.3 MB, free: 16.12 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.2738, allocations: 359.3 kB / 224.6 MB, free: 15.89 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.2742, allocations: 0.748 MB / 225.4 MB, free: 15.16 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.2743, allocations: 14.81 kB / 225.4 MB, free: 15.15 MB / 186.7 MB Notification: Performance of SimCode: time 1.506e-06/0.2743, allocations: 0 / 225.4 MB, free: 15.15 MB / 186.7 MB Notification: Performance of Templates: time 0.006434/0.2807, allocations: 3.833 MB / 229.2 MB, free: 13.23 MB / 186.7 MB