Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.0006619/0.0006619, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008642/0.001526, 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.00066/0.00066, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008821/0.001542, 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.9489/0.9489, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07414/1.023, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.001312/0.001312, allocations: 238.4 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.002269, allocations: 475.6 kB / 244.8 MB, free: 14.07 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.7062/0.7062, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08148/0.7877, allocations: 42.41 MB / 426.7 MB, free: 5.816 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.793e-05, allocations: 2.312 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2077/0.2077, allocations: 17.67 MB / 445.8 MB, free: 11.79 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00974/0.2175, allocations: 5.438 MB / 451.2 MB, free: 7.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.2202, allocations: 197.5 kB / 451.4 MB, free: 7.887 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.2222, allocations: 0.7889 MB / 452.2 MB, free: 7.305 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.2261, allocations: 2.031 MB / 454.2 MB, free: 5.637 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.2297, allocations: 1.565 MB / 455.8 MB, free: 4.324 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008891/0.2386, allocations: 8.434 MB / 464.2 MB, free: 12.71 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005912/0.2445, allocations: 5.25 MB / 469.5 MB, free: 7.332 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00685/0.2514, allocations: 5.13 MB / 474.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005025/0.2564, allocations: 3.994 MB / 478.6 MB, free: 14.21 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.2577, allocations: 0.6451 MB / 479.2 MB, free: 13.57 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.2595, allocations: 0.738 MB / 480 MB, free: 12.83 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.2615, allocations: 2.636 MB / 482.6 MB, free: 10.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.2639, allocations: 1.724 MB / 484.3 MB, free: 8.461 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.2688, allocations: 4.836 MB / 489.2 MB, free: 3.613 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.926e-05/0.2688, allocations: 0 / 489.2 MB, free: 3.613 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2688, allocations: 0 / 489.2 MB, free: 3.613 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003225/0.2691, allocations: 0 / 489.2 MB, free: 3.613 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007329/0.2765, allocations: 5.784 MB / 494.9 MB, free: 13.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2765, allocations: 9.844 kB / 494.9 MB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/0.2791, allocations: 1.306 MB / 496.3 MB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.2821, allocations: 2.383 MB / 498.6 MB, free: 10.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.2823, allocations: 349.7 kB / 499 MB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/0.2827, allocations: 473 kB / 499.4 MB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00461/0.2873, allocations: 4.296 MB / 0.4919 GB, free: 4.508 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.953e-05/0.2874, allocations: 33.52 kB / 0.492 GB, free: 4.477 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.2877, allocations: 200.3 kB / 0.4922 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/0.288, allocations: 308.8 kB / 0.4924 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.2897, allocations: 1.241 MB / 0.4937 GB, free: 2.727 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.3044, allocations: 18.08 MB / 0.5113 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.3054, allocations: 0.6972 MB / 0.512 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.3057, allocations: 388.5 kB / 0.5124 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.3058, allocations: 26.28 kB / 0.5124 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3058, allocations: 43.88 kB / 0.5124 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=133): time 5.52e-06/0.3058, allocations: 0.9844 kB / 0.5124 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=136): time 0.005021/0.3109, allocations: 2.764 MB / 0.5151 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3109, allocations: 64.72 kB / 0.5152 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.312, allocations: 1.224 MB / 0.5164 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.312, allocations: 49.7 kB / 0.5164 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00065/0.3127, allocations: 1.845 MB / 0.5182 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.3129, allocations: 0.4957 MB / 0.5187 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.3132, allocations: 335.2 kB / 0.5191 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.3132, allocations: 305.6 kB / 0.5193 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3135, allocations: 204.4 kB / 0.5195 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.314, allocations: 0.8901 MB / 0.5204 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3152, allocations: 1.378 MB / 0.5218 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.3152, allocations: 8 kB / 0.5218 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002178/0.3173, allocations: 1.656 MB / 0.5234 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3174, allocations: 12.66 kB / 0.5234 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.3174, allocations: 24 kB / 0.5234 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.3186, allocations: 0.6755 MB / 0.5241 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.3193, allocations: 366.6 kB / 0.5244 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008794/0.3281, allocations: 16.86 MB / 0.5409 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008502/0.3289, allocations: 56 kB / 0.5409 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.329, allocations: 72 kB / 0.541 GB, free: 15.85 MB / 0.5261 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0008873/0.3299, allocations: 244.1 kB / 0.5412 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.3301, allocations: 175.8 kB / 0.5414 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.3317, allocations: 1.297 MB / 0.5427 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.3317, allocations: 13.17 kB / 0.5427 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3317, allocations: 8 kB / 0.5427 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3317, allocations: 15.91 kB / 0.5427 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.3365, allocations: 3.339 MB / 0.546 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3365, allocations: 4 kB / 0.546 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.337, allocations: 172.3 kB / 0.5461 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.3373, allocations: 285.4 kB / 0.5464 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.3385, allocations: 0.6195 MB / 0.547 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.3386, allocations: 28 kB / 0.547 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009419/0.348, allocations: 15.86 MB / 0.5625 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.348, allocations: 4 kB / 0.5625 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.3504, allocations: 1.452 MB / 0.564 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.3506, allocations: 32 kB / 0.564 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.3511, allocations: 32.05 kB / 0.564 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/0.3514, allocations: 132.6 kB / 0.5641 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.3515, allocations: 28 kB / 0.5642 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000821/0.3523, allocations: 0.5794 MB / 0.5647 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.3523, allocations: 0 / 0.5647 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002492/0.3548, allocations: 0.8203 MB / 0.5655 GB, free: 5.219 MB / 0.5417 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.355, allocations: 120.2 kB / 0.5656 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002974/0.358, allocations: 2.689 MB / 0.5683 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.435e-05/0.3581, allocations: 45.69 kB / 0.5683 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.3602, allocations: 2.156 MB / 0.5704 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/0.3645, allocations: 6.284 MB / 0.5766 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03042/0.3949, allocations: 7.029 MB / 0.5834 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.3964, allocations: 1.132 MB / 0.5845 GB, free: 140 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008662/0.3973, allocations: 235.8 kB / 0.5848 GB, free: 15.92 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000988/0.3983, allocations: 0.4912 MB / 0.5852 GB, free: 15.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.863e-06/0.3983, allocations: 0 / 0.5852 GB, free: 15.42 MB / 0.573 GB Notification: Performance of Templates: time 0.04926/0.4475, allocations: 39.56 MB / 0.6239 GB, free: 8.691 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.164458655752242]