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.001848/0.001848, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002355/0.002355, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.002663/0.002663, allocations: 230.5 kB / 259.8 MB, free: 12.83 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 1.072/1.072, allocations: 138.4 MB / 454.7 MB, free: 1.477 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 4.348e-06/4.348e-06, allocations: 3.984 kB / 0.5544 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.689e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04745/0.04748, allocations: 32.95 MB / 0.5865 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.06685, allocations: 9.913 MB / 0.5962 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.06939, allocations: 190.6 kB / 0.5964 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.07987, allocations: 3.842 MB / 0.6002 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.2087/0.2885, allocations: 2.194 MB / 0.6023 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.2931, allocations: 1.976 MB / 0.6042 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007877/0.301, allocations: 8.137 MB / 0.6122 GB, free: 65.82 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007673/0.3087, allocations: 5.235 MB / 0.6173 GB, free: 65.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008887/0.3175, allocations: 4.861 MB / 0.622 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006692/0.3242, allocations: 3.437 MB / 0.6254 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.3263, allocations: 0.6928 MB / 0.6261 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004264/0.3306, allocations: 1.387 MB / 0.6274 GB, free: 63.37 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003892/0.3345, allocations: 2.824 MB / 0.6302 GB, free: 62.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004833/0.3393, allocations: 2.191 MB / 0.6323 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3497, allocations: 10.69 MB / 0.6428 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3497, allocations: 0 / 0.6428 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3497, allocations: 1.656 kB / 0.6428 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002526/0.3499, allocations: 0 / 0.6428 GB, free: 56.71 MB / 0.5105 GB 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.01242/0.3623, allocations: 5.446 MB / 0.6481 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3624, allocations: 12.75 kB / 0.6481 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005903/0.3683, allocations: 1.591 MB / 0.6496 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006028/0.3743, allocations: 3.429 MB / 0.653 GB, free: 50.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.3745, allocations: 355.7 kB / 0.6533 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000778/0.3753, allocations: 484.5 kB / 0.6538 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.3869, allocations: 8.665 MB / 0.6622 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.3871, allocations: 19.73 kB / 0.6623 GB, free: 42.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005544/0.3876, allocations: 210.3 kB / 0.6625 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004068/0.388, allocations: 369 kB / 0.6628 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008497/0.3965, allocations: 5.917 MB / 0.6686 GB, free: 35.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02328/0.4198, allocations: 23.12 MB / 0.6912 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.4224, allocations: 1.981 MB / 0.6931 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.4239, allocations: 1.329 MB / 0.6944 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.424, allocations: 25.31 kB / 0.6944 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.424, allocations: 52.38 kB / 0.6945 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 3.787e-06/0.424, allocations: 0 / 0.6945 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.0118/0.4358, allocations: 6.712 MB / 0.701 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.4358, allocations: 72.19 kB / 0.7011 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.4377, allocations: 1.67 MB / 0.7027 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.4378, allocations: 57.7 kB / 0.7028 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/0.4396, allocations: 2.194 MB / 0.7049 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.4403, allocations: 0.582 MB / 0.7055 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/0.441, allocations: 396 kB / 0.7059 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4411, allocations: 305.1 kB / 0.7062 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.4429, allocations: 1.031 MB / 0.7072 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.4458, allocations: 1.823 MB / 0.709 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.4506, allocations: 3.121 MB / 0.712 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/0.4506, allocations: 8.5 kB / 0.712 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008193/0.4588, allocations: 3.976 MB / 0.7159 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.4588, allocations: 16.62 kB / 0.7159 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/0.4589, allocations: 28 kB / 0.7159 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003295/0.4622, allocations: 0.9916 MB / 0.7169 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.4638, allocations: 443 kB / 0.7173 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02697/0.4908, allocations: 21.17 MB / 0.738 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.4928, allocations: 123.9 kB / 0.7381 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003901/0.4932, allocations: 100 kB / 0.7382 GB, free: 10.72 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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.003494/0.4967, allocations: 1.656 MB / 0.7398 GB, free: 9.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008128/0.4975, allocations: 302.4 kB / 0.7401 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006737/0.5043, allocations: 3.226 MB / 0.7433 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.5043, allocations: 16 kB / 0.7433 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-05/0.5043, allocations: 15.98 kB / 0.7433 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.5043, allocations: 3.984 kB / 0.7433 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.5189, allocations: 6.426 MB / 0.7496 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5189, allocations: 4 kB / 0.7496 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.5199, allocations: 215.6 kB / 0.7498 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003318/0.5232, allocations: 0.9503 MB / 0.7507 GB, free: 13.87 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.5234, allocations: 42.94 kB / 0.7508 GB, free: 13.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/0.5501, allocations: 21.12 MB / 0.7714 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5501, allocations: 7.656 kB / 0.7714 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/0.5574, allocations: 3.386 MB / 0.7747 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.5589, allocations: 452.4 kB / 0.7751 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/0.5594, allocations: 32 kB / 0.7752 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.5608, allocations: 99.88 kB / 0.7753 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/0.5613, allocations: 148.8 kB / 0.7754 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.5614, allocations: 44 kB / 0.7754 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002096/0.5635, allocations: 1.055 MB / 0.7765 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.5635, allocations: 0 / 0.7765 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003731/0.5672, allocations: 0.9016 MB / 0.7774 GB, free: 1.406 MB / 0.5886 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.00035/0.5676, allocations: 157.6 kB / 0.7775 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008145/0.5757, allocations: 4.275 MB / 0.7817 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/0.5758, allocations: 4 kB / 0.7817 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005204/0.581, allocations: 2.905 MB / 0.7845 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004213/0.5852, allocations: 0.7657 MB / 0.7853 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.6019, allocations: 7.915 MB / 0.793 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004818/0.6067, allocations: 2.665 MB / 0.7956 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001979/0.6087, allocations: 0.5117 MB / 0.7961 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.6092, allocations: 132.5 kB / 0.7962 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/0.6092, allocations: 0 / 0.7962 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.08226/0.6915, allocations: 41.99 MB / 0.8372 GB, free: 4.891 MB / 0.6511 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.561007837066427]