Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001439/0.001439, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 283.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9504/0.9504, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 86.83 kB / 0.5945 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1508, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00696/0.1578, allocations: 6.072 MB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.1623, allocations: 3.177 MB / 0.6885 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.1626, allocations: 27.81 kB / 0.6885 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.1647, allocations: 0.8707 MB / 0.6894 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.1656, allocations: 438 kB / 0.6898 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.1666, allocations: 439.1 kB / 0.6902 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.1678, allocations: 1.459 MB / 0.6916 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008366/0.1686, allocations: 0.6289 MB / 0.6922 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.1691, allocations: 386.3 kB / 0.6926 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.1696, allocations: 478.2 kB / 0.6931 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/0.1697, allocations: 44 kB / 0.6931 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008528/0.1705, allocations: 0.5847 MB / 0.6937 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.1708, allocations: 283.2 kB / 0.6939 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.1711, allocations: 382 kB / 0.6943 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1722, allocations: 1.184 MB / 0.6955 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1722, allocations: 0 / 0.6955 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1722, allocations: 0 / 0.6955 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1722, allocations: 0 / 0.6955 GB, free: 0.7344 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001479/0.1737, allocations: 1.052 MB / 0.6965 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1737, allocations: 8.031 kB / 0.6965 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.1752, allocations: 223.6 kB / 0.6967 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.1759, allocations: 0.5258 MB / 0.6972 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.176, allocations: 53.67 kB / 0.6973 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-05/0.1761, allocations: 60.36 kB / 0.6973 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.1774, allocations: 1.034 MB / 0.6983 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.1775, allocations: 7.938 kB / 0.6983 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.1775, allocations: 27.98 kB / 0.6984 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.702e-05/0.1776, allocations: 69.27 kB / 0.6984 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.1786, allocations: 0.6918 MB / 0.6991 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/0.1833, allocations: 5.756 MB / 0.7047 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.1841, allocations: 0.591 MB / 0.7053 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.1849, allocations: 423 kB / 0.7057 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1849, allocations: 4 kB / 0.7057 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.185, allocations: 42.56 kB / 0.7058 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.185, allocations: 0 / 0.7058 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004345/0.1893, allocations: 2.061 MB / 0.7078 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1894, allocations: 55.41 kB / 0.7078 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.1898, allocations: 454.7 kB / 0.7083 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1899, allocations: 33.7 kB / 0.7083 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.1901, allocations: 387 kB / 0.7087 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1902, allocations: 145.9 kB / 0.7088 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.1904, allocations: 118.2 kB / 0.7089 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1905, allocations: 366.7 kB / 0.7093 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.1909, allocations: 245.2 kB / 0.7095 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.1914, allocations: 457 kB / 0.7099 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008975/0.1923, allocations: 0.7558 MB / 0.7107 GB, free: 144 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1923, allocations: 0 / 0.7107 GB, free: 144 kB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001833/0.1941, allocations: 1.062 MB / 0.7117 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1942, allocations: 8 kB / 0.7117 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1942, allocations: 8 kB / 0.7117 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.1952, allocations: 339.5 kB / 0.712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.1955, allocations: 91.83 kB / 0.7121 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.202, allocations: 6.946 MB / 0.7189 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2025, allocations: 32.02 kB / 0.7189 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.2025, allocations: 27.94 kB / 0.719 GB, free: 7.066 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003261/0.2029, allocations: 251.8 kB / 0.7192 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.203, allocations: 55.34 kB / 0.7193 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.2047, allocations: 0.9158 MB / 0.7202 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2047, allocations: 12 kB / 0.7202 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2047, allocations: 4 kB / 0.7202 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2047, allocations: 0 / 0.7202 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.2073, allocations: 1.708 MB / 0.7218 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2073, allocations: 4 kB / 0.7218 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2075, allocations: 39.91 kB / 0.7219 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000988/0.2085, allocations: 327.3 kB / 0.7222 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.2085, allocations: 8 kB / 0.7222 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.215, allocations: 6.943 MB / 0.729 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.215, allocations: 4 kB / 0.729 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.2167, allocations: 1.019 MB / 0.73 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.2169, allocations: 168.4 kB / 0.7301 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.217, allocations: 15.98 kB / 0.7302 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.2173, allocations: 20.27 kB / 0.7302 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2174, allocations: 43.88 kB / 0.7302 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.2174, allocations: 15.94 kB / 0.7302 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003515/0.2178, allocations: 310.8 kB / 0.7305 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2178, allocations: 0 / 0.7305 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007664/0.2186, allocations: 192 kB / 0.7307 GB, free: 10.31 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.2187, allocations: 124 kB / 0.7308 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.2205, allocations: 1.199 MB / 0.732 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2206, allocations: 4.062 kB / 0.732 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.2217, allocations: 0.8621 MB / 0.7329 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/0.2227, allocations: 190.3 kB / 0.733 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2249, allocations: 1.515 MB / 0.7345 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.2255, allocations: 0.9881 MB / 0.7355 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003088/0.2258, allocations: 93.19 kB / 0.7356 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.2259, allocations: 35.44 kB / 0.7356 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.2259, allocations: 4 kB / 0.7356 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of Templates: time 0.01532/0.2412, allocations: 9.631 MB / 0.745 GB, free: 11.59 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)