Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 112.3 kB / 19.69 MB, free: 2.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 204.7 kB / 22.97 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 251.7 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05536/0.05536, allocations: 8.24 MB / 315.2 MB, free: 0.5312 MB / 238.1 MB " [Timeout remaining time 180] 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.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.89 kB / 439.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 54.34 MB / 493.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.008503/0.1108, allocations: 6.703 MB / 0.4888 GB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.1156, allocations: 2.544 MB / 0.4913 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009558/0.1165, allocations: 20 kB / 0.4913 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008751/0.1174, allocations: 349.6 kB / 0.4916 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.1194, allocations: 0.7728 MB / 0.4924 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.1225, allocations: 1.6 MB / 0.494 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.1247, allocations: 1.713 MB / 0.4956 GB, free: 8.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.1253, allocations: 383.4 kB / 0.496 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/0.1261, allocations: 0.6891 MB / 0.4967 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.1271, allocations: 0.8328 MB / 0.4975 GB, free: 6.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.1273, allocations: 176 kB / 0.4977 GB, free: 6.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007929/0.1281, allocations: 447.7 kB / 0.4981 GB, free: 5.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.1284, allocations: 378.7 kB / 0.4984 GB, free: 5.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007415/0.1292, allocations: 0.7855 MB / 0.4992 GB, free: 4.656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.1315, allocations: 2.091 MB / 0.5012 GB, free: 2.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.1315, allocations: 7.938 kB / 0.5013 GB, free: 2.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1315, allocations: 4 kB / 0.5013 GB, free: 2.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.909e-05/0.1315, allocations: 0 / 0.5013 GB, free: 2.547 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.2628/0.3943, allocations: 3.712 MB / 0.5049 GB, free: 21.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.3944, allocations: 12.86 kB / 0.5049 GB, free: 21.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.3948, allocations: 166.4 kB / 0.5051 GB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.3963, allocations: 0.8414 MB / 0.5059 GB, free: 20.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.3965, allocations: 319.5 kB / 0.5062 GB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.3967, allocations: 118 kB / 0.5063 GB, free: 20.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/0.3999, allocations: 1.808 MB / 0.5081 GB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.4, allocations: 3.938 kB / 0.5081 GB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.4001, allocations: 50.38 kB / 0.5081 GB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.4002, allocations: 25.09 kB / 0.5081 GB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.4028, allocations: 1.706 MB / 0.5098 GB, free: 18.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.413, allocations: 6.943 MB / 0.5166 GB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.4165, allocations: 3.685 MB / 0.5202 GB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.418, allocations: 1.033 MB / 0.5212 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.4182, allocations: 38.5 kB / 0.5212 GB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002438/0.4206, allocations: 1.326 MB / 0.5225 GB, free: 9.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=167): time 4.709e-06/0.4206, allocations: 1.375 kB / 0.5225 GB, free: 9.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.03483/0.4554, allocations: 8.898 MB / 0.5312 GB, free: 5.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4555, allocations: 120.5 kB / 0.5313 GB, free: 5.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.4568, allocations: 0.7209 MB / 0.532 GB, free: 4.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003765/0.4572, allocations: 71.86 kB / 0.5321 GB, free: 4.863 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.4576, allocations: 430.1 kB / 0.5325 GB, free: 4.496 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/0.4582, allocations: 0.5706 MB / 0.5331 GB, free: 4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008083/0.459, allocations: 336.1 kB / 0.5334 GB, free: 3.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.4591, allocations: 352.3 kB / 0.5337 GB, free: 3.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.4608, allocations: 1.108 MB / 0.5348 GB, free: 2.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.4624, allocations: 1.273 MB / 0.536 GB, free: 2.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.4655, allocations: 2.411 MB / 0.5384 GB, free: 208 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.4655, allocations: 2.625 kB / 0.5384 GB, free: 208 kB / 366.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00752/0.473, allocations: 3.624 MB / 0.5419 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.473, allocations: 8 kB / 0.542 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4731, allocations: 0 / 0.542 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01722/0.4903, allocations: 5.329 MB / 0.5472 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4916, allocations: 251.6 kB / 0.5474 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008838/0.5005, allocations: 3.442 MB / 0.5508 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.5028, allocations: 178.8 kB / 0.5509 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004086/0.5032, allocations: 65.48 kB / 0.551 GB, free: 3.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (feeder1.load4.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load1.degradedMode,feeder2.load4.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load1.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {(40,44)} Notification: Performance of prepare postOptimizeDAE: time 0.001398/0.5046, allocations: 345.1 kB / 0.5513 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007207/0.5053, allocations: 135.1 kB / 0.5514 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006892/0.5122, allocations: 3.254 MB / 0.5546 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.5122, allocations: 20 kB / 0.5546 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5122, allocations: 0 / 0.5546 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.5122, allocations: 7.969 kB / 0.5547 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.5226, allocations: 5.623 MB / 0.5601 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.5226, allocations: 0 / 0.5601 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007359/0.5233, allocations: 143.8 kB / 0.5603 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01407/0.5374, allocations: 3.792 MB / 0.564 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004623/0.5378, allocations: 36 kB / 0.564 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008123/0.546, allocations: 3.517 MB / 0.5675 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.546, allocations: 0 / 0.5675 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/0.552, allocations: 3.15 MB / 0.5705 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/0.5526, allocations: 219.9 kB / 0.5707 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.553, allocations: 43.5 kB / 0.5708 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.5545, allocations: 111.8 kB / 0.5709 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.5549, allocations: 121.8 kB / 0.571 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/0.5551, allocations: 59.98 kB / 0.5711 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009743/0.556, allocations: 495 kB / 0.5715 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5561, allocations: 0 / 0.5715 GB, free: 14.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00163/0.5577, allocations: 455.7 kB / 0.572 GB, free: 13.69 MB / 414.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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder2.load4.degradedMode,feeder1.load4.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * 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 {(42,50)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004896/0.5582, allocations: 179.4 kB / 0.5721 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008484/0.5667, allocations: 2.99 MB / 0.5751 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.5667, allocations: 1.688 kB / 0.5751 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006011/0.5727, allocations: 1.727 MB / 0.5767 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.5742, allocations: 177.3 kB / 0.5769 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.5806, allocations: 2.637 MB / 0.5795 GB, free: 6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.5817, allocations: 1.089 MB / 0.5806 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007832/0.5825, allocations: 153 kB / 0.5807 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.5828, allocations: 95.36 kB / 0.5808 GB, free: 4.633 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5828, allocations: 0 / 0.5808 GB, free: 4.633 MB / 414.1 MB Notification: Performance of Templates: time 0.06032/0.6431, allocations: 32.33 MB / 0.6124 GB, free: 4.461 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.296556261833757] Failed to read output from testmodel.py, exit status != 0: 0.6525409780442715 0.669423964 0.534641373 Calling exit ...