Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.000845/0.000845, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0008843/0.0008843, allocations: 157.7 kB / 24.96 MB, free: 8.715 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 0.8874/0.8874, allocations: 177.1 MB / 205.4 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.821/1.821, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.734e-05, allocations: 5.406 kB / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005667/0.005684, allocations: 4.177 MB / 0.7801 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.008789, allocations: 1.568 MB / 0.7816 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.00906, allocations: 35.69 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005778/0.009638, allocations: 171.4 kB / 0.7818 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.01016, allocations: 365.4 kB / 0.7821 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.01057, allocations: 341.8 kB / 0.7825 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000678/0.01125, allocations: 1.01 MB / 0.7834 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.01162, allocations: 403.9 kB / 0.7838 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.01207, allocations: 0.5227 MB / 0.7843 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.01244, allocations: 372.9 kB / 0.7847 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.01249, allocations: 48 kB / 0.7847 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.01267, allocations: 127.8 kB / 0.7849 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.01283, allocations: 267.2 kB / 0.7851 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.01299, allocations: 243.4 kB / 0.7853 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.01353, allocations: 0.5886 MB / 0.7859 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.01354, allocations: 0 / 0.7859 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.52e-07/0.01354, allocations: 0.6875 kB / 0.7859 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.01354, allocations: 0 / 0.7859 GB, free: 11.2 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0007954/0.01434, allocations: 0.8555 MB / 0.7868 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.01437, allocations: 14.28 kB / 0.7868 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.01509, allocations: 229.3 kB / 0.787 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.01557, allocations: 454.4 kB / 0.7874 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.0156, allocations: 37.38 kB / 0.7875 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.01571, allocations: 56.5 kB / 0.7875 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.01625, allocations: 0.6984 MB / 0.7882 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01627, allocations: 4.125 kB / 0.7882 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.0163, allocations: 28.12 kB / 0.7882 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.199e-05/0.0164, allocations: 60.95 kB / 0.7883 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.01662, allocations: 202.1 kB / 0.7885 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.01852, allocations: 3.04 MB / 0.7914 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.0187, allocations: 156.9 kB / 0.7916 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.01878, allocations: 65.41 kB / 0.7917 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.0188, allocations: 5.25 kB / 0.7917 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.01882, allocations: 38.84 kB / 0.7917 GB, free: 5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 1.272e-06/0.01882, allocations: 0 / 0.7917 GB, free: 5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.001538/0.02036, allocations: 0.9833 MB / 0.7927 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.02038, allocations: 55.41 kB / 0.7927 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.02059, allocations: 407 kB / 0.7931 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.02062, allocations: 34.58 kB / 0.7931 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.02074, allocations: 317.3 kB / 0.7934 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.0208, allocations: 128 kB / 0.7936 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.02089, allocations: 94.2 kB / 0.7936 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.02097, allocations: 366.6 kB / 0.794 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.02104, allocations: 61.28 kB / 0.7941 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.02118, allocations: 223.4 kB / 0.7943 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.02145, allocations: 350.3 kB / 0.7946 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02145, allocations: 1.156 kB / 0.7946 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004642/0.02191, allocations: 428.6 kB / 0.795 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.02193, allocations: 4 kB / 0.795 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.02193, allocations: 9.906 kB / 0.795 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.0223, allocations: 159.8 kB / 0.7952 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.02255, allocations: 108.9 kB / 0.7953 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.024, allocations: 2.644 MB / 0.7979 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.02415, allocations: 12 kB / 0.7979 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.02417, allocations: 20 kB / 0.7979 GB, free: 14.24 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.02428, allocations: 153.9 kB / 0.798 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.02433, allocations: 47.94 kB / 0.7981 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.02472, allocations: 324.6 kB / 0.7984 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.02472, allocations: 4 kB / 0.7984 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.02473, allocations: 0.875 kB / 0.7984 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02473, allocations: 3.938 kB / 0.7984 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.02541, allocations: 0.6844 MB / 0.7991 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02541, allocations: 4 kB / 0.7991 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.02559, allocations: 61.22 kB / 0.7991 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003174/0.02591, allocations: 149.5 kB / 0.7993 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.02592, allocations: 8 kB / 0.7993 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.02727, allocations: 2.642 MB / 0.8019 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.02727, allocations: 4 kB / 0.8019 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.02774, allocations: 0.522 MB / 0.8024 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.02783, allocations: 63.78 kB / 0.8024 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.02786, allocations: 11.98 kB / 0.8025 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.02797, allocations: 9.031 kB / 0.8025 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.02802, allocations: 35.94 kB / 0.8025 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.02803, allocations: 4.562 kB / 0.8025 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001005/0.02813, allocations: 164.4 kB / 0.8027 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02814, allocations: 4.938 kB / 0.8027 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003039/0.02844, allocations: 152 kB / 0.8028 GB, free: 8.914 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,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.0001004/0.02854, allocations: 94.19 kB / 0.8029 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.02903, allocations: 0.5272 MB / 0.8034 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.02904, allocations: 8 kB / 0.8034 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.0293, allocations: 387 kB / 0.8038 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.02969, allocations: 168.1 kB / 0.8039 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.03093, allocations: 1.083 MB / 0.805 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.03104, allocations: 174.3 kB / 0.8052 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.0312, allocations: 63.05 kB / 0.8052 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.03144, allocations: 169.3 kB / 0.8054 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of SimCode: time 7.02e-07/0.03144, allocations: 0 / 0.8054 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.009911/0.04135, allocations: 8.582 MB / 0.8138 GB, free: 13.8 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.847892373800278]