Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.00243/0.00243, allocations: 85.48 kB / 19.44 MB, free: 340 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.003011/0.003011, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.003292/0.003292, allocations: 234.6 kB / 259.8 MB, free: 12.84 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.171/1.171, allocations: 138.4 MB / 454.7 MB, free: 1.48 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.438e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03339/0.03341, allocations: 23.32 MB / 0.5771 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.04675, allocations: 6.593 MB / 0.5836 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.04836, allocations: 123.1 kB / 0.5837 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.05245, allocations: 1.554 MB / 0.5852 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.05658, allocations: 1.986 MB / 0.5871 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.06003, allocations: 1.473 MB / 0.5886 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008538/0.06857, allocations: 7.029 MB / 0.5954 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006002/0.07457, allocations: 3.762 MB / 0.5991 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.201/0.2756, allocations: 4.038 MB / 0.6031 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004834/0.2804, allocations: 3.523 MB / 0.6065 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008696/0.2813, allocations: 0.5257 MB / 0.607 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.2836, allocations: 1.135 MB / 0.6081 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.2856, allocations: 2.693 MB / 0.6107 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.2882, allocations: 1.776 MB / 0.6125 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.299, allocations: 8.734 MB / 0.621 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.299, allocations: 1.719 kB / 0.621 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.299, allocations: 0 / 0.621 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002443/0.2993, allocations: 1.188 kB / 0.621 GB, free: 69.9 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01455/0.3138, allocations: 5.123 MB / 0.626 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3139, allocations: 10.12 kB / 0.626 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009734/0.3236, allocations: 2.225 MB / 0.6282 GB, free: 67.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008362/0.3319, allocations: 2.54 MB / 0.6307 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.3322, allocations: 280.1 kB / 0.6309 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.3334, allocations: 364.8 kB / 0.6313 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009073/0.3424, allocations: 4.521 MB / 0.6357 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.343e-05/0.3425, allocations: 12.88 kB / 0.6357 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000469/0.343, allocations: 159.2 kB / 0.6359 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005923/0.3436, allocations: 491.6 kB / 0.6363 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005044/0.3486, allocations: 1.751 MB / 0.638 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/0.3787, allocations: 25.78 MB / 0.6632 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.3802, allocations: 0.8003 MB / 0.664 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.3816, allocations: 0.8233 MB / 0.6648 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.3818, allocations: 29.25 kB / 0.6648 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3818, allocations: 46.7 kB / 0.6649 GB, free: 43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=146): time 3.617e-06/0.3818, allocations: 0 / 0.6649 GB, free: 43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=251): time 0.05549/0.4373, allocations: 17.38 MB / 0.6819 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4373, allocations: 77.41 kB / 0.6819 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.4395, allocations: 1.871 MB / 0.6838 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007188/0.4402, allocations: 65.7 kB / 0.6838 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009974/0.4412, allocations: 1.959 MB / 0.6857 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009359/0.4422, allocations: 0.9722 MB / 0.6867 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.4432, allocations: 0.5272 MB / 0.6872 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4433, allocations: 479.6 kB / 0.6876 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.4452, allocations: 0.8406 MB / 0.6885 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4473, allocations: 1.769 MB / 0.6902 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.4512, allocations: 2.89 MB / 0.693 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.4512, allocations: 4 kB / 0.693 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02525/0.4764, allocations: 8.87 MB / 0.7017 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.4765, allocations: 16 kB / 0.7017 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.4765, allocations: 18.53 kB / 0.7017 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02898/0.5055, allocations: 7.047 MB / 0.7086 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.507, allocations: 300.2 kB / 0.7089 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06648/0.5734, allocations: 27.06 MB / 0.7353 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/0.5769, allocations: 227.5 kB / 0.7355 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004019/0.5773, allocations: 99.98 kB / 0.7356 GB, free: 1.879 MB / 0.5417 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00213/0.5794, allocations: 393.9 kB / 0.736 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009489/0.5803, allocations: 330.5 kB / 0.7363 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03078/0.6111, allocations: 8.83 MB / 0.7449 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.6112, allocations: 24 kB / 0.745 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001494/0.6113, allocations: 44.56 kB / 0.745 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.718e-05/0.6114, allocations: 15.89 kB / 0.745 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04407/0.6555, allocations: 13.82 MB / 0.7585 GB, free: 10.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.6555, allocations: 11.98 kB / 0.7585 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.6564, allocations: 167 kB / 0.7587 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03215/0.6886, allocations: 6.841 MB / 0.7654 GB, free: 3.238 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006161/0.6892, allocations: 48 kB / 0.7654 GB, free: 3.191 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06586/0.755, allocations: 26.86 MB / 0.7916 GB, free: 7.652 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/0.7551, allocations: 7.938 kB / 0.7916 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0303/0.7854, allocations: 8.788 MB / 0.8002 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003105/0.7885, allocations: 0.7051 MB / 0.8009 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006118/0.7891, allocations: 55.95 kB / 0.801 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/0.7914, allocations: 207.7 kB / 0.8012 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001406/0.7928, allocations: 257.3 kB / 0.8014 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/0.7931, allocations: 64 kB / 0.8015 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001806/0.7949, allocations: 1.045 MB / 0.8025 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.7949, allocations: 0 / 0.8025 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005373/0.8002, allocations: 1.617 MB / 0.8041 GB, free: 10.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004207/0.8007, allocations: 163 kB / 0.8042 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02146/0.8221, allocations: 7.108 MB / 0.8112 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.8221, allocations: 0 / 0.8112 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/0.8401, allocations: 5.762 MB / 0.8168 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/0.8435, allocations: 0.5417 MB / 0.8173 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.8591, allocations: 7.654 MB / 0.8248 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00375/0.8629, allocations: 2.399 MB / 0.8271 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001134/0.864, allocations: 314.8 kB / 0.8274 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.8643, allocations: 92.5 kB / 0.8275 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.8643, allocations: 0 / 0.8275 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.3377/1.202, allocations: 100.2 MB / 0.9254 GB, free: 158.6 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.673603861010633]