Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 109.3 kB / 17.16 MB, free: 5.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 208.3 kB / 20.14 MB, free: 2.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.667/1.667, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.05055/0.05055, allocations: 6.127 MB / 315.7 MB, free: 1.129 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 50.02 kB / 439.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1044, allocations: 54.98 MB / 494.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.005777/0.1101, allocations: 6.28 MB / 0.4893 GB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.1132, allocations: 1.506 MB / 0.4907 GB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009945/0.1142, allocations: 16 kB / 0.4908 GB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1152, allocations: 306 kB / 0.491 GB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.1175, allocations: 0.5161 MB / 0.4915 GB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.1203, allocations: 1.413 MB / 0.4929 GB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.1225, allocations: 1.132 MB / 0.494 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005282/0.123, allocations: 272.9 kB / 0.4943 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006903/0.1237, allocations: 498.1 kB / 0.4948 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008748/0.1246, allocations: 0.6185 MB / 0.4954 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.1248, allocations: 92 kB / 0.4955 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008854/0.1256, allocations: 343.8 kB / 0.4958 GB, free: 12.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.1259, allocations: 239 kB / 0.496 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006544/0.1265, allocations: 0.548 MB / 0.4966 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1285, allocations: 1.315 MB / 0.4978 GB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1285, allocations: 0 / 0.4978 GB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1285, allocations: 0 / 0.4978 GB, free: 10.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1285, allocations: 0 / 0.4978 GB, free: 10.82 MB / 366.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.01808/0.1466, allocations: 2.97 MB / 0.5007 GB, free: 7.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/0.1466, allocations: 8.031 kB / 0.5007 GB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004493/0.1471, allocations: 128.2 kB / 0.5009 GB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.1485, allocations: 0.6168 MB / 0.5015 GB, free: 7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.1487, allocations: 134.3 kB / 0.5016 GB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.1489, allocations: 92.38 kB / 0.5017 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.1521, allocations: 1.291 MB / 0.5029 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.1522, allocations: 0 / 0.5029 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.1523, allocations: 39.94 kB / 0.503 GB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.1524, allocations: 20 kB / 0.503 GB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.1554, allocations: 1.214 MB / 0.5042 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009571/0.1649, allocations: 3.884 MB / 0.508 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.169, allocations: 2.046 MB / 0.51 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.1703, allocations: 0.8156 MB / 0.5108 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.1705, allocations: 37.27 kB / 0.5108 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.1706, allocations: 55.88 kB / 0.5109 GB, free: 13.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.156e-06/0.1706, allocations: 0 / 0.5109 GB, free: 13.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.03305/0.2036, allocations: 7.572 MB / 0.5183 GB, free: 5.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.2037, allocations: 145.8 kB / 0.5184 GB, free: 5.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.2047, allocations: 0.5458 MB / 0.5189 GB, free: 4.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.2049, allocations: 57.7 kB / 0.519 GB, free: 4.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.2052, allocations: 290.8 kB / 0.5193 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.2058, allocations: 0.5111 MB / 0.5198 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/0.2063, allocations: 279.5 kB / 0.52 GB, free: 3.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2065, allocations: 338 kB / 0.5204 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.208, allocations: 0.8318 MB / 0.5212 GB, free: 2.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.2096, allocations: 0.962 MB / 0.5221 GB, free: 1.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.2129, allocations: 1.885 MB / 0.5239 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2129, allocations: 0 / 0.5239 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01042/0.2233, allocations: 3.566 MB / 0.5274 GB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.2234, allocations: 4 kB / 0.5274 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.2234, allocations: 0 / 0.5274 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.2337, allocations: 2.291 MB / 0.5297 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/0.2346, allocations: 219.6 kB / 0.5299 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/0.2591, allocations: 10.81 MB / 0.5404 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.2608, allocations: 147.1 kB / 0.5406 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/0.2611, allocations: 47.98 kB / 0.5406 GB, free: 14.31 MB / 414.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.0008012/0.2619, allocations: 258.2 kB / 0.5409 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.2622, allocations: 95.39 kB / 0.541 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.2734, allocations: 3.534 MB / 0.5444 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.2734, allocations: 16 kB / 0.5444 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2734, allocations: 3.984 kB / 0.5444 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.2735, allocations: 7.969 kB / 0.5444 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.2871, allocations: 5.049 MB / 0.5494 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.2871, allocations: 0 / 0.5494 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.2877, allocations: 171.7 kB / 0.5495 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01037/0.2981, allocations: 2.217 MB / 0.5517 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/0.2983, allocations: 28 kB / 0.5517 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02403/0.3224, allocations: 10.69 MB / 0.5622 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3224, allocations: 3.984 kB / 0.5622 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.3334, allocations: 3.469 MB / 0.5656 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.3337, allocations: 200 kB / 0.5657 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.3339, allocations: 28 kB / 0.5658 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.335, allocations: 79.27 kB / 0.5658 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000531/0.3355, allocations: 126.4 kB / 0.566 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.3357, allocations: 51.98 kB / 0.566 GB, free: 4.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005894/0.3363, allocations: 362.8 kB / 0.5664 GB, free: 3.668 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3363, allocations: 3.938 kB / 0.5664 GB, free: 3.664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0017/0.338, allocations: 0.5038 MB / 0.5669 GB, free: 3.16 MB / 430.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.0003557/0.3383, allocations: 167.6 kB / 0.567 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007304/0.3456, allocations: 2.717 MB / 0.5697 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.3456, allocations: 0 / 0.5697 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005006/0.3506, allocations: 1.742 MB / 0.5714 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.3515, allocations: 110.3 kB / 0.5715 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.3565, allocations: 2.18 MB / 0.5736 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/0.3573, allocations: 1.046 MB / 0.5746 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004905/0.3578, allocations: 139.2 kB / 0.5748 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.3581, allocations: 83.41 kB / 0.5748 GB, free: 10.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3581, allocations: 0 / 0.5748 GB, free: 10.9 MB / 446.1 MB Notification: Performance of Templates: time 0.3301/0.6882, allocations: 36.01 MB / 0.61 GB, free: 81.56 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.477220866829157] Failed to read output from testmodel.py, exit status != 0: 0.6958625949919224 0.7045611300000001 0.573921521 Calling exit ...