Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Events.TestBreaker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Events.TestBreaker") translateModel(OpenIPSL.Examples.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Events.TestBreaker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 177.6 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.7 MB / 241.9 MB, free: 372 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009623, allocations: 93.81 kB / 293.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2588/0.2588, allocations: 43.18 MB / 387.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 9.719 kB / 458.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 60.5 MB / 0.5069 GB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Events.TestBreaker): time 0.003588/0.1106, allocations: 3.291 MB / 0.5101 GB, free: 7.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.1133, allocations: 1.366 MB / 0.5115 GB, free: 6.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.1138, allocations: 11.94 kB / 0.5115 GB, free: 6.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.1142, allocations: 99.42 kB / 0.5116 GB, free: 5.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.1148, allocations: 142.9 kB / 0.5117 GB, free: 5.855 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1162, allocations: 0.8481 MB / 0.5125 GB, free: 4.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.117, allocations: 0.6224 MB / 0.5131 GB, free: 4.289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.1172, allocations: 133.6 kB / 0.5133 GB, free: 4.156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.1176, allocations: 242.8 kB / 0.5135 GB, free: 3.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.118, allocations: 286.5 kB / 0.5138 GB, free: 3.637 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.118, allocations: 28 kB / 0.5138 GB, free: 3.609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1183, allocations: 83.97 kB / 0.5139 GB, free: 3.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.1184, allocations: 99.41 kB / 0.514 GB, free: 3.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004226/0.1188, allocations: 292 kB / 0.5142 GB, free: 3.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.1201, allocations: 0.6656 MB / 0.5149 GB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.1201, allocations: 4 kB / 0.5149 GB, free: 2.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1201, allocations: 0 / 0.5149 GB, free: 2.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1201, allocations: 0 / 0.5149 GB, free: 2.465 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.004806/0.1249, allocations: 1.151 MB / 0.516 GB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.125, allocations: 8.031 kB / 0.516 GB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.1277, allocations: 299.8 kB / 0.5163 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/0.1285, allocations: 433.7 kB / 0.5167 GB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.1288, allocations: 193.6 kB / 0.5169 GB, free: 288 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.1289, allocations: 44 kB / 0.517 GB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1308, allocations: 0.5876 MB / 0.5175 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1309, allocations: 0 / 0.5175 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.131, allocations: 16 kB / 0.5175 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.131, allocations: 8 kB / 0.5176 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.1328, allocations: 0.5032 MB / 0.518 GB, free: 15.11 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.1375, allocations: 2.128 MB / 0.5201 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/0.1551, allocations: 2.796 MB / 0.5229 GB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.1563, allocations: 311.5 kB / 0.5231 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.989e-05/0.1564, allocations: 7.938 kB / 0.5232 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.1577, allocations: 399 kB / 0.5235 GB, free: 9.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 3.717e-06/0.1577, allocations: 4 kB / 0.5235 GB, free: 9.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.01197/0.1697, allocations: 2.599 MB / 0.5261 GB, free: 6.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.1698, allocations: 88.98 kB / 0.5262 GB, free: 6.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.1707, allocations: 417.9 kB / 0.5266 GB, free: 6.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.1708, allocations: 29.7 kB / 0.5266 GB, free: 5.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.1711, allocations: 280.1 kB / 0.5269 GB, free: 5.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.1714, allocations: 134 kB / 0.527 GB, free: 5.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.1714, allocations: 12 kB / 0.527 GB, free: 5.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1717, allocations: 354.8 kB / 0.5273 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.1728, allocations: 288.7 kB / 0.5276 GB, free: 4.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.1739, allocations: 330.8 kB / 0.5279 GB, free: 4.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.1758, allocations: 0.606 MB / 0.5285 GB, free: 3.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1758, allocations: 0 / 0.5285 GB, free: 3.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.007687/0.1835, allocations: 1.583 MB / 0.5301 GB, free: 2.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.1836, allocations: 4 kB / 0.5301 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1836, allocations: 4 kB / 0.5301 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004617/0.1882, allocations: 0.8307 MB / 0.5309 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.1887, allocations: 39.98 kB / 0.5309 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2396/0.4284, allocations: 4.465 MB / 0.5353 GB, free: 30.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.4289, allocations: 81.73 kB / 0.5354 GB, free: 30.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.429, allocations: 15.52 kB / 0.5354 GB, free: 30.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.4292, allocations: 170.5 kB / 0.5355 GB, free: 30.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.4293, allocations: 54.19 kB / 0.5356 GB, free: 30.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.4337, allocations: 1.569 MB / 0.5371 GB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4337, allocations: 4.562 kB / 0.5371 GB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4337, allocations: 1.375 kB / 0.5371 GB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4337, allocations: 3.531 kB / 0.5371 GB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.4346, allocations: 0.6187 MB / 0.5377 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4347, allocations: 4.594 kB / 0.5377 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.4348, allocations: 28.14 kB / 0.5378 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/0.4377, allocations: 0.8281 MB / 0.5386 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.4377, allocations: 8.297 kB / 0.5386 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006166/0.4439, allocations: 4.433 MB / 0.5429 GB, free: 26.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4439, allocations: 3.938 kB / 0.5429 GB, free: 26.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/0.4485, allocations: 1.565 MB / 0.5444 GB, free: 25.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.4487, allocations: 129.6 kB / 0.5446 GB, free: 25.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.4488, allocations: 7.266 kB / 0.5446 GB, free: 25.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.4492, allocations: 66.67 kB / 0.5446 GB, free: 25.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/0.4496, allocations: 100.8 kB / 0.5447 GB, free: 25.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.4496, allocations: 7.938 kB / 0.5447 GB, free: 25.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004097/0.45, allocations: 287.8 kB / 0.545 GB, free: 25.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.45, allocations: 4 kB / 0.545 GB, free: 25.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007929/0.4508, allocations: 183.8 kB / 0.5452 GB, free: 25.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.451, allocations: 113.8 kB / 0.5453 GB, free: 25.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.4541, allocations: 1.374 MB / 0.5466 GB, free: 24.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4542, allocations: 0 / 0.5466 GB, free: 24.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.4564, allocations: 1.066 MB / 0.5477 GB, free: 23.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.4568, allocations: 53.28 kB / 0.5477 GB, free: 23.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.4588, allocations: 1.169 MB / 0.5489 GB, free: 23.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.4592, allocations: 0.8624 MB / 0.5497 GB, free: 22.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.4593, allocations: 34.62 kB / 0.5498 GB, free: 22.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.4594, allocations: 26.45 kB / 0.5498 GB, free: 22.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4594, allocations: 1.188 kB / 0.5498 GB, free: 22.5 MB / 362.7 MB Notification: Performance of Templates: time 0.01376/0.4732, allocations: 8.346 MB / 0.5579 GB, free: 19.71 MB / 362.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Events.TestBreaker.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Events.TestBreaker.sim & ./OpenIPSL_OpenIPSL.Examples.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Events.TestBreaker.pipe 2>&1)