Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.000898/0.000898, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001386/0.001386, allocations: 173 kB / 23.36 MB, free: 1.133 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.9927/0.9927, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.00242/0.00242, allocations: 245.5 kB / 260.5 MB, free: 12.68 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.6869/0.6869, allocations: 138.4 MB / 402.2 MB, free: 0.5273 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.297e-06/1.017e-05, allocations: 2.312 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01355/0.01356, allocations: 18.34 MB / 480.7 MB, free: 208 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.02549, allocations: 9.644 MB / 490.3 MB, free: 6.613 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.02705, allocations: 186.6 kB / 490.5 MB, free: 6.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.02835, allocations: 0.7843 MB / 491.3 MB, free: 5.641 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.03272, allocations: 2.612 MB / 493.9 MB, free: 3.035 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.03496, allocations: 1.609 MB / 495.5 MB, free: 1.434 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005857/0.04081, allocations: 7.715 MB / 0.4914 GB, free: 9.707 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00404/0.04485, allocations: 4.857 MB / 0.4962 GB, free: 4.703 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.04949, allocations: 4.919 MB / 0.501 GB, free: 15.78 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.05231, allocations: 3.175 MB / 0.5041 GB, free: 12.61 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.05363, allocations: 0.5898 MB / 0.5046 GB, free: 12.02 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.05561, allocations: 0.6767 MB / 0.5053 GB, free: 11.35 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.05825, allocations: 2.545 MB / 0.5078 GB, free: 8.797 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003624/0.06187, allocations: 2.004 MB / 0.5098 GB, free: 6.789 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.06712, allocations: 4.842 MB / 0.5145 GB, free: 1.934 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.06712, allocations: 2.781 kB / 0.5145 GB, free: 1.934 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.06713, allocations: 0 / 0.5145 GB, free: 1.934 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002595/0.06739, allocations: 0 / 0.5145 GB, free: 1.934 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.006079/0.07346, allocations: 4.845 MB / 0.5192 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.0735, allocations: 8.75 kB / 0.5192 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.07645, allocations: 1.287 MB / 0.5205 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.07949, allocations: 2.378 MB / 0.5228 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.07964, allocations: 312.8 kB / 0.5231 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/0.0801, allocations: 432.3 kB / 0.5235 GB, free: 8.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0047/0.0848, allocations: 4.157 MB / 0.5276 GB, free: 3.988 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.306e-05/0.0849, allocations: 31.73 kB / 0.5276 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/0.08518, allocations: 180.7 kB / 0.5278 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003806/0.08556, allocations: 312.1 kB / 0.5281 GB, free: 3.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.08754, allocations: 1.131 MB / 0.5292 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/0.1023, allocations: 15.2 MB / 0.544 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.1029, allocations: 491.2 kB / 0.5445 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.1034, allocations: 416.6 kB / 0.5449 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-05/0.1035, allocations: 25.91 kB / 0.5449 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.1035, allocations: 48.47 kB / 0.545 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=130): time 4.528e-06/0.1035, allocations: 0 / 0.545 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=133): time 0.00755/0.1111, allocations: 3.936 MB / 0.5488 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1111, allocations: 64.72 kB / 0.5489 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.1122, allocations: 1.536 MB / 0.5504 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.1122, allocations: 53.7 kB / 0.5504 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006819/0.1129, allocations: 1.755 MB / 0.5521 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.1132, allocations: 491.6 kB / 0.5526 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.1135, allocations: 311.2 kB / 0.5529 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.1135, allocations: 305.1 kB / 0.5532 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1138, allocations: 211.9 kB / 0.5534 GB, free: 9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.1143, allocations: 0.761 MB / 0.5541 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1154, allocations: 1.163 MB / 0.5553 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.1154, allocations: 4 kB / 0.5553 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002135/0.1176, allocations: 1.649 MB / 0.5569 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1176, allocations: 12 kB / 0.5569 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.1176, allocations: 16 kB / 0.5569 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.1195, allocations: 0.8415 MB / 0.5577 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.1201, allocations: 315.5 kB / 0.558 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007593/0.1277, allocations: 12.52 MB / 0.5703 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.1289, allocations: 59.92 kB / 0.5703 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.129, allocations: 60 kB / 0.5704 GB, free: 6.207 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009118/0.1299, allocations: 234 kB / 0.5706 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.1302, allocations: 199.8 kB / 0.5708 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.1319, allocations: 1.365 MB / 0.5721 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.1319, allocations: 12 kB / 0.5721 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.1319, allocations: 15.94 kB / 0.5721 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.132, allocations: 11.91 kB / 0.5722 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/0.1363, allocations: 2.925 MB / 0.575 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1363, allocations: 4 kB / 0.575 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.1367, allocations: 147.8 kB / 0.5752 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.1386, allocations: 0.8181 MB / 0.576 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.1387, allocations: 24 kB / 0.576 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007696/0.1464, allocations: 12.52 MB / 0.5882 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1464, allocations: 4 kB / 0.5882 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.1489, allocations: 1.49 MB / 0.5897 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007793/0.1496, allocations: 318.2 kB / 0.59 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.1498, allocations: 24 kB / 0.59 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.1503, allocations: 39.98 kB / 0.59 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.1506, allocations: 116.7 kB / 0.5901 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.1507, allocations: 31.98 kB / 0.5902 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006985/0.1514, allocations: 0.7702 MB / 0.5909 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1514, allocations: 0 / 0.5909 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002202/0.1536, allocations: 0.8476 MB / 0.5918 GB, free: 15.13 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002384/0.1538, allocations: 128.2 kB / 0.5919 GB, free: 15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002557/0.1564, allocations: 2.264 MB / 0.5941 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.343e-05/0.1564, allocations: 29.81 kB / 0.5941 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.1583, allocations: 1.796 MB / 0.5959 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.1613, allocations: 0.8862 MB / 0.5967 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.173, allocations: 6.676 MB / 0.6033 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.1744, allocations: 1.05 MB / 0.6043 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001254/0.1756, allocations: 308.3 kB / 0.6046 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.1768, allocations: 0.6747 MB / 0.6052 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of SimCode: time 2.485e-06/0.1768, allocations: 0 / 0.6052 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of Templates: time 0.06492/0.2417, allocations: 47.74 MB / 0.6519 GB, free: 2.473 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4814427541568875]