Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.001382/0.001382, allocations: 111.4 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.001474/0.001474, allocations: 201.3 kB / 22.97 MB, free: 5.012 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.512/1.512, allocations: 225.6 MB / 251.7 MB, free: 13.27 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.08834/0.08834, allocations: 8.245 MB / 315.2 MB, free: 0.5 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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 68.02 kB / 439.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1515, allocations: 54.36 MB / 493.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.004087/0.1555, allocations: 2.269 MB / 496.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.1588, allocations: 1.683 MB / 497.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004145/0.1593, allocations: 4 kB / 497.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.1599, allocations: 151.1 kB / 497.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.1611, allocations: 194.8 kB / 498.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1633, allocations: 0.9821 MB / 499.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008503/0.1641, allocations: 417.9 kB / 499.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.1644, allocations: 95.27 kB / 499.6 MB, free: 236 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.1647, allocations: 167.3 kB / 499.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.1653, allocations: 227.2 kB / 500 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.1654, allocations: 32 kB / 0.4883 GB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006326/0.166, allocations: 223.6 kB / 0.4885 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1662, allocations: 83.67 kB / 0.4886 GB, free: 15.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.1665, allocations: 203 kB / 0.4888 GB, free: 15.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1675, allocations: 0.537 MB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1676, allocations: 0 / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.1676, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.1676, allocations: 0 / 0.4893 GB, free: 14.77 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004345/0.1719, allocations: 1.165 MB / 0.4905 GB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.172, allocations: 15.84 kB / 0.4905 GB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1721, allocations: 44.7 kB / 0.4905 GB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.1727, allocations: 323.6 kB / 0.4908 GB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.1727, allocations: 24.94 kB / 0.4908 GB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.1727, allocations: 32.38 kB / 0.4909 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.1735, allocations: 417.3 kB / 0.4913 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1735, allocations: 4.188 kB / 0.4913 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.1736, allocations: 11.94 kB / 0.4913 GB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1736, allocations: 11.98 kB / 0.4913 GB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.1743, allocations: 414.1 kB / 0.4917 GB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.1769, allocations: 1.542 MB / 0.4932 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.1782, allocations: 0.5031 MB / 0.4937 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.1786, allocations: 245.5 kB / 0.4939 GB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.1786, allocations: 20.36 kB / 0.4939 GB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1787, allocations: 38.94 kB / 0.494 GB, free: 9.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.813e-06/0.1787, allocations: 0 / 0.494 GB, free: 9.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.005032/0.1837, allocations: 1.623 MB / 0.4956 GB, free: 8.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1838, allocations: 63.39 kB / 0.4956 GB, free: 7.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.1841, allocations: 282.6 kB / 0.4959 GB, free: 7.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.1843, allocations: 37.7 kB / 0.4959 GB, free: 7.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1844, allocations: 165 kB / 0.4961 GB, free: 7.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1845, allocations: 158.6 kB / 0.4962 GB, free: 7.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.1847, allocations: 94.23 kB / 0.4963 GB, free: 7.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1849, allocations: 342.8 kB / 0.4967 GB, free: 6.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.1854, allocations: 269 kB / 0.4969 GB, free: 6.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.1858, allocations: 269 kB / 0.4972 GB, free: 6.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.1868, allocations: 0.5859 MB / 0.4977 GB, free: 5.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1868, allocations: 0 / 0.4977 GB, free: 5.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002562/0.1893, allocations: 1.004 MB / 0.4987 GB, free: 4.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.1893, allocations: 12 kB / 0.4987 GB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1894, allocations: 0 / 0.4987 GB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.1915, allocations: 430.1 kB / 0.4991 GB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.1919, allocations: 71.91 kB / 0.4992 GB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00864/0.2005, allocations: 6.095 MB / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.2009, allocations: 43.66 kB / 0.5052 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.201, allocations: 19.94 kB / 0.5052 GB, free: 13.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002598/0.2012, allocations: 158.6 kB / 0.5054 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2014, allocations: 43.77 kB / 0.5054 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.2039, allocations: 0.982 MB / 0.5064 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.204, allocations: 4 kB / 0.5064 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.204, allocations: 0 / 0.5064 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.204, allocations: 4 kB / 0.5064 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.2047, allocations: 0.5638 MB / 0.5069 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2047, allocations: 0 / 0.5069 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.2049, allocations: 59.91 kB / 0.507 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.2068, allocations: 426.1 kB / 0.5074 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.2068, allocations: 8 kB / 0.5074 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007661/0.2145, allocations: 6.046 MB / 0.5133 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2145, allocations: 7.969 kB / 0.5133 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.217, allocations: 1.002 MB / 0.5143 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2171, allocations: 116.8 kB / 0.5144 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.2172, allocations: 19.92 kB / 0.5144 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.2176, allocations: 27.92 kB / 0.5145 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2177, allocations: 36.38 kB / 0.5145 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.2178, allocations: 19.94 kB / 0.5145 GB, free: 3.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.218, allocations: 205.9 kB / 0.5147 GB, free: 3.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.218, allocations: 4 kB / 0.5147 GB, free: 3.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007127/0.2188, allocations: 167.9 kB / 0.5149 GB, free: 3.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002632/0.219, allocations: 127.2 kB / 0.515 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.2213, allocations: 1.029 MB / 0.516 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2213, allocations: 0 / 0.516 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.223, allocations: 0.7404 MB / 0.5167 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.2235, allocations: 44.88 kB / 0.5168 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.2252, allocations: 0.761 MB / 0.5175 GB, free: 440 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2369/0.462, allocations: 0.8063 MB / 0.5183 GB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.4623, allocations: 44.94 kB / 0.5183 GB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/0.4624, allocations: 33.42 kB / 0.5184 GB, free: 35.51 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4624, allocations: 4 kB / 0.5184 GB, free: 35.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01939/0.4818, allocations: 11.32 MB / 0.5294 GB, free: 33.55 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.361555706243962] Failed to read output from testmodel.py, exit status != 0: 0.4915649341419339 0.5005165069999999 0.33073708399999996 Calling exit ...