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.001217/0.001217, allocations: 107.1 kB / 17.8 MB, free: 5.371 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.0012/0.001201, allocations: 183.8 kB / 20.73 MB, free: 2.441 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.305/1.305, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] 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.1451/0.1451, allocations: 8.084 MB / 306.7 MB, free: 2.648 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.001869/0.001869, allocations: 63.89 kB / 423.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2003, allocations: 51.52 MB / 475.4 MB, free: 22.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005227/0.2056, allocations: 6.664 MB / 482.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.2091, allocations: 2.535 MB / 484.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009037/0.21, allocations: 21.12 kB / 484.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.2108, allocations: 343.6 kB / 484.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.2124, allocations: 0.7778 MB / 485.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.2147, allocations: 1.588 MB / 487.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.2162, allocations: 1.703 MB / 489 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.2169, allocations: 0.581 MB / 489.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006879/0.2175, allocations: 0.6805 MB / 490.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007313/0.2183, allocations: 0.8338 MB / 491.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.2185, allocations: 177.3 kB / 491.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007257/0.2192, allocations: 444.6 kB / 491.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.2194, allocations: 369 kB / 492.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005006/0.2199, allocations: 0.7861 MB / 492.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.2216, allocations: 2.105 MB / 495 MB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2216, allocations: 0 / 495 MB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2216, allocations: 0 / 495 MB, free: 7.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.2216, allocations: 1.406 kB / 495 MB, free: 7.695 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.01346/0.2351, allocations: 3.72 MB / 498.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2351, allocations: 15.89 kB / 498.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.2355, allocations: 164 kB / 498.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009547/0.2365, allocations: 0.8437 MB / 499.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.2366, allocations: 316.7 kB / 0.4883 GB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2367, allocations: 116.4 kB / 0.4884 GB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.2389, allocations: 1.804 MB / 0.4902 GB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.239, allocations: 3.938 kB / 0.4902 GB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.2391, allocations: 51.98 kB / 0.4902 GB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.2391, allocations: 24 kB / 0.4903 GB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.2412, allocations: 1.703 MB / 0.4919 GB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009463/0.2507, allocations: 6.955 MB / 0.4987 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/0.2547, allocations: 3.863 MB / 0.5025 GB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.2564, allocations: 1.187 MB / 0.5036 GB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.2566, allocations: 37.2 kB / 0.5037 GB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002116/0.2587, allocations: 1.326 MB / 0.505 GB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=167): time 3.176e-06/0.2587, allocations: 0 / 0.505 GB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.03357/0.2923, allocations: 8.985 MB / 0.5137 GB, free: 8.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.2924, allocations: 128.8 kB / 0.5139 GB, free: 8.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2935, allocations: 0.7231 MB / 0.5146 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.2937, allocations: 73.69 kB / 0.5146 GB, free: 7.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.2941, allocations: 422.6 kB / 0.515 GB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/0.2947, allocations: 0.5694 MB / 0.5156 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006485/0.2953, allocations: 335.5 kB / 0.5159 GB, free: 6.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2955, allocations: 349.9 kB / 0.5163 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.2975, allocations: 1.113 MB / 0.5173 GB, free: 4.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.2995, allocations: 1.269 MB / 0.5186 GB, free: 3.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.3034, allocations: 2.404 MB / 0.5209 GB, free: 1.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.3034, allocations: 0 / 0.5209 GB, free: 1.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007403/0.3109, allocations: 3.726 MB / 0.5246 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3109, allocations: 11.94 kB / 0.5246 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.3109, allocations: 0 / 0.5246 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/0.326, allocations: 5.321 MB / 0.5298 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.327, allocations: 255.6 kB / 0.53 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007263/0.3343, allocations: 3.44 MB / 0.5334 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.3359, allocations: 178.7 kB / 0.5335 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.3361, allocations: 67.97 kB / 0.5336 GB, free: 4.07 MB / 398.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.0006722/0.3367, allocations: 340.2 kB / 0.5339 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.3371, allocations: 139.1 kB / 0.5341 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/0.3429, allocations: 3.361 MB / 0.5374 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.3429, allocations: 16 kB / 0.5374 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3429, allocations: 0 / 0.5374 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.343, allocations: 11.97 kB / 0.5374 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008361/0.3513, allocations: 5.702 MB / 0.5429 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3513, allocations: 3.938 kB / 0.543 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.3519, allocations: 151.8 kB / 0.5431 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01321/0.3651, allocations: 3.788 MB / 0.5468 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.3653, allocations: 39.92 kB / 0.5468 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007343/0.3726, allocations: 3.502 MB / 0.5503 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.3727, allocations: 3.984 kB / 0.5503 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.3781, allocations: 3.244 MB / 0.5534 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.3784, allocations: 219.9 kB / 0.5536 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.3787, allocations: 35.94 kB / 0.5537 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.38, allocations: 126.2 kB / 0.5538 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.3803, allocations: 117.8 kB / 0.5539 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.3804, allocations: 67.98 kB / 0.554 GB, free: 15.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007331/0.3812, allocations: 491 kB / 0.5544 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3812, allocations: 0 / 0.5544 GB, free: 14.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001075/0.3823, allocations: 451.7 kB / 0.5549 GB, free: 14.14 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: 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.0003579/0.3826, allocations: 196.5 kB / 0.5551 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007709/0.3903, allocations: 3.183 MB / 0.5582 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3904, allocations: 5.688 kB / 0.5582 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005454/0.3958, allocations: 1.859 MB / 0.56 GB, free: 8.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.3968, allocations: 174.8 kB / 0.5601 GB, free: 8.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.4016, allocations: 2.655 MB / 0.5627 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/0.4024, allocations: 1.085 MB / 0.5638 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.4027, allocations: 107.4 kB / 0.5639 GB, free: 4.824 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4028, allocations: 0 / 0.5639 GB, free: 4.824 MB / 430.1 MB Notification: Performance of Templates: time 0.2036/0.6064, allocations: 24.62 MB / 0.5879 GB, free: 107.7 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.757035640068352] Failed to read output from testmodel.py, exit status != 0: 0.6130465038586408 0.6227995820000001 0.39907955900000003 Calling exit ...