Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001313, allocations: 179.2 kB / 16.13 MB, free: 5.25 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.348/1.348, allocations: 225.7 MB / 242.6 MB, free: 8.473 MB / 202.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.0008214/0.0008215, allocations: 102.3 kB / 293.8 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04642/0.04642, allocations: 8.092 MB / 353 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003003, allocations: 8 kB / 416.2 MB, free: 56.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09454, allocations: 52.52 MB / 468.7 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.004912/0.09951, allocations: 5.647 MB / 474.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.103, allocations: 2.281 MB / 476.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.1034, allocations: 16 kB / 476.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.104, allocations: 250.8 kB / 476.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.105, allocations: 489.2 kB / 477.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.1082, allocations: 2.839 MB / 480.2 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.1096, allocations: 1.12 MB / 481.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.1101, allocations: 330.2 kB / 481.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.1105, allocations: 430.1 kB / 482.1 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.1112, allocations: 0.5794 MB / 482.7 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-05/0.1113, allocations: 52 kB / 482.7 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006032/0.1119, allocations: 287.7 kB / 483 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.112, allocations: 195 kB / 483.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.1125, allocations: 0.53 MB / 483.7 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.1138, allocations: 1.257 MB / 485 MB, free: 2.641 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1138, allocations: 0 / 485 MB, free: 2.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1138, allocations: 0 / 485 MB, free: 2.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.1138, allocations: 0 / 485 MB, free: 2.641 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.2045/0.3183, allocations: 2.766 MB / 487.8 MB, free: 25.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.3184, allocations: 9.547 kB / 487.8 MB, free: 25.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.319, allocations: 126.6 kB / 487.9 MB, free: 25.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.3204, allocations: 0.6144 MB / 488.5 MB, free: 25.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.3207, allocations: 134.3 kB / 488.6 MB, free: 25.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.3211, allocations: 92 kB / 488.7 MB, free: 25.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.3242, allocations: 1.28 MB / 490 MB, free: 24.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3243, allocations: 4.469 kB / 490 MB, free: 24.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.3244, allocations: 44.91 kB / 490.1 MB, free: 24.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.3244, allocations: 22 kB / 490.1 MB, free: 24.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.3269, allocations: 1.212 MB / 491.3 MB, free: 24.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007203/0.3341, allocations: 5.065 MB / 496.4 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.3365, allocations: 2.224 MB / 498.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3379, allocations: 0.952 MB / 499.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.338, allocations: 37.27 kB / 499.6 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3381, allocations: 54.11 kB / 499.6 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=148): time 3.817e-06/0.3381, allocations: 0 / 499.6 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.02966/0.3677, allocations: 7.918 MB / 0.4956 GB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.3679, allocations: 144.3 kB / 0.4958 GB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.3686, allocations: 0.5504 MB / 0.4963 GB, free: 14.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.3688, allocations: 61.95 kB / 0.4964 GB, free: 14.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.369, allocations: 298.9 kB / 0.4967 GB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.3693, allocations: 0.4892 MB / 0.4971 GB, free: 14.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.3694, allocations: 30.59 kB / 0.4972 GB, free: 14.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3695, allocations: 399.1 kB / 0.4975 GB, free: 13.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.3707, allocations: 0.834 MB / 0.4984 GB, free: 13.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.372, allocations: 0.9543 MB / 0.4993 GB, free: 12.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.3745, allocations: 1.876 MB / 0.5011 GB, free: 11.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3745, allocations: 0 / 0.5011 GB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008228/0.3828, allocations: 3.631 MB / 0.5047 GB, free: 9.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.3829, allocations: 4.984 kB / 0.5047 GB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3829, allocations: 0 / 0.5047 GB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008247/0.3911, allocations: 2.342 MB / 0.507 GB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.392, allocations: 223.6 kB / 0.5072 GB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/0.408, allocations: 9.872 MB / 0.5168 GB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.4093, allocations: 146.4 kB / 0.517 GB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.4095, allocations: 51.98 kB / 0.517 GB, free: 12.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.0004931/0.41, allocations: 261.1 kB / 0.5173 GB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.4102, allocations: 98.78 kB / 0.5173 GB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009147/0.4193, allocations: 3.609 MB / 0.5209 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.4194, allocations: 16 kB / 0.5209 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4194, allocations: 7.922 kB / 0.5209 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.4194, allocations: 11.97 kB / 0.5209 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.4305, allocations: 5.118 MB / 0.5259 GB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4306, allocations: 0 / 0.5259 GB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.4311, allocations: 171.7 kB / 0.5261 GB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008799/0.4399, allocations: 2.234 MB / 0.5282 GB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.4401, allocations: 28 kB / 0.5283 GB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.4576, allocations: 9.722 MB / 0.5378 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4576, allocations: 3.938 kB / 0.5378 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/0.4665, allocations: 3.522 MB / 0.5412 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.4669, allocations: 187.5 kB / 0.5414 GB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.4671, allocations: 35.92 kB / 0.5414 GB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.4679, allocations: 87.89 kB / 0.5415 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/0.4684, allocations: 126.4 kB / 0.5416 GB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.4685, allocations: 47.98 kB / 0.5417 GB, free: 3.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005148/0.469, allocations: 375.1 kB / 0.542 GB, free: 2.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4691, allocations: 7.938 kB / 0.542 GB, free: 2.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001669/0.4707, allocations: 0.5192 MB / 0.5425 GB, free: 2.414 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003418/0.4711, allocations: 165.7 kB / 0.5427 GB, free: 2.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00597/0.4771, allocations: 2.847 MB / 0.5455 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4771, allocations: 0 / 0.5455 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004011/0.4811, allocations: 1.814 MB / 0.5473 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.4819, allocations: 114.9 kB / 0.5474 GB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.4854, allocations: 2.484 MB / 0.5498 GB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.486, allocations: 1.057 MB / 0.5508 GB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004475/0.4864, allocations: 135.2 kB / 0.551 GB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4867, allocations: 83.41 kB / 0.551 GB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4867, allocations: 0 / 0.551 GB, free: 9.633 MB / 362.7 MB Notification: Performance of Templates: time 0.04785/0.5345, allocations: 32.66 MB / 0.5829 GB, free: 9.062 MB / 394.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)