Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006425/0.0006425, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008755/0.001518, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006916/0.0006916, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000836/0.001528, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9111/0.9111, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09119/1.002, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001227/0.001227, allocations: 236.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009838/0.002211, allocations: 470.9 kB / 244.7 MB, free: 14.18 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.7042/0.7042, allocations: 138.7 MB / 384.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07188/0.7761, allocations: 42.4 MB / 426.5 MB, free: 5.941 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.184e-05, allocations: 2.312 kB / 427.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006014/0.006036, allocations: 4.24 MB / 432 MB, free: 376 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.19/0.196, allocations: 1.59 MB / 433.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1963, allocations: 34.83 kB / 433.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.1968, allocations: 195.2 kB / 433.8 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.1973, allocations: 417.6 kB / 434.2 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.1979, allocations: 331.3 kB / 434.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008448/0.1987, allocations: 1.051 MB / 435.6 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.1992, allocations: 384.8 kB / 436 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/0.1998, allocations: 0.5657 MB / 436.6 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.2003, allocations: 412.8 kB / 437 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.2004, allocations: 49.41 kB / 437 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.2007, allocations: 134.1 kB / 437.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.2009, allocations: 240.2 kB / 437.4 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.2011, allocations: 202 kB / 437.6 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.2017, allocations: 0.5532 MB / 438.1 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.859e-05/0.2017, allocations: 0 / 438.1 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2017, allocations: 0.7812 kB / 438.1 MB, free: 384 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.2017, allocations: 0 / 438.1 MB, free: 384 kB / 410.7 MB 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.001253/0.203, allocations: 1.003 MB / 439.1 MB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.203, allocations: 11.41 kB / 439.1 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008021/0.2038, allocations: 313.2 kB / 439.4 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.2044, allocations: 446.6 kB / 439.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2044, allocations: 36.36 kB / 439.9 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.2045, allocations: 56.16 kB / 440 MB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.2051, allocations: 0.7005 MB / 440.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.2051, allocations: 6.891 kB / 440.7 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.2052, allocations: 29.61 kB / 440.7 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.2053, allocations: 62.14 kB / 440.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.2055, allocations: 206.5 kB / 441 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.2075, allocations: 3.031 MB / 444 MB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.2077, allocations: 160.6 kB / 444.2 MB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.2078, allocations: 70.94 kB / 444.2 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2078, allocations: 6.406 kB / 444.2 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2078, allocations: 33.59 kB / 444.3 MB, free: 12.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.2078, allocations: 0 / 444.3 MB, free: 12.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.001622/0.2094, allocations: 0.9941 MB / 445.3 MB, free: 11.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.2095, allocations: 60.97 kB / 445.3 MB, free: 11.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.2099, allocations: 398.8 kB / 445.7 MB, free: 11.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2099, allocations: 30.83 kB / 445.7 MB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.2101, allocations: 317.3 kB / 446 MB, free: 11.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.2101, allocations: 128.8 kB / 446.2 MB, free: 11.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.2102, allocations: 92.64 kB / 446.3 MB, free: 11.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.2103, allocations: 368.5 kB / 446.6 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.2104, allocations: 58.44 kB / 446.7 MB, free: 11.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.2105, allocations: 229.1 kB / 446.9 MB, free: 10.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.2108, allocations: 355.8 kB / 447.3 MB, free: 10.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2108, allocations: 1.5 kB / 447.3 MB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004936/0.2113, allocations: 417.4 kB / 447.7 MB, free: 10.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2113, allocations: 8.094 kB / 447.7 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2113, allocations: 7.781 kB / 447.7 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.2117, allocations: 153.3 kB / 447.8 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.212, allocations: 116.5 kB / 447.9 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.2134, allocations: 2.648 MB / 450.6 MB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.2136, allocations: 15.19 kB / 450.6 MB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2136, allocations: 18.62 kB / 450.6 MB, free: 7.93 MB / 426.7 MB 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.0001159/0.2137, allocations: 148.5 kB / 450.8 MB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.2138, allocations: 46.98 kB / 450.8 MB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.2142, allocations: 330.4 kB / 451.1 MB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2142, allocations: 4.906 kB / 451.1 MB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2142, allocations: 2.094 kB / 451.1 MB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2142, allocations: 3.938 kB / 451.1 MB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.2149, allocations: 0.6954 MB / 451.8 MB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2149, allocations: 1.375 kB / 451.8 MB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.2151, allocations: 65.36 kB / 451.9 MB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.2152, allocations: 67.58 kB / 452 MB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.2155, allocations: 148.9 kB / 452.1 MB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2155, allocations: 9.969 kB / 452.1 MB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.2169, allocations: 2.633 MB / 454.8 MB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2169, allocations: 2.688 kB / 454.8 MB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.2176, allocations: 0.5274 MB / 455.3 MB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.2177, allocations: 8 kB / 455.3 MB, free: 4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2178, allocations: 10.41 kB / 455.3 MB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.2178, allocations: 31.89 kB / 455.3 MB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.2178, allocations: 13.34 kB / 455.4 MB, free: 3.949 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.2179, allocations: 163.8 kB / 455.5 MB, free: 3.805 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2179, allocations: 0 / 455.5 MB, free: 3.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.2183, allocations: 156 kB / 455.7 MB, free: 3.652 MB / 426.7 MB 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.0001072/0.2184, allocations: 97.2 kB / 455.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.2189, allocations: 0.5131 MB / 456.3 MB, free: 3.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/0.2189, allocations: 19.92 kB / 456.3 MB, free: 3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.2192, allocations: 387.4 kB / 456.7 MB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2196, allocations: 210.1 kB / 456.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.2234, allocations: 1.088 MB / 458 MB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2235, allocations: 170.3 kB / 458.1 MB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.2237, allocations: 68.14 kB / 458.2 MB, free: 1.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.2239, allocations: 174.7 kB / 458.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2239, allocations: 0 / 458.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of Templates: time 0.01083/0.2348, allocations: 8.918 MB / 467.3 MB, free: 8.508 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.400228031910956]