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 0.9874/0.9874, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.964e-05, allocations: 4 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 25.15 MB / 179.4 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05363/0.1948, allocations: 35.42 MB / 214.9 MB, free: 13.7 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.195, allocations: 63.97 kB / 214.9 MB, free: 13.63 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02652/0.2216, allocations: 4.528 MB / 219.4 MB, free: 9.09 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.384e-06/0.2216, allocations: 0 / 219.4 MB, free: 9.09 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.435e-05/0.2217, allocations: 4 kB / 219.4 MB, free: 9.086 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.002312/0.224, allocations: 0.5411 MB / 220 MB, free: 8.5 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.519e-05/0.2241, allocations: 8.031 kB / 220 MB, free: 8.492 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.2243, allocations: 31.62 kB / 220 MB, free: 8.461 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.2251, allocations: 247.5 kB / 220.3 MB, free: 8.176 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.2252, allocations: 16.44 kB / 220.3 MB, free: 8.16 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2254, allocations: 16 kB / 220.3 MB, free: 8.145 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.2267, allocations: 254.7 kB / 220.5 MB, free: 7.883 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.2267, allocations: 7.891 kB / 220.6 MB, free: 7.875 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.2268, allocations: 4 kB / 220.6 MB, free: 7.871 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.2269, allocations: 8 kB / 220.6 MB, free: 7.863 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.2281, allocations: 173.7 kB / 220.7 MB, free: 7.691 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.2329, allocations: 1.074 MB / 221.8 MB, free: 6.531 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/0.2365, allocations: 334.5 kB / 222.1 MB, free: 6.195 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.2371, allocations: 108.8 kB / 222.2 MB, free: 6.086 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.2372, allocations: 7.938 kB / 222.3 MB, free: 6.078 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.2372, allocations: 30.56 kB / 222.3 MB, free: 6.039 MB / 186.7 MB Notification: Performance of pre-optimization done (n=14): time 5.763e-06/0.2373, allocations: 3.938 kB / 222.3 MB, free: 6.035 MB / 186.7 MB Notification: Performance of matching and sorting (n=14): time 0.006659/0.244, allocations: 0.5333 MB / 222.8 MB, free: 5.492 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.2441, allocations: 55.41 kB / 222.9 MB, free: 5.426 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/0.2447, allocations: 192.8 kB / 223.1 MB, free: 5.23 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.2448, allocations: 29.7 kB / 223.1 MB, free: 5.195 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2451, allocations: 218.5 kB / 223.3 MB, free: 4.98 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2453, allocations: 43.36 kB / 223.3 MB, free: 4.938 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.2453, allocations: 4 kB / 223.3 MB, free: 4.934 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/0.2456, allocations: 314.8 kB / 223.7 MB, free: 4.617 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.2461, allocations: 59.98 kB / 223.7 MB, free: 4.559 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.2466, allocations: 85.64 kB / 223.8 MB, free: 4.469 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.2471, allocations: 62.16 kB / 223.9 MB, free: 4.41 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.2471, allocations: 4 kB / 223.9 MB, free: 4.406 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.006586/0.2537, allocations: 0.5253 MB / 224.4 MB, free: 3.871 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.2538, allocations: 9.406 kB / 224.4 MB, free: 3.863 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2538, allocations: 0 / 224.4 MB, free: 3.863 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009414/0.2548, allocations: 136.8 kB / 224.5 MB, free: 3.727 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.2553, allocations: 39.91 kB / 224.6 MB, free: 3.688 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.2684, allocations: 2.151 MB / 226.7 MB, free: 1.406 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.2692, allocations: 43.78 kB / 226.8 MB, free: 1.363 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/0.2693, allocations: 7.984 kB / 226.8 MB, free: 1.355 MB / 186.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 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.0002749/0.2696, allocations: 112 kB / 226.9 MB, free: 1.242 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.2698, allocations: 19.81 kB / 226.9 MB, free: 1.223 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.27, allocations: 29.95 kB / 226.9 MB, free: 1.191 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.27, allocations: 4 kB / 226.9 MB, free: 1.188 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.726e-06/0.2701, allocations: 0 / 226.9 MB, free: 1.188 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.49e-06/0.2701, allocations: 0 / 226.9 MB, free: 1.188 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2713, allocations: 329.3 kB / 227.3 MB, free: 0.8164 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.2714, allocations: 0 / 227.3 MB, free: 0.8164 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.2719, allocations: 39.86 kB / 227.3 MB, free: 0.7773 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008645/0.2728, allocations: 136.8 kB / 227.4 MB, free: 0.6406 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.2728, allocations: 7.984 kB / 227.4 MB, free: 0.6328 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.2857, allocations: 2.154 MB / 229.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2857, allocations: 0 / 229.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007224/0.293, allocations: 0.7147 MB / 230.3 MB, free: 13.61 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.2934, allocations: 113 kB / 230.4 MB, free: 13.48 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2935, allocations: 15.92 kB / 230.4 MB, free: 13.47 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008475/0.2944, allocations: 27.98 kB / 230.5 MB, free: 13.44 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2945, allocations: 15.98 kB / 230.5 MB, free: 13.43 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.2946, allocations: 7.984 kB / 230.5 MB, free: 13.42 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0004354/0.2951, allocations: 161.4 kB / 230.6 MB, free: 13.26 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.2951, allocations: 0 / 230.6 MB, free: 13.26 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006503/0.2958, allocations: 83.75 kB / 230.7 MB, free: 13.18 MB / 202.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.0001847/0.296, allocations: 103.2 kB / 230.8 MB, free: 13.07 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.2974, allocations: 370.5 kB / 231.2 MB, free: 12.69 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.965e-06/0.2974, allocations: 0 / 231.2 MB, free: 12.69 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.2985, allocations: 294.5 kB / 231.5 MB, free: 12.39 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.2991, allocations: 56.56 kB / 231.5 MB, free: 12.34 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.3, allocations: 370 kB / 231.9 MB, free: 11.94 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.3005, allocations: 0.7519 MB / 232.6 MB, free: 11.16 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.3005, allocations: 15.44 kB / 232.7 MB, free: 11.15 MB / 202.7 MB Notification: Performance of SimCode: time 1.759e-06/0.3005, allocations: 0 / 232.7 MB, free: 11.15 MB / 202.7 MB Notification: Performance of Templates: time 0.008077/0.3086, allocations: 3.979 MB / 236.6 MB, free: 7.172 MB / 202.7 MB