Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.054/1.054, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002645, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05325/0.05356, allocations: 25.17 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.2626, allocations: 35.5 MB / 219.5 MB, free: 6.25 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.2629, allocations: 65.5 kB / 219.6 MB, free: 6.242 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02017/0.2831, allocations: 4.515 MB / 224.1 MB, free: 4.477 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2831, allocations: 4 kB / 224.1 MB, free: 4.473 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.2832, allocations: 7.531 kB / 224.1 MB, free: 4.473 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.001452/0.2846, allocations: 0.5616 MB / 224.7 MB, free: 4 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2847, allocations: 9.109 kB / 224.7 MB, free: 4 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2848, allocations: 34.67 kB / 224.7 MB, free: 3.98 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.2852, allocations: 245.5 kB / 225 MB, free: 3.742 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2852, allocations: 19 kB / 225 MB, free: 3.742 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.2853, allocations: 15.12 kB / 225 MB, free: 3.742 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009894/0.2863, allocations: 308.4 kB / 225.3 MB, free: 3.621 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2863, allocations: 7.953 kB / 225.3 MB, free: 3.613 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.2864, allocations: 11.22 kB / 225.3 MB, free: 3.609 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2864, allocations: 3.844 kB / 225.3 MB, free: 3.609 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.2877, allocations: 288.4 kB / 225.6 MB, free: 3.559 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.2902, allocations: 1.078 MB / 226.7 MB, free: 2.812 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.2936, allocations: 481.8 kB / 227.2 MB, free: 2.695 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.2937, allocations: 3.875 kB / 227.2 MB, free: 2.695 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2937, allocations: 34.5 kB / 227.2 MB, free: 2.652 MB / 170.7 MB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/0.2937, allocations: 0 / 227.2 MB, free: 2.652 MB / 170.7 MB Notification: Performance of matching and sorting (n=14): time 0.009217/0.3029, allocations: 1.163 MB / 228.4 MB, free: 2.227 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.303, allocations: 55.31 kB / 228.4 MB, free: 2.164 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.3034, allocations: 216.5 kB / 228.6 MB, free: 2.039 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.3034, allocations: 30.86 kB / 228.7 MB, free: 2.008 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3036, allocations: 213.1 kB / 228.9 MB, free: 1.828 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.3036, allocations: 52.8 kB / 228.9 MB, free: 1.789 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.3037, allocations: 3 kB / 228.9 MB, free: 1.789 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.3037, allocations: 317.6 kB / 229.2 MB, free: 1.473 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/0.3044, allocations: 110.9 kB / 229.3 MB, free: 1.453 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.305, allocations: 133.1 kB / 229.5 MB, free: 1.414 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3057, allocations: 116.9 kB / 229.6 MB, free: 1.395 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3057, allocations: 0 / 229.6 MB, free: 1.395 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00546/0.3112, allocations: 0.6904 MB / 230.3 MB, free: 0.9414 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.3112, allocations: 4 kB / 230.3 MB, free: 0.9375 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3113, allocations: 0 / 230.3 MB, free: 0.9375 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.3124, allocations: 233.4 kB / 230.5 MB, free: 0.7383 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.3128, allocations: 44.78 kB / 230.6 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.3249, allocations: 2.679 MB / 233.2 MB, free: 14.13 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.3254, allocations: 39.81 kB / 233.3 MB, free: 14.09 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.3255, allocations: 15.42 kB / 233.3 MB, free: 14.08 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.0002567/0.3257, allocations: 139.7 kB / 233.4 MB, free: 13.95 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.3258, allocations: 19.75 kB / 233.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.3259, allocations: 21.39 kB / 233.5 MB, free: 13.92 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3259, allocations: 4 kB / 233.5 MB, free: 13.92 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3259, allocations: 0 / 233.5 MB, free: 13.92 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3259, allocations: 0 / 233.5 MB, free: 13.92 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.3265, allocations: 332.9 kB / 233.8 MB, free: 13.6 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3265, allocations: 3.938 kB / 233.8 MB, free: 13.6 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3268, allocations: 35.92 kB / 233.8 MB, free: 13.56 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.328, allocations: 230.3 kB / 234.1 MB, free: 13.37 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.3281, allocations: 11.92 kB / 234.1 MB, free: 13.36 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.3402, allocations: 2.683 MB / 236.7 MB, free: 10.79 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3402, allocations: 0 / 236.7 MB, free: 10.79 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006539/0.3468, allocations: 0.9107 MB / 237.7 MB, free: 9.973 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.3471, allocations: 120.1 kB / 237.8 MB, free: 9.848 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.3471, allocations: 0 / 237.8 MB, free: 9.848 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.3477, allocations: 43.78 kB / 237.8 MB, free: 9.809 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.3478, allocations: 7.984 kB / 237.8 MB, free: 9.801 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.3478, allocations: 7.984 kB / 237.8 MB, free: 9.793 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.348, allocations: 159.4 kB / 238 MB, free: 9.664 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3481, allocations: 0 / 238 MB, free: 9.664 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006664/0.3487, allocations: 79.72 kB / 238.1 MB, free: 9.59 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.000209/0.349, allocations: 107.2 kB / 238.2 MB, free: 9.477 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.3517, allocations: 475.8 kB / 238.6 MB, free: 9.055 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3518, allocations: 0 / 238.6 MB, free: 9.055 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.3538, allocations: 357 kB / 239 MB, free: 8.723 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.3546, allocations: 54.38 kB / 239 MB, free: 8.684 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3564, allocations: 0.6691 MB / 239.7 MB, free: 8.023 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3569, allocations: 0.7479 MB / 240.5 MB, free: 7.25 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.357, allocations: 23.42 kB / 240.5 MB, free: 7.227 MB / 186.7 MB Notification: Performance of SimCode: time 1.022e-06/0.357, allocations: 0 / 240.5 MB, free: 7.227 MB / 186.7 MB Notification: Performance of Templates: time 0.00998/0.367, allocations: 3.971 MB / 244.5 MB, free: 3.281 MB / 186.7 MB