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.001519/0.001519, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001642/0.001642, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002234/0.002234, allocations: 286.8 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 93.5 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1484, allocations: 86.97 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006996/0.1554, allocations: 6.077 MB / 0.6856 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.16, allocations: 3.129 MB / 0.6886 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.1604, allocations: 27.81 kB / 0.6887 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.1627, allocations: 0.8783 MB / 0.6895 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.1639, allocations: 434 kB / 0.6899 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1651, allocations: 441.8 kB / 0.6903 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1664, allocations: 1.104 MB / 0.6914 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009655/0.1673, allocations: 0.7094 MB / 0.6921 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.168, allocations: 438.3 kB / 0.6925 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.1686, allocations: 0.4904 MB / 0.693 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1688, allocations: 56 kB / 0.6931 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007626/0.1695, allocations: 487 kB / 0.6935 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.1698, allocations: 295.2 kB / 0.6938 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.1702, allocations: 394 kB / 0.6942 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.1715, allocations: 1.203 MB / 0.6954 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1715, allocations: 0 / 0.6954 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1715, allocations: 0 / 0.6954 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.303e-05/0.1716, allocations: 0 / 0.6954 GB, free: 0.9336 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.001672/0.1733, allocations: 1.06 MB / 0.6964 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1733, allocations: 8.031 kB / 0.6964 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.1748, allocations: 215.6 kB / 0.6966 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.1756, allocations: 0.5337 MB / 0.6971 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.1756, allocations: 41.69 kB / 0.6972 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.1757, allocations: 64.36 kB / 0.6972 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1771, allocations: 1.038 MB / 0.6982 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.1771, allocations: 8 kB / 0.6983 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.1772, allocations: 27.94 kB / 0.6983 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-05/0.1773, allocations: 73.27 kB / 0.6983 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1784, allocations: 0.6918 MB / 0.699 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.183, allocations: 5.752 MB / 0.7046 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.1838, allocations: 0.5949 MB / 0.7052 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.1845, allocations: 420.6 kB / 0.7056 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.1846, allocations: 4 kB / 0.7056 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1846, allocations: 42.56 kB / 0.7057 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.843e-06/0.1846, allocations: 0 / 0.7057 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004203/0.1888, allocations: 2.05 MB / 0.7077 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1889, allocations: 55.41 kB / 0.7077 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.1893, allocations: 462.6 kB / 0.7082 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.1894, allocations: 37.7 kB / 0.7082 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1896, allocations: 387 kB / 0.7086 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1897, allocations: 153.8 kB / 0.7087 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1899, allocations: 106.2 kB / 0.7088 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.19, allocations: 366.8 kB / 0.7092 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.1903, allocations: 249.2 kB / 0.7094 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.1908, allocations: 457 kB / 0.7098 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.1917, allocations: 0.7558 MB / 0.7106 GB, free: 332 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1917, allocations: 3.984 kB / 0.7106 GB, free: 328 kB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001789/0.1935, allocations: 1.062 MB / 0.7116 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1935, allocations: 10.19 kB / 0.7116 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1935, allocations: 8 kB / 0.7116 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.1945, allocations: 327.8 kB / 0.7119 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.1948, allocations: 99.81 kB / 0.712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006665/0.2015, allocations: 7.518 MB / 0.7194 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.2019, allocations: 32.02 kB / 0.7194 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.202, allocations: 32 kB / 0.7194 GB, free: 6.648 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.0002914/0.2023, allocations: 239.6 kB / 0.7197 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.2024, allocations: 63.28 kB / 0.7197 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.204, allocations: 0.9197 MB / 0.7206 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.204, allocations: 4 kB / 0.7206 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.204, allocations: 4 kB / 0.7206 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2041, allocations: 0 / 0.7206 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.2067, allocations: 1.708 MB / 0.7223 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2067, allocations: 192 / 0.7223 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2068, allocations: 47.91 kB / 0.7224 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009277/0.2078, allocations: 327.2 kB / 0.7227 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.2078, allocations: 12 kB / 0.7227 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/0.2143, allocations: 7.513 MB / 0.73 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2143, allocations: 0 / 0.73 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.2159, allocations: 1.023 MB / 0.731 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.2162, allocations: 168.4 kB / 0.7312 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.2164, allocations: 16 kB / 0.7312 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.2169, allocations: 23.97 kB / 0.7312 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.217, allocations: 39.89 kB / 0.7313 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.217, allocations: 12 kB / 0.7313 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003064/0.2173, allocations: 306.9 kB / 0.7316 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.2173, allocations: 0 / 0.7316 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000883/0.2182, allocations: 199.9 kB / 0.7317 GB, free: 9.305 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.0001897/0.2184, allocations: 119.1 kB / 0.7319 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.2205, allocations: 1.249 MB / 0.7331 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2205, allocations: 0 / 0.7331 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.2218, allocations: 0.862 MB / 0.7339 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.2228, allocations: 211 kB / 0.7341 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.2249, allocations: 1.516 MB / 0.7356 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.2256, allocations: 0.9921 MB / 0.7366 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003018/0.2259, allocations: 97.17 kB / 0.7367 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.226, allocations: 39.44 kB / 0.7367 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.226, allocations: 0 / 0.7367 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of Templates: time 0.01706/0.243, allocations: 10.04 MB / 0.7465 GB, free: 10.11 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)