Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 114.2 kB / 17.13 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 198.2 kB / 18.06 MB, free: 5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0482/0.0482, allocations: 8.088 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.0836, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.007097/0.09074, allocations: 6.485 MB / 473.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.09372, allocations: 1.49 MB / 474.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008464/0.09458, allocations: 16 kB / 474.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009935/0.09562, allocations: 306 kB / 475 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.09746, allocations: 0.5472 MB / 475.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.1003, allocations: 1.42 MB / 476.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.1021, allocations: 1.178 MB / 478.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006794/0.1028, allocations: 400.8 kB / 478.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.1035, allocations: 494.1 kB / 479 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.1046, allocations: 0.6497 MB / 479.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.1048, allocations: 92 kB / 479.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.1057, allocations: 339.7 kB / 480.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.1059, allocations: 239 kB / 480.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.1066, allocations: 0.5596 MB / 480.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.1083, allocations: 1.32 MB / 482.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1083, allocations: 4 kB / 482.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1083, allocations: 4 kB / 482.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-05/0.1084, allocations: 0 / 482.2 MB, free: 2.57 MB / 350.1 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.01138/0.1197, allocations: 2.936 MB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1198, allocations: 11.89 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.1201, allocations: 131.5 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.1211, allocations: 0.6203 MB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1212, allocations: 138.3 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.1214, allocations: 92.38 kB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.1235, allocations: 1.288 MB / 487.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1235, allocations: 0 / 487.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.1237, allocations: 32 kB / 487.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1237, allocations: 24 kB / 487.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.1256, allocations: 1.226 MB / 488.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006578/0.1322, allocations: 5.015 MB / 493.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.1349, allocations: 2.226 MB / 495.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.1362, allocations: 0.9562 MB / 496.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.1363, allocations: 33.27 kB / 496.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.1364, allocations: 51.88 kB / 497 MB, free: 3.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.146e-06/0.1364, allocations: 0 / 497 MB, free: 3.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.03213/0.1685, allocations: 7.938 MB / 0.4931 GB, free: 11.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.1687, allocations: 149.8 kB / 0.4932 GB, free: 10.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008378/0.1695, allocations: 0.5624 MB / 0.4937 GB, free: 10.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.1698, allocations: 61.7 kB / 0.4938 GB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.17, allocations: 294.4 kB / 0.4941 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/0.1705, allocations: 0.4928 MB / 0.4946 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005415/0.1711, allocations: 275.6 kB / 0.4948 GB, free: 9.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1712, allocations: 338 kB / 0.4952 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.1726, allocations: 0.8396 MB / 0.496 GB, free: 8.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.174, allocations: 0.9619 MB / 0.4969 GB, free: 7.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.1769, allocations: 1.877 MB / 0.4987 GB, free: 5.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.177, allocations: 0 / 0.4987 GB, free: 5.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01014/0.1871, allocations: 3.651 MB / 0.5023 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.1872, allocations: 4 kB / 0.5023 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1872, allocations: 3.938 kB / 0.5023 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1895/0.3767, allocations: 2.332 MB / 0.5046 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000865/0.3776, allocations: 214.7 kB / 0.5048 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.3957, allocations: 10.82 MB / 0.5154 GB, free: 38.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.3968, allocations: 138 kB / 0.5155 GB, free: 38.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.3969, allocations: 56.75 kB / 0.5156 GB, free: 38.72 MB / 382.1 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.000375/0.3973, allocations: 257.2 kB / 0.5158 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.3975, allocations: 99.53 kB / 0.5159 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009099/0.4066, allocations: 3.613 MB / 0.5194 GB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.4066, allocations: 20.39 kB / 0.5194 GB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4066, allocations: 4.406 kB / 0.5194 GB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.4067, allocations: 7.969 kB / 0.5195 GB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009858/0.4165, allocations: 5.125 MB / 0.5245 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4165, allocations: 0 / 0.5245 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.4171, allocations: 167.9 kB / 0.5246 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008483/0.4256, allocations: 2.211 MB / 0.5268 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.4257, allocations: 35.66 kB / 0.5268 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.4412, allocations: 10.67 MB / 0.5372 GB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4412, allocations: 0 / 0.5372 GB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008128/0.4494, allocations: 3.531 MB / 0.5407 GB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.4496, allocations: 187.5 kB / 0.5409 GB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4498, allocations: 32 kB / 0.5409 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/0.4506, allocations: 72.44 kB / 0.541 GB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/0.451, allocations: 130.4 kB / 0.5411 GB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.4511, allocations: 48 kB / 0.5411 GB, free: 22.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003612/0.4514, allocations: 383.1 kB / 0.5415 GB, free: 22.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.182e-06/0.4515, allocations: 0 / 0.5415 GB, free: 22.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001269/0.4527, allocations: 0.529 MB / 0.542 GB, free: 21.63 MB / 382.1 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.000247/0.453, allocations: 157.3 kB / 0.5422 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005106/0.4581, allocations: 2.901 MB / 0.545 GB, free: 18.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4581, allocations: 4 kB / 0.545 GB, free: 18.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003664/0.4618, allocations: 1.848 MB / 0.5468 GB, free: 16.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.4626, allocations: 118.9 kB / 0.5469 GB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.4656, allocations: 2.085 MB / 0.549 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4659, allocations: 1.05 MB / 0.55 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.4661, allocations: 91.39 kB / 0.5501 GB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4662, allocations: 0 / 0.5501 GB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.02213/0.4883, allocations: 20.83 MB / 0.5704 GB, free: 8.523 MB / 398.1 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)