Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 190.3 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.002515/0.002515, allocations: 290.5 kB / 306.5 MB, free: 8.348 MB / 238.1 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 1.192/1.192, allocations: 180.9 MB / 0.53 GB, free: 14.46 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 99.61 kB / 0.7309 GB, free: 38.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1784, allocations: 94.21 MB / 0.8228 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03402/0.2124, allocations: 27.91 MB / 0.8501 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.2277, allocations: 8.359 MB / 0.8583 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.2305, allocations: 154.8 kB / 0.8584 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007819/0.2383, allocations: 2.888 MB / 0.8612 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00475/0.243, allocations: 1.668 MB / 0.8629 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.2476, allocations: 1.727 MB / 0.8646 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008479/0.2561, allocations: 6.139 MB / 0.8705 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005651/0.2617, allocations: 3.597 MB / 0.8741 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004342/0.2661, allocations: 2.645 MB / 0.8766 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004789/0.2709, allocations: 3.01 MB / 0.8796 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008934/0.2718, allocations: 0.5078 MB / 0.8801 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.2746, allocations: 1.303 MB / 0.8813 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.277, allocations: 2.104 MB / 0.8834 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003344/0.2804, allocations: 2.381 MB / 0.8857 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.2909, allocations: 8.079 MB / 0.8936 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2909, allocations: 3.938 kB / 0.8936 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2909, allocations: 4 kB / 0.8936 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002261/0.2911, allocations: 3.938 kB / 0.8936 GB, free: 9.035 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01015/0.3013, allocations: 4.256 MB / 0.8978 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3013, allocations: 8.625 kB / 0.8978 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.3057, allocations: 0.8218 MB / 0.8986 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/0.3113, allocations: 2.53 MB / 0.9011 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.3115, allocations: 267.7 kB / 0.9013 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008079/0.3123, allocations: 376.6 kB / 0.9017 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.324, allocations: 5.996 MB / 0.9075 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-05/0.3241, allocations: 19.83 kB / 0.9076 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004329/0.3245, allocations: 156 kB / 0.9077 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006344/0.3252, allocations: 282.9 kB / 0.908 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008569/0.3337, allocations: 4.524 MB / 0.9124 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03218/0.3659, allocations: 27.23 MB / 0.939 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3677, allocations: 1.06 MB / 0.94 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.369, allocations: 0.9649 MB / 0.941 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.305e-05/0.3691, allocations: 9 kB / 0.941 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.3692, allocations: 51.56 kB / 0.941 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.484e-06/0.3692, allocations: 0 / 0.941 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of matching and sorting (n=131): time 0.02278/0.3919, allocations: 9.103 MB / 0.9499 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.392, allocations: 68.72 kB / 0.95 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.3942, allocations: 1.494 MB / 0.9514 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.3943, allocations: 49.7 kB / 0.9515 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.3956, allocations: 1.715 MB / 0.9532 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.3961, allocations: 491.8 kB / 0.9536 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005361/0.3966, allocations: 327.4 kB / 0.9539 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3968, allocations: 309.1 kB / 0.9542 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.3982, allocations: 0.9135 MB / 0.9551 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.4, allocations: 1.467 MB / 0.9566 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.4035, allocations: 2.554 MB / 0.9591 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.4035, allocations: 4 kB / 0.9591 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006045/0.4096, allocations: 3.274 MB / 0.9623 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.4096, allocations: 13 kB / 0.9623 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.4096, allocations: 16 kB / 0.9623 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.412, allocations: 0.7412 MB / 0.963 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.4135, allocations: 383.4 kB / 0.9634 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/0.431, allocations: 16.14 MB / 0.9791 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.4328, allocations: 95.91 kB / 0.9792 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.433, allocations: 76 kB / 0.9793 GB, free: 12.71 MB / 0.7325 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 (193): * Single equations (assignments): 184 * 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,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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002288/0.4353, allocations: 1.317 MB / 0.9806 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/0.4357, allocations: 210.7 kB / 0.9808 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005336/0.4411, allocations: 2.761 MB / 0.9835 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4411, allocations: 12 kB / 0.9835 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4411, allocations: 11.94 kB / 0.9835 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.4411, allocations: 11.97 kB / 0.9835 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.4524, allocations: 6.173 MB / 0.9895 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.4524, allocations: 8 kB / 0.9895 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.4536, allocations: 231.6 kB / 0.9898 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.4557, allocations: 0.6676 MB / 0.9904 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.4559, allocations: 35.98 kB / 0.9905 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.4726, allocations: 15.88 MB / 1.006 GB, free: 136 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.4726, allocations: 4 kB / 1.006 GB, free: 132 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3702/0.8428, allocations: 3.993 MB / 1.01 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.8439, allocations: 390.2 kB / 1.01 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.8441, allocations: 34.23 kB / 1.01 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009262/0.8451, allocations: 83.83 kB / 1.01 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.8454, allocations: 123.2 kB / 1.01 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.8455, allocations: 37.72 kB / 1.011 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00141/0.8469, allocations: 0.995 MB / 1.011 GB, free: 166.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8469, allocations: 0.6562 kB / 1.011 GB, free: 166.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002255/0.8491, allocations: 0.6838 MB / 1.012 GB, free: 166.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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,2,100.0%), (2,2,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 Backend phase and start with SimCode phase: time 0.0002266/0.8494, allocations: 153.4 kB / 1.012 GB, free: 166 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005116/0.8545, allocations: 3.382 MB / 1.016 GB, free: 164.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.8545, allocations: 2.719 kB / 1.016 GB, free: 164.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/0.8575, allocations: 2.244 MB / 1.018 GB, free: 163.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.8608, allocations: 0.6639 MB / 1.018 GB, free: 163.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.8717, allocations: 6.659 MB / 1.025 GB, free: 160.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.8738, allocations: 2.668 MB / 1.028 GB, free: 159.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001533/0.8753, allocations: 488.4 kB / 1.028 GB, free: 159 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.8756, allocations: 120.7 kB / 1.028 GB, free: 159 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/0.8756, allocations: 1.859 kB / 1.028 GB, free: 159 MB / 0.7481 GB Notification: Performance of Templates: time 0.04893/0.9245, allocations: 35.68 MB / 1.063 GB, free: 131.7 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.456647761166096] Failed to read output from testmodel.py, exit status != 0: 0.9323349939659238 0.941356919 0.6480876790000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3bc6e597b0>