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.9463/0.9463, allocations: 111.2 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002584, allocations: 4 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04512/0.0454, allocations: 25.17 MB / 183.4 MB, free: 6.012 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00304/0.04848, allocations: 2.078 MB / 185.5 MB, free: 3.93 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.04969, allocations: 0.5815 MB / 186.1 MB, free: 3.348 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.04985, allocations: 4 kB / 186.1 MB, free: 3.344 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 8.037e-05/0.04994, allocations: 31.75 kB / 186.1 MB, free: 3.312 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.05021, allocations: 103.7 kB / 186.2 MB, free: 3.211 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.05051, allocations: 75.89 kB / 186.3 MB, free: 3.137 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.05089, allocations: 231.5 kB / 186.5 MB, free: 2.91 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.05109, allocations: 84.94 kB / 186.6 MB, free: 2.828 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.05133, allocations: 119.6 kB / 186.7 MB, free: 2.711 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.05157, allocations: 135.5 kB / 186.9 MB, free: 2.578 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.05164, allocations: 16 kB / 186.9 MB, free: 2.562 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.05171, allocations: 16 kB / 186.9 MB, free: 2.547 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.0518, allocations: 51.8 kB / 186.9 MB, free: 2.496 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.0519, allocations: 73.58 kB / 187 MB, free: 2.418 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.05224, allocations: 243.3 kB / 187.2 MB, free: 2.18 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.721e-06/0.05226, allocations: 0 / 187.2 MB, free: 2.18 MB / 154.7 MB Notification: Performance of FrontEnd: time 4.68e-06/0.05228, allocations: 0 / 187.2 MB, free: 2.18 MB / 154.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.05229, allocations: 3.938 kB / 187.2 MB, free: 2.176 MB / 154.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.001554/0.05386, allocations: 0.6196 MB / 187.9 MB, free: 1.508 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.05391, allocations: 8.031 kB / 187.9 MB, free: 1.5 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.05401, allocations: 35.7 kB / 187.9 MB, free: 1.465 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.0544, allocations: 247.5 kB / 188.1 MB, free: 1.18 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.05444, allocations: 16.44 kB / 188.2 MB, free: 1.164 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.05451, allocations: 16 kB / 188.2 MB, free: 1.148 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008562/0.05537, allocations: 306.6 kB / 188.5 MB, free: 0.8359 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.05541, allocations: 3.938 kB / 188.5 MB, free: 0.832 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.05546, allocations: 7.984 kB / 188.5 MB, free: 0.8242 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.05549, allocations: 11.95 kB / 188.5 MB, free: 0.8125 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.05653, allocations: 293.6 kB / 188.8 MB, free: 0.5273 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.05887, allocations: 1.073 MB / 189.9 MB, free: 15.37 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.06125, allocations: 482.3 kB / 190.3 MB, free: 14.89 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.0613, allocations: 3.906 kB / 190.3 MB, free: 14.89 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.06135, allocations: 38.56 kB / 190.4 MB, free: 14.84 MB / 170.7 MB Notification: Performance of pre-optimization done (n=14): time 5.725e-06/0.06137, allocations: 0 / 190.4 MB, free: 14.84 MB / 170.7 MB Notification: Performance of matching and sorting (n=14): time 0.0061/0.06748, allocations: 1.151 MB / 191.5 MB, free: 13.66 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.06757, allocations: 59.33 kB / 191.6 MB, free: 13.59 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.06793, allocations: 221 kB / 191.8 MB, free: 13.36 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.06799, allocations: 29.7 kB / 191.8 MB, free: 13.33 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.06816, allocations: 218.5 kB / 192 MB, free: 13.11 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.06824, allocations: 47.34 kB / 192.1 MB, free: 13.07 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.06827, allocations: 4 kB / 192.1 MB, free: 13.06 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.06844, allocations: 322.8 kB / 192.4 MB, free: 12.74 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.06891, allocations: 115.9 kB / 192.5 MB, free: 12.62 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.06939, allocations: 131.7 kB / 192.7 MB, free: 12.49 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.06988, allocations: 119.8 kB / 192.8 MB, free: 12.38 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.0699, allocations: 0 / 192.8 MB, free: 12.38 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003544/0.07346, allocations: 0.6836 MB / 193.5 MB, free: 11.68 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.07351, allocations: 8 kB / 193.5 MB, free: 11.68 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.669e-06/0.07353, allocations: 0 / 193.5 MB, free: 11.68 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/0.07445, allocations: 228.7 kB / 193.7 MB, free: 11.45 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.0747, allocations: 39.97 kB / 193.7 MB, free: 11.41 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/0.08345, allocations: 2.681 MB / 196.4 MB, free: 8.598 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.08386, allocations: 47.91 kB / 196.5 MB, free: 8.551 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.08391, allocations: 7.984 kB / 196.5 MB, free: 8.543 MB / 170.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.0002616/0.08418, allocations: 141.8 kB / 196.6 MB, free: 8.395 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.08427, allocations: 15.81 kB / 196.6 MB, free: 8.379 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.08435, allocations: 21.84 kB / 196.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.37e-06/0.08437, allocations: 4 kB / 196.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.624e-06/0.08439, allocations: 4 kB / 196.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.749e-06/0.0844, allocations: 7.922 kB / 196.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.08496, allocations: 325.3 kB / 197 MB, free: 7.973 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.895e-06/0.08498, allocations: 3.984 kB / 197 MB, free: 7.969 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.08522, allocations: 31.92 kB / 197 MB, free: 7.938 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008541/0.08609, allocations: 232.7 kB / 197.2 MB, free: 7.707 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.08614, allocations: 8 kB / 197.2 MB, free: 7.699 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008579/0.09473, allocations: 2.681 MB / 199.9 MB, free: 4.883 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.449e-06/0.09478, allocations: 0 / 199.9 MB, free: 4.883 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.09895, allocations: 0.9098 MB / 200.8 MB, free: 3.953 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.09926, allocations: 120.8 kB / 200.9 MB, free: 3.816 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.09937, allocations: 4 kB / 200.9 MB, free: 3.812 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.1, allocations: 35.97 kB / 201 MB, free: 3.777 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.1001, allocations: 7.984 kB / 201 MB, free: 3.77 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.1001, allocations: 11.94 kB / 201 MB, free: 3.758 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.1004, allocations: 164.5 kB / 201.2 MB, free: 3.594 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.1004, allocations: 0 / 201.2 MB, free: 3.594 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006297/0.101, allocations: 79.84 kB / 201.2 MB, free: 3.516 MB / 170.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.0001668/0.1012, allocations: 95.25 kB / 201.3 MB, free: 3.41 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.1033, allocations: 494.4 kB / 201.8 MB, free: 2.914 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 8.444e-06/0.1033, allocations: 4 kB / 201.8 MB, free: 2.91 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.1048, allocations: 362.4 kB / 202.2 MB, free: 2.543 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.1053, allocations: 59.36 kB / 202.2 MB, free: 2.488 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1068, allocations: 0.6742 MB / 202.9 MB, free: 1.785 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.1073, allocations: 0.7479 MB / 203.7 MB, free: 1.012 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.1074, allocations: 23.42 kB / 203.7 MB, free: 0.9883 MB / 170.7 MB Notification: Performance of SimCode: time 1.935e-06/0.1074, allocations: 0 / 203.7 MB, free: 0.9883 MB / 170.7 MB Notification: Performance of Templates: time 0.122/0.2294, allocations: 3.943 MB / 207.6 MB, free: 23.67 MB / 170.7 MB