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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001161/0.001161, allocations: 96.39 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 172.6 kB / 16.62 MB, free: 6.434 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.482/1.482, allocations: 223.3 MB / 240.7 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2647/0.2647, allocations: 8.088 MB / 299.8 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.000413, allocations: 8 kB / 362.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 52.53 MB / 415.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006469/0.1455, allocations: 5.608 MB / 421 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003525/0.1491, allocations: 1.374 MB / 422.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.1502, allocations: 16 kB / 422.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.1511, allocations: 194.9 kB / 422.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.1529, allocations: 473.2 kB / 423 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2662/0.4191, allocations: 1.15 MB / 424.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.421, allocations: 1.06 MB / 425.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.4216, allocations: 316.2 kB / 425.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.4221, allocations: 418.8 kB / 426 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.4227, allocations: 0.5675 MB / 426.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.602e-05/0.4228, allocations: 54.47 kB / 426.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.4235, allocations: 276.1 kB / 426.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.4236, allocations: 188.5 kB / 427 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.4238, allocations: 207.7 kB / 427.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.4246, allocations: 0.9514 MB / 428.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4246, allocations: 0 / 428.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4246, allocations: 0 / 428.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4247, allocations: 4 kB / 428.2 MB, free: 34.6 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.009905/0.4346, allocations: 2.794 MB / 431 MB, free: 33.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4346, allocations: 9.25 kB / 431 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/0.4352, allocations: 133.7 kB / 431.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.4361, allocations: 0.5974 MB / 431.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.4362, allocations: 137.8 kB / 431.9 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.4364, allocations: 91.06 kB / 432 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.4383, allocations: 1.277 MB / 433.2 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.4384, allocations: 0 / 433.2 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.4385, allocations: 42.41 kB / 433.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.4385, allocations: 25.84 kB / 433.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4402, allocations: 1.218 MB / 434.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.4453, allocations: 5.054 MB / 439.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.4473, allocations: 2.222 MB / 441.8 MB, free: 30.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.4484, allocations: 0.9579 MB / 442.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.4486, allocations: 36.45 kB / 442.8 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.4486, allocations: 54.11 kB / 442.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 3.397e-06/0.4487, allocations: 0 / 442.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.02673/0.4754, allocations: 7.778 MB / 450.6 MB, free: 28.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.4755, allocations: 142.2 kB / 450.8 MB, free: 28.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.4761, allocations: 0.5602 MB / 451.3 MB, free: 27.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.4763, allocations: 59.77 kB / 451.4 MB, free: 27.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.4765, allocations: 301.5 kB / 451.7 MB, free: 27.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.4768, allocations: 0.495 MB / 452.2 MB, free: 27.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.4769, allocations: 30.06 kB / 452.2 MB, free: 27.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.477, allocations: 409.6 kB / 452.6 MB, free: 26.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.4781, allocations: 0.8267 MB / 453.4 MB, free: 26.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.4793, allocations: 0.9539 MB / 454.4 MB, free: 25.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.4804, allocations: 0.9091 MB / 455.3 MB, free: 25.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4805, allocations: 0 / 455.3 MB, free: 25.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.0078/0.4883, allocations: 3.619 MB / 458.9 MB, free: 23.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4883, allocations: 6.062 kB / 458.9 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4883, allocations: 3.984 kB / 458.9 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008665/0.497, allocations: 2.339 MB / 461.2 MB, free: 23.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.498, allocations: 216 kB / 461.5 MB, free: 23.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.5173, allocations: 9.888 MB / 471.3 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.5187, allocations: 134.7 kB / 471.5 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.5189, allocations: 51.62 kB / 471.5 MB, free: 17.7 MB / 350.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 (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 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0006184/0.5195, allocations: 257 kB / 471.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.5198, allocations: 99.12 kB / 471.9 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/0.5301, allocations: 3.609 MB / 475.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.5302, allocations: 18.88 kB / 475.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5302, allocations: 4.844 kB / 475.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.5302, allocations: 10.7 kB / 475.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.5416, allocations: 5.112 MB / 480.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.5417, allocations: 6.141 kB / 480.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/0.5423, allocations: 167.6 kB / 480.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008694/0.551, allocations: 2.244 MB / 483 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002922/0.5513, allocations: 33.7 kB / 483.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.5673, allocations: 9.714 MB / 492.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5674, allocations: 4 kB / 492.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007933/0.5753, allocations: 3.519 MB / 496.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/0.5759, allocations: 195.4 kB / 496.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.5762, allocations: 28 kB / 496.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.577, allocations: 87.5 kB / 496.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004475/0.5775, allocations: 130.4 kB / 496.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.5776, allocations: 44 kB / 496.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004563/0.578, allocations: 375.1 kB / 497.2 MB, free: 204 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.578, allocations: 0 / 497.2 MB, free: 204 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002184/0.5802, allocations: 0.531 MB / 497.7 MB, free: 15.66 MB / 366.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 (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 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004444/0.5807, allocations: 152.1 kB / 497.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006447/0.5871, allocations: 2.857 MB / 0.489 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.5872, allocations: 0 / 0.489 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004664/0.5918, allocations: 1.821 MB / 0.4907 GB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.5931, allocations: 114.9 kB / 0.4908 GB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.5977, allocations: 2.372 MB / 0.4932 GB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.5984, allocations: 1.057 MB / 0.4942 GB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005216/0.5989, allocations: 131.2 kB / 0.4943 GB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5991, allocations: 87.34 kB / 0.4944 GB, free: 7.027 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5991, allocations: 0 / 0.4944 GB, free: 7.027 MB / 366.1 MB Notification: Performance of Templates: time 0.04498/0.6441, allocations: 31.76 MB / 0.5254 GB, free: 7.414 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: