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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001059/0.001059, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00839/0.00839, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00182/0.00182, allocations: 262.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 18.88 kB / 0.5987 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005525/0.1489, allocations: 5.137 MB / 0.6902 GB, free: 9.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.1529, allocations: 2.62 MB / 0.6927 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.1533, allocations: 16.88 kB / 0.6927 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1535, allocations: 103.1 kB / 0.6928 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.1543, allocations: 390.1 kB / 0.6932 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.1551, allocations: 366 kB / 0.6935 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1562, allocations: 1.258 MB / 0.6948 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.1573, allocations: 0.7917 MB / 0.6955 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.1577, allocations: 314.6 kB / 0.6958 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.1582, allocations: 386.5 kB / 0.6962 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.696e-05/0.1582, allocations: 28 kB / 0.6962 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006007/0.1588, allocations: 439 kB / 0.6967 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.159, allocations: 215.4 kB / 0.6969 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.1593, allocations: 343.9 kB / 0.6972 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008317/0.1602, allocations: 0.9576 MB / 0.6981 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1602, allocations: 0 / 0.6981 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1602, allocations: 0 / 0.6981 GB, free: 1.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1602, allocations: 0 / 0.6981 GB, free: 1.688 MB / 494.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.001212/0.1614, allocations: 0.8568 MB / 0.699 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1614, allocations: 12.03 kB / 0.699 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.1628, allocations: 195.9 kB / 0.6992 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.1634, allocations: 486.5 kB / 0.6996 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1634, allocations: 41.36 kB / 0.6997 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.1636, allocations: 60.45 kB / 0.6997 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1646, allocations: 0.8324 MB / 0.7005 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1647, allocations: 3.938 kB / 0.7005 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.1647, allocations: 27.97 kB / 0.7006 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.1649, allocations: 68.95 kB / 0.7006 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008113/0.1658, allocations: 0.5697 MB / 0.7012 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.1696, allocations: 4.589 MB / 0.7057 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.1701, allocations: 303.2 kB / 0.706 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.1704, allocations: 225.3 kB / 0.7062 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.1704, allocations: 12.22 kB / 0.7062 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1704, allocations: 30.84 kB / 0.7062 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.1704, allocations: 4 kB / 0.7062 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005302/0.1757, allocations: 2.639 MB / 0.7088 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.1758, allocations: 55.41 kB / 0.7089 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.1763, allocations: 462 kB / 0.7093 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.1763, allocations: 33.7 kB / 0.7093 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1765, allocations: 339.7 kB / 0.7096 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1766, allocations: 145.9 kB / 0.7098 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.1767, allocations: 57.69 kB / 0.7098 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1768, allocations: 358.8 kB / 0.7102 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.1772, allocations: 241 kB / 0.7104 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.1776, allocations: 406.4 kB / 0.7108 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.1784, allocations: 0.6817 MB / 0.7115 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1784, allocations: 0 / 0.7115 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001603/0.1801, allocations: 0.9211 MB / 0.7124 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1801, allocations: 8 kB / 0.7124 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1801, allocations: 4 kB / 0.7124 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007546/0.1809, allocations: 226.9 kB / 0.7126 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.1814, allocations: 111.8 kB / 0.7127 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004452/0.1858, allocations: 4.942 MB / 0.7175 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.1862, allocations: 32.16 kB / 0.7176 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.1863, allocations: 24 kB / 0.7176 GB, free: 12.48 MB / 0.5137 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 (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.0002732/0.1866, allocations: 225.5 kB / 0.7178 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.1867, allocations: 59.34 kB / 0.7179 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.1882, allocations: 0.7734 MB / 0.7186 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1882, allocations: 8 kB / 0.7186 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1882, allocations: 4 kB / 0.7186 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1882, allocations: 3.984 kB / 0.7186 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.1905, allocations: 1.499 MB / 0.7201 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1905, allocations: 0 / 0.7201 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.1908, allocations: 71.89 kB / 0.7202 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00066/0.1915, allocations: 206.7 kB / 0.7204 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.1916, allocations: 12 kB / 0.7204 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.196, allocations: 4.872 MB / 0.7251 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.196, allocations: 4.031 kB / 0.7251 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.1977, allocations: 1.135 MB / 0.7262 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.1979, allocations: 168.4 kB / 0.7264 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.198, allocations: 12 kB / 0.7264 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.1983, allocations: 23.97 kB / 0.7264 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.1984, allocations: 35.89 kB / 0.7265 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.1984, allocations: 12 kB / 0.7265 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003147/0.1987, allocations: 322.9 kB / 0.7268 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1988, allocations: 0 / 0.7268 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006327/0.1994, allocations: 164 kB / 0.7269 GB, free: 2.312 MB / 0.5137 GB 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.0001468/0.1995, allocations: 119.9 kB / 0.7271 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.201, allocations: 1.008 MB / 0.728 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2011, allocations: 0 / 0.728 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.202, allocations: 0.6876 MB / 0.7287 GB, free: 424 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.203, allocations: 176.8 kB / 0.7289 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.2049, allocations: 1.559 MB / 0.7304 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.2054, allocations: 0.9494 MB / 0.7313 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000342/0.2057, allocations: 117 kB / 0.7314 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.2059, allocations: 35.44 kB / 0.7315 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of SimCode: time 4.2e-07/0.2059, allocations: 0 / 0.7315 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.01356/0.2194, allocations: 8.424 MB / 0.7397 GB, free: 5.203 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)