Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 185.5 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 9.031 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1709, allocations: 77.54 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006665/0.1776, allocations: 5.131 MB / 0.565 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.182, allocations: 2.619 MB / 0.5675 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.1826, allocations: 19.88 kB / 0.5676 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.1829, allocations: 99.14 kB / 0.5677 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.184, allocations: 382.1 kB / 0.568 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.1849, allocations: 375.3 kB / 0.5684 GB, free: 392 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.1863, allocations: 1.252 MB / 0.5696 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1877, allocations: 0.7874 MB / 0.5704 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.1882, allocations: 314.6 kB / 0.5707 GB, free: 14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.1888, allocations: 398.3 kB / 0.571 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/0.1889, allocations: 28 kB / 0.5711 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.1897, allocations: 423.1 kB / 0.5715 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.19, allocations: 219.3 kB / 0.5717 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.1904, allocations: 343.9 kB / 0.572 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1917, allocations: 0.9575 MB / 0.5729 GB, free: 11.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1917, allocations: 3.984 kB / 0.573 GB, free: 11.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1917, allocations: 0 / 0.573 GB, free: 11.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.132e-05/0.1917, allocations: 4 kB / 0.573 GB, free: 11.64 MB / 446.1 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.001645/0.1934, allocations: 0.853 MB / 0.5738 GB, free: 10.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1934, allocations: 12.03 kB / 0.5738 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.1949, allocations: 187.9 kB / 0.574 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.1957, allocations: 0.4944 MB / 0.5745 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.1957, allocations: 37.38 kB / 0.5745 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.1959, allocations: 56.55 kB / 0.5746 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.1971, allocations: 0.8357 MB / 0.5754 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.1972, allocations: 3.938 kB / 0.5754 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.1972, allocations: 20 kB / 0.5754 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.1974, allocations: 68.94 kB / 0.5755 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009173/0.1984, allocations: 0.5697 MB / 0.576 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00486/0.2032, allocations: 4.589 MB / 0.5805 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.2037, allocations: 310.5 kB / 0.5808 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2041, allocations: 225.3 kB / 0.581 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2041, allocations: 288 / 0.581 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2042, allocations: 38.84 kB / 0.581 GB, free: 2.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.2042, allocations: 0 / 0.581 GB, free: 2.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005751/0.2099, allocations: 2.631 MB / 0.5836 GB, free: 64 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2968/0.5067, allocations: 59.81 kB / 0.5837 GB, free: 31.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/0.5075, allocations: 461.8 kB / 0.5841 GB, free: 31.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.5076, allocations: 32.45 kB / 0.5841 GB, free: 31.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.5078, allocations: 344.5 kB / 0.5845 GB, free: 30.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.5079, allocations: 143.6 kB / 0.5846 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.508, allocations: 51.08 kB / 0.5847 GB, free: 30.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.5081, allocations: 362.8 kB / 0.585 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.5085, allocations: 236.3 kB / 0.5852 GB, free: 30.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.5089, allocations: 413 kB / 0.5856 GB, free: 30.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.5099, allocations: 0.6805 MB / 0.5863 GB, free: 30.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.51, allocations: 0 / 0.5863 GB, free: 30.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001854/0.5118, allocations: 0.9248 MB / 0.5872 GB, free: 30.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5119, allocations: 8.781 kB / 0.5872 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5119, allocations: 6.031 kB / 0.5872 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008066/0.5127, allocations: 224.9 kB / 0.5874 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.5132, allocations: 120.4 kB / 0.5875 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004662/0.5179, allocations: 4.931 MB / 0.5923 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.5184, allocations: 36.22 kB / 0.5924 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.5184, allocations: 26.91 kB / 0.5924 GB, free: 25.61 MB / 446.1 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003002/0.5187, allocations: 221.2 kB / 0.5926 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.5188, allocations: 58.23 kB / 0.5927 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.5204, allocations: 0.7757 MB / 0.5934 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5204, allocations: 4 kB / 0.5934 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5204, allocations: 6.688 kB / 0.5934 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5204, allocations: 2.484 kB / 0.5934 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.5228, allocations: 1.496 MB / 0.5949 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5228, allocations: 2.062 kB / 0.5949 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.5232, allocations: 69.22 kB / 0.595 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006869/0.5239, allocations: 206.3 kB / 0.5952 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.524, allocations: 13.33 kB / 0.5952 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.5279, allocations: 4.887 MB / 0.6 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5279, allocations: 2.406 kB / 0.6 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.5297, allocations: 1.133 MB / 0.6011 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.5299, allocations: 171.9 kB / 0.6012 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.53, allocations: 10.16 kB / 0.6012 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.5304, allocations: 31.81 kB / 0.6013 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.5305, allocations: 38.06 kB / 0.6013 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.5305, allocations: 9.969 kB / 0.6013 GB, free: 19.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003831/0.5309, allocations: 320.7 kB / 0.6016 GB, free: 19.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5309, allocations: 0 / 0.6016 GB, free: 19.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007655/0.5317, allocations: 166.8 kB / 0.6018 GB, free: 19.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.0001686/0.5318, allocations: 118.2 kB / 0.6019 GB, free: 18.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.5335, allocations: 1.009 MB / 0.6029 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.5335, allocations: 0.8438 kB / 0.6029 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009805/0.5345, allocations: 0.6815 MB / 0.6035 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5356, allocations: 174.9 kB / 0.6037 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5377, allocations: 1.542 MB / 0.6052 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.5382, allocations: 0.9531 MB / 0.6061 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003814/0.5386, allocations: 113 kB / 0.6063 GB, free: 16.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5387, allocations: 38.17 kB / 0.6063 GB, free: 16.09 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5387, allocations: 0 / 0.6063 GB, free: 16.09 MB / 446.1 MB Notification: Performance of Templates: time 0.01692/0.5557, allocations: 8.41 MB / 0.6145 GB, free: 13.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)