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.001366/0.001366, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001383/0.001383, allocations: 187.9 kB / 16.25 MB, free: 6.637 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002591/0.002591, allocations: 294.8 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.5069 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002748, allocations: 96.8 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.0081/0.1728, allocations: 5.545 MB / 0.6984 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004792/0.1777, allocations: 2.633 MB / 0.701 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004526/0.1781, allocations: 23.81 kB / 0.701 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.18, allocations: 0.645 MB / 0.7016 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.1811, allocations: 378.1 kB / 0.702 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1821, allocations: 375.3 kB / 0.7023 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.1832, allocations: 0.9591 MB / 0.7033 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.1841, allocations: 0.4987 MB / 0.7038 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.1845, allocations: 378.5 kB / 0.7041 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.1851, allocations: 426.3 kB / 0.7045 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-05/0.1852, allocations: 48 kB / 0.7046 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.1858, allocations: 359.3 kB / 0.7049 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.1861, allocations: 247.3 kB / 0.7052 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.1864, allocations: 354.2 kB / 0.7055 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1876, allocations: 0.9928 MB / 0.7065 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1876, allocations: 0 / 0.7065 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1876, allocations: 4 kB / 0.7065 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.1876, allocations: 0 / 0.7065 GB, free: 6.855 MB / 0.4981 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.001762/0.1894, allocations: 0.9698 MB / 0.7074 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1894, allocations: 11.97 kB / 0.7074 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.1908, allocations: 195.8 kB / 0.7076 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007667/0.1916, allocations: 0.4983 MB / 0.7081 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.1917, allocations: 37.38 kB / 0.7081 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.1918, allocations: 56.53 kB / 0.7082 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.1931, allocations: 0.8286 MB / 0.709 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.1932, allocations: 11.94 kB / 0.709 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.1932, allocations: 24 kB / 0.709 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/0.1934, allocations: 64.94 kB / 0.7091 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.1944, allocations: 0.5696 MB / 0.7097 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.1993, allocations: 4.585 MB / 0.7141 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.1998, allocations: 287.3 kB / 0.7144 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.2002, allocations: 233.2 kB / 0.7146 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2002, allocations: 4.281 kB / 0.7146 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2003, allocations: 42.83 kB / 0.7147 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/0.2003, allocations: 0 / 0.7147 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.005956/0.2063, allocations: 2.626 MB / 0.7172 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2063, allocations: 55.41 kB / 0.7173 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.2069, allocations: 466 kB / 0.7177 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.2069, allocations: 33.7 kB / 0.7178 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.2072, allocations: 343.6 kB / 0.7181 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2073, allocations: 149.9 kB / 0.7182 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.2075, allocations: 102.2 kB / 0.7183 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.2077, allocations: 358.8 kB / 0.7187 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.2081, allocations: 248.9 kB / 0.7189 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.2087, allocations: 402.5 kB / 0.7193 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009455/0.2096, allocations: 0.67 MB / 0.72 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.2096, allocations: 4 kB / 0.72 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00179/0.2114, allocations: 0.929 MB / 0.7209 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2114, allocations: 8 kB / 0.7209 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2115, allocations: 4 kB / 0.7209 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008393/0.2123, allocations: 230.4 kB / 0.7211 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.2128, allocations: 111.8 kB / 0.7212 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005795/0.2186, allocations: 5.339 MB / 0.7264 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.2191, allocations: 31.97 kB / 0.7264 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.2192, allocations: 27.98 kB / 0.7265 GB, free: 1.055 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.0003133/0.2195, allocations: 221.7 kB / 0.7267 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2196, allocations: 59.28 kB / 0.7267 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.2212, allocations: 0.7737 MB / 0.7275 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2212, allocations: 4 kB / 0.7275 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2213, allocations: 4.125 kB / 0.7275 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2213, allocations: 3.984 kB / 0.7275 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.2239, allocations: 1.502 MB / 0.729 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2239, allocations: 4.031 kB / 0.729 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.2243, allocations: 71.89 kB / 0.729 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/0.225, allocations: 210.3 kB / 0.7292 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.2251, allocations: 8 kB / 0.7293 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.2305, allocations: 5.27 MB / 0.7344 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.2305, allocations: 7.922 kB / 0.7344 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.2324, allocations: 1.147 MB / 0.7355 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.2327, allocations: 168.4 kB / 0.7357 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.2327, allocations: 11.94 kB / 0.7357 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.2331, allocations: 27.97 kB / 0.7357 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.2332, allocations: 35.89 kB / 0.7358 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.2332, allocations: 16 kB / 0.7358 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003989/0.2336, allocations: 314.9 kB / 0.7361 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2336, allocations: 4.062 kB / 0.7361 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007324/0.2344, allocations: 168 kB / 0.7362 GB, free: 6.441 MB / 0.5294 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.0001796/0.2346, allocations: 114.2 kB / 0.7364 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.2365, allocations: 1.059 MB / 0.7374 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2366, allocations: 0 / 0.7374 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.2376, allocations: 0.676 MB / 0.738 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.2386, allocations: 190.9 kB / 0.7382 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.2411, allocations: 1.519 MB / 0.7397 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.2418, allocations: 0.9455 MB / 0.7406 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.2422, allocations: 117 kB / 0.7407 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2423, allocations: 35.44 kB / 0.7408 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of SimCode: time 2.505e-06/0.2423, allocations: 0 / 0.7408 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of Templates: time 0.01698/0.2593, allocations: 8.923 MB / 0.7495 GB, free: 8.848 MB / 0.545 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)