Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001604/0.001604, allocations: 113.6 kB / 19.74 MB, free: 2.152 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.001827/0.001827, allocations: 194.3 kB / 23.03 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.483/1.483, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06062/0.06062, allocations: 8.246 MB / 315.3 MB, free: 368 kB / 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/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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 439.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1437, allocations: 54.39 MB / 494.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.003484/0.1471, allocations: 1.267 MB / 495.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.15, allocations: 1.512 MB / 496.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.1501, allocations: 0 / 496.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.1505, allocations: 119.3 kB / 497 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.1508, allocations: 99.39 kB / 497.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.1529, allocations: 1.013 MB / 498.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.1533, allocations: 163.2 kB / 498.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1534, allocations: 45.7 kB / 498.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.1535, allocations: 67.72 kB / 498.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1537, allocations: 83.69 kB / 498.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.1538, allocations: 12 kB / 498.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.1542, allocations: 227.7 kB / 498.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.1543, allocations: 35.84 kB / 498.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.92e-05/0.1544, allocations: 83.53 kB / 498.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.1549, allocations: 327 kB / 499.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1549, allocations: 0 / 499.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1549, allocations: 4 kB / 499.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1549, allocations: 0 / 499.2 MB, free: 0.6172 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002406/0.1573, allocations: 0.6611 MB / 499.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1574, allocations: 15.89 kB / 499.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.1575, allocations: 20.84 kB / 499.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1579, allocations: 170.2 kB / 0.4883 GB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1579, allocations: 8.609 kB / 0.4883 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1579, allocations: 12.38 kB / 0.4883 GB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.1583, allocations: 205.9 kB / 0.4885 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1583, allocations: 192 / 0.4885 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1583, allocations: 11.94 kB / 0.4885 GB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1583, allocations: 8 kB / 0.4885 GB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.1587, allocations: 168.6 kB / 0.4887 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.1602, allocations: 0.6941 MB / 0.4894 GB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.1607, allocations: 190.5 kB / 0.4896 GB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1609, allocations: 80.84 kB / 0.4896 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.1609, allocations: 7.984 kB / 0.4896 GB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.161, allocations: 42.55 kB / 0.4897 GB, free: 14.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.161, allocations: 0 / 0.4897 GB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002242/0.1632, allocations: 0.5061 MB / 0.4902 GB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.1633, allocations: 89.03 kB / 0.4903 GB, free: 13.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1636, allocations: 174.5 kB / 0.4904 GB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.1637, allocations: 29.7 kB / 0.4905 GB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.1638, allocations: 116.4 kB / 0.4906 GB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.1638, allocations: 59.52 kB / 0.4906 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.1639, allocations: 45.7 kB / 0.4907 GB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1641, allocations: 326.8 kB / 0.491 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1643, allocations: 108 kB / 0.4911 GB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.1645, allocations: 125.6 kB / 0.4912 GB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.1651, allocations: 233.3 kB / 0.4914 GB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1651, allocations: 0 / 0.4914 GB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00119/0.1662, allocations: 422 kB / 0.4918 GB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1663, allocations: 8 kB / 0.4918 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1663, allocations: 4 kB / 0.4918 GB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.1674, allocations: 204.6 kB / 0.492 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.1676, allocations: 39.97 kB / 0.4921 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.1707, allocations: 1.861 MB / 0.4939 GB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1709, allocations: 27.88 kB / 0.4939 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1709, allocations: 4 kB / 0.4939 GB, free: 9.629 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.1711, allocations: 133.7 kB / 0.494 GB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.1711, allocations: 11.95 kB / 0.4941 GB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.1724, allocations: 392.1 kB / 0.4944 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1724, allocations: 4 kB / 0.4944 GB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1724, allocations: 3.938 kB / 0.4944 GB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1724, allocations: 3.984 kB / 0.4944 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.1728, allocations: 268.5 kB / 0.4947 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1728, allocations: 4 kB / 0.4947 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1729, allocations: 27.98 kB / 0.4947 GB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.174, allocations: 200.6 kB / 0.4949 GB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.174, allocations: 4 kB / 0.4949 GB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.1767, allocations: 1.861 MB / 0.4967 GB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1768, allocations: 0 / 0.4967 GB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1779, allocations: 450.9 kB / 0.4972 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.178, allocations: 11.91 kB / 0.4972 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.178, allocations: 11.94 kB / 0.4972 GB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.1782, allocations: 19.92 kB / 0.4972 GB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.1783, allocations: 15.97 kB / 0.4972 GB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1783, allocations: 8 kB / 0.4972 GB, free: 6.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.1785, allocations: 136.2 kB / 0.4974 GB, free: 5.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1785, allocations: 0 / 0.4974 GB, free: 5.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.1789, allocations: 71.89 kB / 0.4974 GB, free: 5.832 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002705/0.1792, allocations: 115.2 kB / 0.4975 GB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.1804, allocations: 394.4 kB / 0.4979 GB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.1804, allocations: 0 / 0.4979 GB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.1811, allocations: 274.5 kB / 0.4982 GB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1814, allocations: 23.92 kB / 0.4982 GB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.1824, allocations: 383.7 kB / 0.4986 GB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1828, allocations: 0.7203 MB / 0.4993 GB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.413e-05/0.1829, allocations: 21.48 kB / 0.4993 GB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.183, allocations: 31.42 kB / 0.4993 GB, free: 3.809 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.183, allocations: 3.938 kB / 0.4993 GB, free: 3.805 MB / 366.1 MB Notification: Performance of Templates: time 0.009718/0.1927, allocations: 4.375 MB / 0.5036 GB, free: 15.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.139212382026017] Failed to read output from testmodel.py, exit status != 0: 0.20099002681672573 0.21633854600000002 0.058184480000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc4d8bd57b0>