Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0007943/0.0007943, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001922, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007123/0.0007123, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009249/0.001637, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9263/0.9263, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09674/1.023, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001898/0.001898, allocations: 238.2 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.003381, allocations: 471.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7283/0.7283, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06256/0.7909, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 428.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.183e-06/8.286e-06, allocations: 2.312 kB / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.0035/0.003508, allocations: 4.286 MB / 432.3 MB, free: 180 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1665/0.17, allocations: 1.627 MB / 434 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1702, allocations: 42.12 kB / 434 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.1707, allocations: 209.4 kB / 434.2 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005366/0.1712, allocations: 472.2 kB / 434.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1717, allocations: 385.7 kB / 435.1 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008234/0.1726, allocations: 1.222 MB / 436.3 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005503/0.1731, allocations: 0.5231 MB / 436.8 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006423/0.1737, allocations: 0.6657 MB / 437.5 MB, free: 420 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.1743, allocations: 484.9 kB / 437.9 MB, free: 328 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.1744, allocations: 62.59 kB / 438 MB, free: 324 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.1746, allocations: 134.4 kB / 438.1 MB, free: 308 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1749, allocations: 284.5 kB / 438.4 MB, free: 232 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.1751, allocations: 228.3 kB / 438.6 MB, free: 200 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.1757, allocations: 0.6235 MB / 439.3 MB, free: 16 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.1757, allocations: 0.625 kB / 439.3 MB, free: 16 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1757, allocations: 1.25 kB / 439.3 MB, free: 16 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.1757, allocations: 1.25 kB / 439.3 MB, free: 16 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001181/0.1769, allocations: 1.091 MB / 440.3 MB, free: 15.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.1769, allocations: 11.45 kB / 440.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008652/0.1778, allocations: 349.1 kB / 440.7 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.1784, allocations: 0.5105 MB / 441.2 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.1784, allocations: 45.5 kB / 441.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.1785, allocations: 67.17 kB / 441.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.1791, allocations: 0.7793 MB / 442.1 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.1791, allocations: 14.14 kB / 442.1 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.1792, allocations: 29.22 kB / 442.1 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/0.1792, allocations: 67.84 kB / 442.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.1795, allocations: 254.2 kB / 442.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.1818, allocations: 3.879 MB / 446.3 MB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.1821, allocations: 256.9 kB / 446.6 MB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.1824, allocations: 222.6 kB / 446.8 MB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1824, allocations: 6.875 kB / 446.8 MB, free: 11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1824, allocations: 38.22 kB / 446.8 MB, free: 10.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 1.774e-06/0.1824, allocations: 0 / 446.8 MB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.001524/0.1839, allocations: 0.8768 MB / 447.7 MB, free: 10.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1839, allocations: 57.09 kB / 447.8 MB, free: 10.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1842, allocations: 418.4 kB / 448.2 MB, free: 10.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1842, allocations: 36.89 kB / 448.2 MB, free: 10.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1843, allocations: 361.9 kB / 448.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.1844, allocations: 158 kB / 448.7 MB, free: 10.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.1845, allocations: 104.1 kB / 448.8 MB, free: 10.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.1846, allocations: 368.3 kB / 449.2 MB, free: 9.699 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.1847, allocations: 64.81 kB / 449.3 MB, free: 9.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1848, allocations: 285.6 kB / 449.5 MB, free: 9.422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.1851, allocations: 437.2 kB / 450 MB, free: 9.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1851, allocations: 3.188 kB / 450 MB, free: 9.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000663/0.1858, allocations: 0.5639 MB / 450.5 MB, free: 8.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1858, allocations: 8.156 kB / 450.5 MB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1858, allocations: 7.906 kB / 450.5 MB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/0.1863, allocations: 250.7 kB / 450.8 MB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.1865, allocations: 100.8 kB / 450.9 MB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.1895, allocations: 5.42 MB / 456.3 MB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1897, allocations: 16 kB / 456.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1897, allocations: 25.69 kB / 456.4 MB, free: 3.145 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.1898, allocations: 148.7 kB / 456.5 MB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.1899, allocations: 54.53 kB / 456.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.1904, allocations: 475.6 kB / 457 MB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1904, allocations: 4 kB / 457 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1904, allocations: 4 kB / 457 MB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1904, allocations: 0.875 kB / 457 MB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.1914, allocations: 0.8819 MB / 457.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1914, allocations: 5.344 kB / 457.9 MB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.1914, allocations: 28 kB / 457.9 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.1915, allocations: 82.23 kB / 458 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.192, allocations: 240.6 kB / 458.3 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.192, allocations: 13.69 kB / 458.3 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.1948, allocations: 5.402 MB / 463.7 MB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1948, allocations: 4 kB / 463.7 MB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.1954, allocations: 0.5871 MB / 464.3 MB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.1954, allocations: 15.94 kB / 464.3 MB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1955, allocations: 8.562 kB / 464.3 MB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.1956, allocations: 44.8 kB / 464.3 MB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1956, allocations: 4 kB / 464.3 MB, free: 10.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1958, allocations: 172.7 kB / 464.5 MB, free: 10.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1958, allocations: 5.406 kB / 464.5 MB, free: 10.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00048/0.1962, allocations: 200 kB / 464.7 MB, free: 10.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.926e-05/0.1963, allocations: 90.66 kB / 464.8 MB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007312/0.1971, allocations: 0.8782 MB / 465.7 MB, free: 9.434 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/0.1971, allocations: 12.44 kB / 465.7 MB, free: 9.422 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006323/0.1977, allocations: 0.713 MB / 466.4 MB, free: 8.672 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.199, allocations: 1.666 MB / 468.1 MB, free: 6.703 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.2032, allocations: 1.215 MB / 469.3 MB, free: 5.465 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.2034, allocations: 202.3 kB / 469.5 MB, free: 5.246 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.2036, allocations: 70.55 kB / 469.5 MB, free: 5.191 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.2038, allocations: 165.3 kB / 469.7 MB, free: 5.031 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2038, allocations: 0 / 469.7 MB, free: 5.031 MB / 442.7 MB Notification: Performance of Templates: time 0.0159/0.2197, allocations: 11.38 MB / 481.1 MB, free: 10.18 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5404162043705583]