Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009592/0.0009592, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001012/0.001012, allocations: 177 kB / 23.36 MB, free: 1.125 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 1.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.001711/0.001711, allocations: 242 kB / 260.5 MB, free: 12.67 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.7215/0.7215, allocations: 138.4 MB / 402.2 MB, free: 0.5195 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.165e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01435/0.01436, allocations: 19.55 MB / 481.9 MB, free: 14.94 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008728/0.02309, allocations: 5.752 MB / 487.7 MB, free: 9.227 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.02447, allocations: 190.6 kB / 487.9 MB, free: 9.039 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.0258, allocations: 0.842 MB / 488.7 MB, free: 8.191 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.02806, allocations: 1.856 MB / 490.6 MB, free: 6.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.03023, allocations: 1.643 MB / 492.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005227/0.03546, allocations: 8.012 MB / 0.4885 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004602/0.04006, allocations: 5.531 MB / 0.4939 GB, free: 7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.04427, allocations: 4.862 MB / 0.4986 GB, free: 2.129 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.04758, allocations: 3.644 MB / 0.5022 GB, free: 14.5 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006441/0.04822, allocations: 0.6773 MB / 0.5029 GB, free: 13.82 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008851/0.04911, allocations: 0.7692 MB / 0.5036 GB, free: 13.05 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.0507, allocations: 2.83 MB / 0.5064 GB, free: 10.22 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.05247, allocations: 2.175 MB / 0.5085 GB, free: 8.039 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.05605, allocations: 5.323 MB / 0.5137 GB, free: 2.703 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.05606, allocations: 0 / 0.5137 GB, free: 2.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.05606, allocations: 0 / 0.5137 GB, free: 2.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.195e-05/0.05613, allocations: 0 / 0.5137 GB, free: 2.703 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.004725/0.06085, allocations: 5.133 MB / 0.5187 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.06089, allocations: 9.969 kB / 0.5187 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.06321, allocations: 1.158 MB / 0.5199 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.06581, allocations: 2.491 MB / 0.5223 GB, free: 9.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.06597, allocations: 358.4 kB / 0.5226 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004435/0.06642, allocations: 480.8 kB / 0.5231 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/0.07056, allocations: 4.901 MB / 0.5279 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.362e-05/0.07063, allocations: 17.06 kB / 0.5279 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.07092, allocations: 212.3 kB / 0.5281 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000308/0.07123, allocations: 374.8 kB / 0.5285 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.07305, allocations: 1.288 MB / 0.5297 GB, free: 1.684 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.08607, allocations: 18.74 MB / 0.548 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.08707, allocations: 0.7603 MB / 0.5488 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.08757, allocations: 475.2 kB / 0.5492 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.08764, allocations: 29.81 kB / 0.5492 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.08768, allocations: 56.81 kB / 0.5493 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 2.926e-06/0.08768, allocations: 0 / 0.5493 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.004496/0.09218, allocations: 2.771 MB / 0.552 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.09221, allocations: 77.89 kB / 0.5521 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009311/0.09314, allocations: 1.458 MB / 0.5535 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/0.09322, allocations: 57.64 kB / 0.5535 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.09395, allocations: 1.933 MB / 0.5554 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.09423, allocations: 0.5809 MB / 0.556 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.09459, allocations: 380.4 kB / 0.5564 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.09465, allocations: 301.7 kB / 0.5567 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.09497, allocations: 236.3 kB / 0.5569 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.0956, allocations: 0.942 MB / 0.5578 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.09685, allocations: 1.417 MB / 0.5592 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.09686, allocations: 8 kB / 0.5592 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002026/0.09889, allocations: 1.767 MB / 0.5609 GB, free: 356 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.09891, allocations: 18.12 kB / 0.5609 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.09893, allocations: 24 kB / 0.561 GB, free: 316 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.1003, allocations: 0.693 MB / 0.5616 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/0.1011, allocations: 403.4 kB / 0.562 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/0.1092, allocations: 16.14 MB / 0.5778 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/0.1098, allocations: 64.98 kB / 0.5778 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.264e-05/0.1099, allocations: 79.94 kB / 0.5779 GB, free: 13.76 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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.0006741/0.1106, allocations: 252.1 kB / 0.5782 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.1108, allocations: 216.2 kB / 0.5784 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.1124, allocations: 1.358 MB / 0.5797 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1124, allocations: 16 kB / 0.5797 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.1124, allocations: 16 kB / 0.5797 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1124, allocations: 7.969 kB / 0.5797 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.1162, allocations: 3.114 MB / 0.5828 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1162, allocations: 4.562 kB / 0.5828 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.1166, allocations: 187.8 kB / 0.583 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.1179, allocations: 0.6782 MB / 0.5836 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.118, allocations: 28 kB / 0.5836 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008096/0.1261, allocations: 16.12 MB / 0.5994 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1261, allocations: 4 kB / 0.5994 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.1277, allocations: 1.529 MB / 0.6009 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.1282, allocations: 330.4 kB / 0.6012 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.1283, allocations: 39.98 kB / 0.6012 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.1287, allocations: 36 kB / 0.6013 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.129, allocations: 147.8 kB / 0.6014 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.129, allocations: 36 kB / 0.6015 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004831/0.1295, allocations: 0.7069 MB / 0.6021 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1295, allocations: 0 / 0.6021 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001665/0.1312, allocations: 0.9062 MB / 0.603 GB, free: 2.496 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.1314, allocations: 132.2 kB / 0.6032 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002316/0.1337, allocations: 2.804 MB / 0.6059 GB, free: 15.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.024e-05/0.1337, allocations: 25.81 kB / 0.6059 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.1353, allocations: 2.225 MB / 0.6081 GB, free: 12.99 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.1369, allocations: 0.7569 MB / 0.6088 GB, free: 12.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/0.1441, allocations: 7.274 MB / 0.6159 GB, free: 4.879 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/0.145, allocations: 1.169 MB / 0.6171 GB, free: 3.684 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006549/0.1456, allocations: 299 kB / 0.6174 GB, free: 3.414 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.1467, allocations: 0.6435 MB / 0.618 GB, free: 2.754 MB / 0.573 GB Notification: Performance of SimCode: time 8.72e-07/0.1467, allocations: 4 kB / 0.618 GB, free: 2.75 MB / 0.573 GB Notification: Performance of Templates: time 0.05744/0.2041, allocations: 45.37 MB / 0.6623 GB, free: 6.422 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.656116302125156]