Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 111 kB / 17.33 MB, free: 5.043 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.001496/0.001496, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.358/1.358, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7867/0.7867, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.67 kB / 0.5912 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.157, allocations: 83.26 MB / 0.6725 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007634/0.1646, allocations: 5.531 MB / 0.6779 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00466/0.1693, allocations: 2.654 MB / 0.6805 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.1697, allocations: 19.88 kB / 0.6805 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.1716, allocations: 0.6875 MB / 0.6812 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.1728, allocations: 429.7 kB / 0.6816 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1739, allocations: 399 kB / 0.6819 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1751, allocations: 0.9473 MB / 0.6829 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.1756, allocations: 374.6 kB / 0.6832 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.1761, allocations: 386.5 kB / 0.6836 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.1767, allocations: 418.4 kB / 0.684 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.1768, allocations: 48 kB / 0.684 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.1774, allocations: 375.2 kB / 0.6844 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.1777, allocations: 255.2 kB / 0.6846 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.1781, allocations: 350.2 kB / 0.685 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1793, allocations: 0.9727 MB / 0.6859 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1793, allocations: 4 kB / 0.6859 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1793, allocations: 0 / 0.6859 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.1793, allocations: 4 kB / 0.6859 GB, free: 6.051 MB / 0.5137 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.001639/0.181, allocations: 0.9883 MB / 0.6869 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.181, allocations: 8.031 kB / 0.6869 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1824, allocations: 204.2 kB / 0.6871 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.1832, allocations: 0.5145 MB / 0.6876 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.1832, allocations: 33.38 kB / 0.6876 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1833, allocations: 60.53 kB / 0.6877 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1846, allocations: 0.8318 MB / 0.6885 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.1846, allocations: 3.984 kB / 0.6885 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.1847, allocations: 31.94 kB / 0.6885 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.1849, allocations: 64.95 kB / 0.6886 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.1858, allocations: 0.5658 MB / 0.6892 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/0.1906, allocations: 4.578 MB / 0.6936 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.191, allocations: 287.2 kB / 0.6939 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.1914, allocations: 213.2 kB / 0.6941 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1914, allocations: 8.266 kB / 0.6941 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1914, allocations: 34.84 kB / 0.6941 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.1914, allocations: 0 / 0.6941 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.005704/0.1972, allocations: 2.632 MB / 0.6967 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1972, allocations: 59.39 kB / 0.6968 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.1977, allocations: 458 kB / 0.6972 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.1978, allocations: 33.7 kB / 0.6972 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.198, allocations: 356.4 kB / 0.6976 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1982, allocations: 142.7 kB / 0.6977 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.1984, allocations: 110.2 kB / 0.6978 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.1985, allocations: 358.8 kB / 0.6982 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.1989, allocations: 245 kB / 0.6984 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.1995, allocations: 410.4 kB / 0.6988 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009805/0.2004, allocations: 0.674 MB / 0.6994 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2004, allocations: 0 / 0.6994 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001767/0.2022, allocations: 0.9138 MB / 0.7003 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.2022, allocations: 10.66 kB / 0.7003 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2022, allocations: 4 kB / 0.7003 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007837/0.203, allocations: 226.5 kB / 0.7006 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.2035, allocations: 115.8 kB / 0.7007 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005688/0.2092, allocations: 5.345 MB / 0.7059 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.2097, allocations: 27.97 kB / 0.7059 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.2097, allocations: 24 kB / 0.7059 GB, free: 244 kB / 0.5294 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.000346/0.2101, allocations: 227.1 kB / 0.7062 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2102, allocations: 63.61 kB / 0.7062 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.2117, allocations: 0.7693 MB / 0.707 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2117, allocations: 4 kB / 0.707 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2117, allocations: 4 kB / 0.707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2117, allocations: 7.922 kB / 0.707 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.2143, allocations: 1.487 MB / 0.7084 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2143, allocations: 224 / 0.7084 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.2146, allocations: 72.08 kB / 0.7085 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/0.2153, allocations: 214.4 kB / 0.7087 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2154, allocations: 12 kB / 0.7087 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/0.2207, allocations: 5.273 MB / 0.7139 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2207, allocations: 0 / 0.7139 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2226, allocations: 1.128 MB / 0.715 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.2228, allocations: 168.7 kB / 0.7151 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.2229, allocations: 20 kB / 0.7152 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.2232, allocations: 23.97 kB / 0.7152 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.2233, allocations: 31.95 kB / 0.7152 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.2233, allocations: 12 kB / 0.7152 GB, free: 6.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003717/0.2237, allocations: 318.8 kB / 0.7155 GB, free: 5.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2237, allocations: 0 / 0.7155 GB, free: 5.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006613/0.2243, allocations: 168 kB / 0.7157 GB, free: 5.66 MB / 0.545 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.0001533/0.2245, allocations: 111.2 kB / 0.7158 GB, free: 5.539 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.2261, allocations: 0.9774 MB / 0.7167 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2261, allocations: 0 / 0.7167 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.2271, allocations: 0.6603 MB / 0.7174 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.2279, allocations: 182.2 kB / 0.7176 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.23, allocations: 1.283 MB / 0.7188 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.2306, allocations: 0.9533 MB / 0.7197 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003154/0.231, allocations: 113 kB / 0.7199 GB, free: 1.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2311, allocations: 35.44 kB / 0.7199 GB, free: 1.191 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.2311, allocations: 0 / 0.7199 GB, free: 1.191 MB / 0.545 GB Notification: Performance of Templates: time 0.01677/0.2478, allocations: 9.149 MB / 0.7288 GB, free: 8.156 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480]