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/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.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.004/1.004, allocations: 111.1 MB / 126.7 MB, free: 6.121 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 15.94 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04558/0.04589, allocations: 25.16 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.2232, allocations: 35.51 MB / 219 MB, free: 6.266 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.2234, allocations: 64.12 kB / 219.1 MB, free: 6.258 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.2408, allocations: 4.515 MB / 223.6 MB, free: 4.492 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2408, allocations: 0 / 223.6 MB, free: 4.492 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.2409, allocations: 3.844 kB / 223.6 MB, free: 4.492 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.0009457/0.2418, allocations: 0.5638 MB / 224.2 MB, free: 4.02 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2419, allocations: 9.109 kB / 224.2 MB, free: 4.02 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.242, allocations: 34.94 kB / 224.2 MB, free: 4 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.2423, allocations: 258.9 kB / 224.5 MB, free: 3.754 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.2423, allocations: 16.16 kB / 224.5 MB, free: 3.754 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.2424, allocations: 15.31 kB / 224.5 MB, free: 3.754 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.2433, allocations: 310.8 kB / 224.8 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2433, allocations: 3.953 kB / 224.8 MB, free: 3.629 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.2433, allocations: 3.75 kB / 224.8 MB, free: 3.629 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-06/0.2434, allocations: 7.688 kB / 224.8 MB, free: 3.629 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009145/0.2443, allocations: 291.7 kB / 225.1 MB, free: 3.574 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.2462, allocations: 1.067 MB / 226.2 MB, free: 2.832 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.2483, allocations: 488.3 kB / 226.6 MB, free: 2.707 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2484, allocations: 2.562 kB / 226.6 MB, free: 2.707 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.2484, allocations: 39.53 kB / 226.7 MB, free: 2.664 MB / 170.7 MB Notification: Performance of pre-optimization done (n=14): time 3.832e-06/0.2484, allocations: 3.984 kB / 226.7 MB, free: 2.66 MB / 170.7 MB Notification: Performance of matching and sorting (n=14): time 0.006107/0.2545, allocations: 1.161 MB / 227.8 MB, free: 2.238 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.2546, allocations: 51.41 kB / 227.9 MB, free: 2.176 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.2549, allocations: 196.2 kB / 228.1 MB, free: 2.066 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2549, allocations: 25.7 kB / 228.1 MB, free: 2.035 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.255, allocations: 217.5 kB / 228.3 MB, free: 1.852 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.2551, allocations: 52.67 kB / 228.4 MB, free: 1.812 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.2551, allocations: 3.562 kB / 228.4 MB, free: 1.812 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.2552, allocations: 317.7 kB / 228.7 MB, free: 1.496 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.2556, allocations: 112 kB / 228.8 MB, free: 1.477 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.256, allocations: 132.5 kB / 228.9 MB, free: 1.441 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.2565, allocations: 111 kB / 229 MB, free: 1.426 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2565, allocations: 0 / 229 MB, free: 1.426 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003362/0.2599, allocations: 0.6961 MB / 229.7 MB, free: 0.9219 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.26, allocations: 8 kB / 229.7 MB, free: 0.9141 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.111e-06/0.26, allocations: 3.938 kB / 229.7 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008494/0.2608, allocations: 232.2 kB / 230 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.2611, allocations: 34.98 kB / 230 MB, free: 0.6797 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008326/0.2694, allocations: 2.67 MB / 232.7 MB, free: 14.12 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.2698, allocations: 50.58 kB / 232.7 MB, free: 14.08 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.2699, allocations: 7.938 kB / 232.7 MB, free: 14.07 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" fixed = true ) "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 () * Number of clocked 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.0002373/0.2701, allocations: 138.5 kB / 232.9 MB, free: 13.94 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.2702, allocations: 19.81 kB / 232.9 MB, free: 13.92 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.2703, allocations: 21.97 kB / 232.9 MB, free: 13.91 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-06/0.2703, allocations: 3.938 kB / 232.9 MB, free: 13.9 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.497e-06/0.2703, allocations: 3.984 kB / 232.9 MB, free: 13.9 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.547e-06/0.2703, allocations: 4 kB / 232.9 MB, free: 13.89 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.2709, allocations: 332.1 kB / 233.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-06/0.2709, allocations: 0 / 233.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2711, allocations: 27.98 kB / 233.3 MB, free: 13.55 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008518/0.272, allocations: 234 kB / 233.5 MB, free: 13.35 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.272, allocations: 7.578 kB / 233.5 MB, free: 13.35 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008818/0.2809, allocations: 2.689 MB / 236.2 MB, free: 10.78 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.626e-06/0.2809, allocations: 0 / 236.2 MB, free: 10.78 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/0.2852, allocations: 0.9061 MB / 237.1 MB, free: 9.965 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.2855, allocations: 127.3 kB / 237.2 MB, free: 9.832 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.2855, allocations: 3.562 kB / 237.2 MB, free: 9.832 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.2859, allocations: 40.03 kB / 237.3 MB, free: 9.793 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.286, allocations: 11.55 kB / 237.3 MB, free: 9.785 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.286, allocations: 4 kB / 237.3 MB, free: 9.781 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.2863, allocations: 162.2 kB / 237.4 MB, free: 9.645 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.2863, allocations: 0 / 237.4 MB, free: 9.645 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.2869, allocations: 83.16 kB / 237.5 MB, free: 9.57 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 () * Number of clocked 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.0001817/0.2871, allocations: 107.2 kB / 237.6 MB, free: 9.457 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.289, allocations: 480.3 kB / 238.1 MB, free: 9.031 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.572e-06/0.2891, allocations: 0 / 238.1 MB, free: 9.031 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.2904, allocations: 352.6 kB / 238.4 MB, free: 8.703 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.2909, allocations: 54 kB / 238.5 MB, free: 8.664 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2924, allocations: 0.6639 MB / 239.1 MB, free: 8.008 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.2929, allocations: 0.7517 MB / 239.9 MB, free: 7.23 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.293, allocations: 15.44 kB / 239.9 MB, free: 7.215 MB / 186.7 MB Notification: Performance of SimCode: time 1.793e-06/0.293, allocations: 4 kB / 239.9 MB, free: 7.211 MB / 186.7 MB Notification: Performance of Templates: time 0.008187/0.3012, allocations: 3.976 MB / 243.9 MB, free: 3.266 MB / 186.7 MB