Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.009025/0.009025, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 262.9 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9363/0.9363, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004301, allocations: 12.81 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006557/0.1487, allocations: 6.357 MB / 0.6913 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.1529, allocations: 3.049 MB / 0.6943 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.1532, allocations: 27.22 kB / 0.6943 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1535, allocations: 138.8 kB / 0.6945 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008686/0.1544, allocations: 475.8 kB / 0.6949 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.1552, allocations: 403.5 kB / 0.6953 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.1566, allocations: 1.599 MB / 0.6969 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.1582, allocations: 1.003 MB / 0.6979 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.1587, allocations: 386.3 kB / 0.6982 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.1593, allocations: 0.4941 MB / 0.6987 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.1594, allocations: 36 kB / 0.6987 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.1601, allocations: 443.1 kB / 0.6992 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.1603, allocations: 275.1 kB / 0.6994 GB, free: 400 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.1607, allocations: 423.6 kB / 0.6998 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.1618, allocations: 1.191 MB / 0.701 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1618, allocations: 8 kB / 0.701 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1618, allocations: 0 / 0.701 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.1618, allocations: 0 / 0.701 GB, free: 14.77 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001552/0.1634, allocations: 1.005 MB / 0.702 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1634, allocations: 16.03 kB / 0.702 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.1649, allocations: 239.5 kB / 0.7022 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.1657, allocations: 0.5569 MB / 0.7028 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.1657, allocations: 45.67 kB / 0.7028 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1658, allocations: 68.36 kB / 0.7029 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.1672, allocations: 1.081 MB / 0.7039 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.1672, allocations: 7.938 kB / 0.7039 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.1673, allocations: 27.98 kB / 0.704 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.1675, allocations: 85.25 kB / 0.7041 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1686, allocations: 0.7504 MB / 0.7048 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.1733, allocations: 5.905 MB / 0.7106 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.1743, allocations: 0.5594 MB / 0.7111 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.1747, allocations: 326 kB / 0.7114 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.1747, allocations: 8.438 kB / 0.7114 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1748, allocations: 35 kB / 0.7114 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.1748, allocations: 0 / 0.7114 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003681/0.1785, allocations: 2.002 MB / 0.7134 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1785, allocations: 59.83 kB / 0.7135 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.1791, allocations: 0.5626 MB / 0.714 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1791, allocations: 29.7 kB / 0.714 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.1794, allocations: 426.9 kB / 0.7144 GB, free: 228 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1795, allocations: 165.6 kB / 0.7146 GB, free: 60 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.1796, allocations: 61.77 kB / 0.7147 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1797, allocations: 378.7 kB / 0.715 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.1801, allocations: 269.8 kB / 0.7153 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.1806, allocations: 0.4892 MB / 0.7158 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/0.1816, allocations: 0.8094 MB / 0.7165 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1816, allocations: 3.938 kB / 0.7166 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001719/0.1833, allocations: 1.083 MB / 0.7176 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1834, allocations: 10 kB / 0.7176 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.1834, allocations: 12 kB / 0.7176 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007826/0.1842, allocations: 275.2 kB / 0.7179 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.1846, allocations: 127.8 kB / 0.718 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.1902, allocations: 6.606 MB / 0.7245 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.1907, allocations: 43.91 kB / 0.7245 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.1908, allocations: 31.94 kB / 0.7245 GB, free: 5.109 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.000305/0.1911, allocations: 258.9 kB / 0.7248 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.1912, allocations: 71.25 kB / 0.7249 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.1927, allocations: 0.8847 MB / 0.7257 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1927, allocations: 11.98 kB / 0.7257 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1927, allocations: 4 kB / 0.7257 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1927, allocations: 0 / 0.7257 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.1951, allocations: 1.724 MB / 0.7274 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.1951, allocations: 7.938 kB / 0.7274 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1954, allocations: 55.95 kB / 0.7275 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007024/0.1961, allocations: 271.3 kB / 0.7277 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.1961, allocations: 8 kB / 0.7277 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005453/0.2016, allocations: 6.587 MB / 0.7342 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.2016, allocations: 7.969 kB / 0.7342 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.2031, allocations: 0.9834 MB / 0.7351 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.2033, allocations: 192.2 kB / 0.7353 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.2034, allocations: 12.12 kB / 0.7353 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.2038, allocations: 35.95 kB / 0.7354 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.2039, allocations: 47.89 kB / 0.7354 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.2039, allocations: 16 kB / 0.7354 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003916/0.2043, allocations: 387.1 kB / 0.7358 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2043, allocations: 0 / 0.7358 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007265/0.205, allocations: 228 kB / 0.736 GB, free: 8.621 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.2052, allocations: 119.9 kB / 0.7361 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.2069, allocations: 1.275 MB / 0.7374 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2069, allocations: 4.125 kB / 0.7374 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.2081, allocations: 0.8815 MB / 0.7382 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.2092, allocations: 213.6 kB / 0.7385 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.2111, allocations: 1.673 MB / 0.7401 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.2117, allocations: 1.009 MB / 0.7411 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003776/0.2121, allocations: 129.9 kB / 0.7412 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2122, allocations: 39.44 kB / 0.7412 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.2122, allocations: 0 / 0.7412 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of Templates: time 0.01634/0.2285, allocations: 10.63 MB / 0.7516 GB, free: 8.609 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)