Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0008562/0.0008562, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001196/0.001196, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9626/0.9626, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001681/0.001681, allocations: 245 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7316/0.7316, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 3.938 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.25e-05, allocations: 4 kB / 462.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01362/0.01364, allocations: 17.8 MB / 480.1 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009984/0.02362, allocations: 5.718 MB / 485.9 MB, free: 11.05 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.02624, allocations: 210.4 kB / 486.1 MB, free: 10.85 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.02793, allocations: 0.8145 MB / 486.9 MB, free: 10.03 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.03102, allocations: 1.789 MB / 488.7 MB, free: 8.242 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.03386, allocations: 1.745 MB / 490.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007642/0.0415, allocations: 8.463 MB / 498.9 MB, free: 14.02 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007385/0.04888, allocations: 6.388 MB / 0.4934 GB, free: 7.492 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008148/0.05703, allocations: 5.368 MB / 0.4987 GB, free: 2.117 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005568/0.0626, allocations: 4.117 MB / 0.5027 GB, free: 14.02 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001751/0.06435, allocations: 0.7773 MB / 0.5035 GB, free: 13.24 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.06602, allocations: 0.8721 MB / 0.5043 GB, free: 12.37 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002684/0.0687, allocations: 3.313 MB / 0.5075 GB, free: 9.047 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004112/0.07282, allocations: 2.402 MB / 0.5099 GB, free: 6.641 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006194/0.07901, allocations: 5.961 MB / 0.5157 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.07902, allocations: 6.625 kB / 0.5157 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.07902, allocations: 0 / 0.5157 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002856/0.0793, allocations: 0 / 0.5157 GB, free: 0.6602 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.006752/0.08606, allocations: 5.423 MB / 0.521 GB, free: 11.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.08609, allocations: 8.75 kB / 0.521 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.08904, allocations: 1.421 MB / 0.5224 GB, free: 9.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/0.09278, allocations: 2.689 MB / 0.525 GB, free: 7.035 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.09298, allocations: 412 kB / 0.5254 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005981/0.09358, allocations: 0.5471 MB / 0.526 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/0.09955, allocations: 4.953 MB / 0.5308 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.09969, allocations: 27.97 kB / 0.5308 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.1001, allocations: 243 kB / 0.5311 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002518/0.1003, allocations: 350.7 kB / 0.5314 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.1029, allocations: 1.426 MB / 0.5328 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/0.1214, allocations: 19.5 MB / 0.5518 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.1226, allocations: 1.123 MB / 0.5529 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000749/0.1234, allocations: 0.6964 MB / 0.5536 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.1234, allocations: 40.22 kB / 0.5536 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.1235, allocations: 50.14 kB / 0.5537 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=179): time 4.478e-06/0.1235, allocations: 0 / 0.5537 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182): time 0.01026/0.1337, allocations: 4.939 MB / 0.5585 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1338, allocations: 73.41 kB / 0.5586 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.1348, allocations: 1.262 MB / 0.5598 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.108e-05/0.1349, allocations: 57.64 kB / 0.5599 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008252/0.1358, allocations: 2.099 MB / 0.5619 GB, free: 416 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/0.1361, allocations: 0.6546 MB / 0.5626 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.1365, allocations: 380 kB / 0.5629 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.1365, allocations: 301.1 kB / 0.5632 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1369, allocations: 240.4 kB / 0.5634 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.1375, allocations: 0.9558 MB / 0.5644 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.1388, allocations: 1.449 MB / 0.5658 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.1389, allocations: 12 kB / 0.5658 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002544/0.1414, allocations: 1.995 MB / 0.5677 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1414, allocations: 16 kB / 0.5678 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.1415, allocations: 20 kB / 0.5678 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.1435, allocations: 1.072 MB / 0.5688 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.1441, allocations: 319.4 kB / 0.5691 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008416/0.1525, allocations: 9.593 MB / 0.5785 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.1534, allocations: 64 kB / 0.5786 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/0.1534, allocations: 80 kB / 0.5786 GB, free: 14.24 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001035/0.1545, allocations: 248 kB / 0.5789 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.1547, allocations: 195.7 kB / 0.5791 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.157, allocations: 1.691 MB / 0.5807 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.157, allocations: 16 kB / 0.5807 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/0.157, allocations: 23.19 kB / 0.5807 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1571, allocations: 7.969 kB / 0.5808 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.163, allocations: 4.162 MB / 0.5848 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.163, allocations: 7.984 kB / 0.5848 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.1634, allocations: 147.7 kB / 0.585 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.1652, allocations: 0.9544 MB / 0.5859 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/0.1653, allocations: 35.94 kB / 0.5859 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007634/0.1729, allocations: 8.875 MB / 0.5946 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.1729, allocations: 7.938 kB / 0.5946 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.1753, allocations: 1.823 MB / 0.5964 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/0.1758, allocations: 346.4 kB / 0.5967 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.176, allocations: 36.62 kB / 0.5968 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.1764, allocations: 36 kB / 0.5968 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/0.1768, allocations: 173.5 kB / 0.597 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.1768, allocations: 36 kB / 0.597 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005105/0.1773, allocations: 0.6086 MB / 0.5976 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-07/0.1773, allocations: 0 / 0.5976 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002484/0.1798, allocations: 0.9961 MB / 0.5986 GB, free: 9.211 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/0.1801, allocations: 128.2 kB / 0.5987 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.1831, allocations: 2.445 MB / 0.6011 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-05/0.1831, allocations: 21.81 kB / 0.6011 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.1849, allocations: 1.781 MB / 0.6028 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.1866, allocations: 0.7735 MB / 0.6036 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.1977, allocations: 8.119 MB / 0.6115 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.1992, allocations: 1.353 MB / 0.6128 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009815/0.2001, allocations: 251.3 kB / 0.6131 GB, free: 10.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000833/0.201, allocations: 0.499 MB / 0.6136 GB, free: 9.672 MB / 0.573 GB Notification: Performance of SimCode: time 1.883e-06/0.201, allocations: 0 / 0.6136 GB, free: 9.672 MB / 0.573 GB Notification: Performance of Templates: time 0.06202/0.263, allocations: 47.62 MB / 0.6601 GB, free: 10.96 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.574641745071858]