Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.001631/0.001631, allocations: 108.3 kB / 19.74 MB, free: 1.906 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.002041/0.002041, allocations: 221.2 kB / 23.04 MB, free: 4.984 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.06375/0.06375, allocations: 6.142 MB / 319.4 MB, free: 12.74 MB / 254.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 51.91 kB / 444.9 MB, free: 4.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1368, allocations: 55.02 MB / 499.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004226/0.141, allocations: 2.233 MB / 0.4904 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.1457, allocations: 2.736 MB / 0.4931 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.1459, allocations: 4 kB / 0.4931 GB, free: 8.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.1466, allocations: 171 kB / 0.4932 GB, free: 8.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.1476, allocations: 326.3 kB / 0.4936 GB, free: 7.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.1501, allocations: 1.179 MB / 0.4947 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.1507, allocations: 418.2 kB / 0.4951 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.151, allocations: 76.86 kB / 0.4952 GB, free: 6.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1512, allocations: 179.3 kB / 0.4954 GB, free: 6.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.1515, allocations: 183.1 kB / 0.4955 GB, free: 5.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.1515, allocations: 39.94 kB / 0.4956 GB, free: 5.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007943/0.1523, allocations: 371.7 kB / 0.4959 GB, free: 5.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1524, allocations: 87.62 kB / 0.496 GB, free: 5.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.1526, allocations: 151.2 kB / 0.4961 GB, free: 5.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1536, allocations: 0.689 MB / 0.4968 GB, free: 4.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1536, allocations: 3.938 kB / 0.4968 GB, free: 4.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1536, allocations: 0 / 0.4968 GB, free: 4.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1537, allocations: 0 / 0.4968 GB, free: 4.633 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004413/0.1581, allocations: 1.179 MB / 0.498 GB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1581, allocations: 8.031 kB / 0.498 GB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1583, allocations: 60.64 kB / 0.498 GB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.1588, allocations: 265.4 kB / 0.4983 GB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.1588, allocations: 50.92 kB / 0.4983 GB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.1589, allocations: 36.12 kB / 0.4984 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.1598, allocations: 0.6189 MB / 0.499 GB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1598, allocations: 0 / 0.499 GB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.1598, allocations: 12 kB / 0.499 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1599, allocations: 8 kB / 0.499 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.1605, allocations: 390.5 kB / 0.4994 GB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.1628, allocations: 1.026 MB / 0.5004 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1638, allocations: 466.9 kB / 0.5008 GB, free: 384 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.1642, allocations: 220.8 kB / 0.501 GB, free: 160 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.1642, allocations: 15.86 kB / 0.501 GB, free: 144 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.165, allocations: 455.7 kB / 0.5015 GB, free: 15.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.165, allocations: 0 / 0.5015 GB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.004335/0.1693, allocations: 1.268 MB / 0.5027 GB, free: 14.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.1694, allocations: 110.8 kB / 0.5028 GB, free: 14.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.1698, allocations: 300.1 kB / 0.5031 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.1699, allocations: 37.7 kB / 0.5031 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.17, allocations: 169 kB / 0.5033 GB, free: 13.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.1702, allocations: 150.7 kB / 0.5034 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.1704, allocations: 94.17 kB / 0.5035 GB, free: 13.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1705, allocations: 342.8 kB / 0.5039 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.171, allocations: 268.8 kB / 0.5041 GB, free: 12.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.1715, allocations: 359.4 kB / 0.5045 GB, free: 12.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009325/0.1724, allocations: 0.5691 MB / 0.505 GB, free: 11.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1724, allocations: 4.031 kB / 0.505 GB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0022/0.1746, allocations: 0.8963 MB / 0.5059 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1746, allocations: 11.94 kB / 0.5059 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1747, allocations: 4 kB / 0.5059 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.1774, allocations: 0.6044 MB / 0.5065 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.1777, allocations: 79.83 kB / 0.5066 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.1796, allocations: 1.069 MB / 0.5076 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.1801, allocations: 47.67 kB / 0.5077 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.1801, allocations: 19.98 kB / 0.5077 GB, free: 9.16 MB / 382.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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002827/0.1804, allocations: 157.8 kB / 0.5078 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.1805, allocations: 43.64 kB / 0.5079 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.182, allocations: 0.7623 MB / 0.5086 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.182, allocations: 4 kB / 0.5086 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.1821, allocations: 4 kB / 0.5086 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1821, allocations: 3.984 kB / 0.5086 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.1826, allocations: 393.6 kB / 0.509 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1826, allocations: 11.94 kB / 0.509 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.1828, allocations: 51.92 kB / 0.5091 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.1854, allocations: 0.5848 MB / 0.5096 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.1854, allocations: 12 kB / 0.5097 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.1872, allocations: 1.08 MB / 0.5107 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1872, allocations: 0 / 0.5107 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1886, allocations: 0.7289 MB / 0.5114 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.1886, allocations: 35.7 kB / 0.5115 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.1887, allocations: 11.94 kB / 0.5115 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.189, allocations: 31.95 kB / 0.5115 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.1891, allocations: 36.31 kB / 0.5115 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.1892, allocations: 12 kB / 0.5115 GB, free: 5.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002737/0.1894, allocations: 219 kB / 0.5118 GB, free: 4.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1894, allocations: 0 / 0.5118 GB, free: 4.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000508/0.1899, allocations: 147.8 kB / 0.5119 GB, free: 4.75 MB / 382.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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/0.1917, allocations: 0.4989 MB / 0.5124 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.1936, allocations: 0.6691 MB / 0.513 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1936, allocations: 4 kB / 0.513 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.1948, allocations: 370.3 kB / 0.5134 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1952, allocations: 48.91 kB / 0.5134 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1967, allocations: 0.7607 MB / 0.5142 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.1969, allocations: 186.8 kB / 0.5144 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.197, allocations: 58.91 kB / 0.5144 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.1972, allocations: 39.42 kB / 0.5145 GB, free: 2.262 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1972, allocations: 0 / 0.5145 GB, free: 2.262 MB / 382.1 MB Notification: Performance of Templates: time 0.2414/0.4386, allocations: 8.121 MB / 0.5224 GB, free: 30.68 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.606264907866716] Failed to read output from testmodel.py, exit status != 0: 0.44885973632335663 0.46068145400000005 0.30415014700000004 Calling exit ...