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.001273/0.001273, allocations: 118.7 kB / 17.85 MB, free: 5.074 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.001311/0.001311, allocations: 191.8 kB / 20.79 MB, free: 2.141 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.417/1.417, allocations: 225.6 MB / 249.2 MB, free: 3.637 MB / 190.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.04791/0.04791, allocations: 8.227 MB / 312.3 MB, free: 2.094 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.001969/0.001969, allocations: 63.91 kB / 435.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2389, allocations: 54.36 MB / 489.5 MB, free: 27.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005817/0.2448, allocations: 6.69 MB / 496.2 MB, free: 22.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.2486, allocations: 2.543 MB / 498.7 MB, free: 20.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.2493, allocations: 20.19 kB / 498.7 MB, free: 20.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006935/0.25, allocations: 352.1 kB / 499.1 MB, free: 19.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.2515, allocations: 0.7704 MB / 499.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.2541, allocations: 1.594 MB / 0.4897 GB, free: 18.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.2563, allocations: 1.715 MB / 0.4914 GB, free: 17.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005615/0.2568, allocations: 388.9 kB / 0.4917 GB, free: 16.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.2577, allocations: 0.6818 MB / 0.4924 GB, free: 16.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009365/0.2587, allocations: 0.8336 MB / 0.4932 GB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.2589, allocations: 176.7 kB / 0.4934 GB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000872/0.2598, allocations: 441.3 kB / 0.4938 GB, free: 15.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.26, allocations: 377.7 kB / 0.4942 GB, free: 15.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006011/0.2606, allocations: 0.7823 MB / 0.4949 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.2625, allocations: 2.097 MB / 0.497 GB, free: 13.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2625, allocations: 0 / 0.497 GB, free: 13.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2625, allocations: 0 / 0.497 GB, free: 13.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.2625, allocations: 0 / 0.497 GB, free: 13.25 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.0152/0.2777, allocations: 3.73 MB / 0.5006 GB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2778, allocations: 17.47 kB / 0.5006 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.2782, allocations: 164 kB / 0.5008 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.2793, allocations: 0.8398 MB / 0.5016 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.2794, allocations: 316.4 kB / 0.5019 GB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.2796, allocations: 114.6 kB / 0.502 GB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.2823, allocations: 1.801 MB / 0.5038 GB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2823, allocations: 8.969 kB / 0.5038 GB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.2824, allocations: 52.66 kB / 0.5039 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.2825, allocations: 24.47 kB / 0.5039 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.285, allocations: 1.708 MB / 0.5055 GB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007876/0.2929, allocations: 6.942 MB / 0.5123 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.297, allocations: 3.699 MB / 0.5159 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.2988, allocations: 1.038 MB / 0.5169 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.299, allocations: 41.2 kB / 0.517 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002407/0.3014, allocations: 1.322 MB / 0.5183 GB, free: 10.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=167): time 3.396e-06/0.3014, allocations: 0 / 0.5183 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.03652/0.3379, allocations: 8.887 MB / 0.527 GB, free: 1.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.338, allocations: 120.8 kB / 0.5271 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3393, allocations: 0.7309 MB / 0.5278 GB, free: 336 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.3396, allocations: 73.7 kB / 0.5279 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.34, allocations: 430.7 kB / 0.5283 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006214/0.3406, allocations: 0.5615 MB / 0.5288 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007311/0.3413, allocations: 339.5 kB / 0.5291 GB, free: 14.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3415, allocations: 345.9 kB / 0.5295 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.3435, allocations: 1.109 MB / 0.5306 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.3456, allocations: 1.277 MB / 0.5318 GB, free: 12.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/0.3497, allocations: 2.4 MB / 0.5341 GB, free: 9.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.3497, allocations: 4 kB / 0.5341 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007755/0.3575, allocations: 3.632 MB / 0.5377 GB, free: 6.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3575, allocations: 12 kB / 0.5377 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3575, allocations: 0 / 0.5377 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/0.3738, allocations: 5.329 MB / 0.5429 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.375, allocations: 247.6 kB / 0.5431 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008475/0.3834, allocations: 3.433 MB / 0.5465 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.3852, allocations: 190.7 kB / 0.5467 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.3854, allocations: 63.98 kB / 0.5467 GB, free: 12.81 MB / 414.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.0007306/0.3861, allocations: 349 kB / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.3865, allocations: 139.1 kB / 0.5472 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006124/0.3926, allocations: 3.256 MB / 0.5504 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.3926, allocations: 20 kB / 0.5504 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3926, allocations: 0 / 0.5504 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.3926, allocations: 11.95 kB / 0.5504 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009086/0.4017, allocations: 5.612 MB / 0.5559 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4017, allocations: 0 / 0.5559 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.4023, allocations: 151.8 kB / 0.556 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01455/0.4168, allocations: 3.792 MB / 0.5597 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003702/0.4172, allocations: 36 kB / 0.5598 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009764/0.427, allocations: 3.51 MB / 0.5632 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.427, allocations: 0 / 0.5632 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008464/0.4354, allocations: 3.138 MB / 0.5663 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/0.4361, allocations: 227.9 kB / 0.5665 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.4365, allocations: 32 kB / 0.5665 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/0.4385, allocations: 117.7 kB / 0.5666 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004643/0.439, allocations: 121.8 kB / 0.5667 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/0.4392, allocations: 59.98 kB / 0.5668 GB, free: 8.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.4404, allocations: 491 kB / 0.5673 GB, free: 7.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4404, allocations: 3.938 kB / 0.5673 GB, free: 7.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001873/0.4423, allocations: 455.7 kB / 0.5677 GB, free: 7.18 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.0005548/0.4429, allocations: 192.7 kB / 0.5679 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01071/0.4536, allocations: 2.976 MB / 0.5708 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.4536, allocations: 5.875 kB / 0.5708 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006127/0.4597, allocations: 1.726 MB / 0.5725 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.4609, allocations: 174.8 kB / 0.5727 GB, free: 2.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.4661, allocations: 2.661 MB / 0.5753 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.4669, allocations: 1.089 MB / 0.5763 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.4672, allocations: 103.4 kB / 0.5764 GB, free: 14.21 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4672, allocations: 0 / 0.5764 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Templates: time 0.03441/0.5016, allocations: 24.75 MB / 0.6006 GB, free: 5.492 MB / 462.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: 8.585861248895526] Failed to read output from testmodel.py, exit status != 0: 0.5100394119508564 0.680284299 0.415491963 Calling exit ...