Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.000902/0.0009021, allocations: 91.53 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.00612/0.00612, allocations: 174.2 kB / 16.27 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 266.2 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9616/0.9616, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004535, allocations: 18.7 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006106/0.1609, allocations: 5.728 MB / 0.6907 GB, free: 9.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.1656, allocations: 3.136 MB / 0.6938 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.166, allocations: 32.34 kB / 0.6938 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1663, allocations: 123 kB / 0.6939 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.1673, allocations: 442.3 kB / 0.6944 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1684, allocations: 460.5 kB / 0.6948 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.1698, allocations: 1.465 MB / 0.6962 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.1715, allocations: 1.003 MB / 0.6972 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.1721, allocations: 354.3 kB / 0.6976 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.1726, allocations: 450.1 kB / 0.698 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.1727, allocations: 32 kB / 0.698 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.1736, allocations: 0.5652 MB / 0.6986 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.1739, allocations: 251.3 kB / 0.6988 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.1742, allocations: 391.6 kB / 0.6992 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.1753, allocations: 1.168 MB / 0.7003 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1753, allocations: 4 kB / 0.7003 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1753, allocations: 0 / 0.7003 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.1753, allocations: 0 / 0.7003 GB, free: 15.48 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001318/0.1767, allocations: 0.9077 MB / 0.7012 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1767, allocations: 12.03 kB / 0.7012 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.1782, allocations: 231.5 kB / 0.7014 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007109/0.1789, allocations: 0.5414 MB / 0.702 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.1789, allocations: 45.67 kB / 0.702 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1791, allocations: 68.34 kB / 0.7021 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.1804, allocations: 1.022 MB / 0.7031 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.1804, allocations: 15.84 kB / 0.7031 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.1805, allocations: 31.98 kB / 0.7031 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/0.1806, allocations: 69.27 kB / 0.7032 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009699/0.1816, allocations: 0.6918 MB / 0.7039 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004542/0.1861, allocations: 5.764 MB / 0.7095 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/0.1869, allocations: 0.5949 MB / 0.7101 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.1877, allocations: 416.6 kB / 0.7105 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.1877, allocations: 4 kB / 0.7105 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1877, allocations: 38.56 kB / 0.7105 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.375e-06/0.1878, allocations: 3.938 kB / 0.7105 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004329/0.1921, allocations: 2.073 MB / 0.7125 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1921, allocations: 55.41 kB / 0.7126 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.1926, allocations: 466.8 kB / 0.713 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.1926, allocations: 29.7 kB / 0.7131 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1929, allocations: 399 kB / 0.7134 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.193, allocations: 153.9 kB / 0.7136 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.1931, allocations: 49.7 kB / 0.7136 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1932, allocations: 362.8 kB / 0.714 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.1935, allocations: 253.2 kB / 0.7142 GB, free: 428 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.194, allocations: 457 kB / 0.7147 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.1949, allocations: 0.7556 MB / 0.7154 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1949, allocations: 0 / 0.7154 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001791/0.1967, allocations: 1.07 MB / 0.7164 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1967, allocations: 8 kB / 0.7165 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1968, allocations: 8 kB / 0.7165 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.1978, allocations: 327.2 kB / 0.7168 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1981, allocations: 95.83 kB / 0.7169 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006351/0.2044, allocations: 6.95 MB / 0.7237 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.2049, allocations: 28.03 kB / 0.7237 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.205, allocations: 24 kB / 0.7237 GB, free: 5.953 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.0003639/0.2054, allocations: 255.5 kB / 0.7239 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.2055, allocations: 59.25 kB / 0.724 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.2072, allocations: 0.916 MB / 0.7249 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2072, allocations: 4 kB / 0.7249 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2072, allocations: 4 kB / 0.7249 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2072, allocations: 4.078 kB / 0.7249 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.2097, allocations: 1.716 MB / 0.7266 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2097, allocations: 7.984 kB / 0.7266 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.2099, allocations: 48.09 kB / 0.7266 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009353/0.2109, allocations: 323 kB / 0.7269 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.2109, allocations: 12 kB / 0.727 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006397/0.2173, allocations: 6.935 MB / 0.7337 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2173, allocations: 4 kB / 0.7337 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.219, allocations: 1.015 MB / 0.7347 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.2193, allocations: 172.3 kB / 0.7349 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.2194, allocations: 12 kB / 0.7349 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.2197, allocations: 19.97 kB / 0.7349 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2198, allocations: 48.12 kB / 0.735 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.2198, allocations: 15.92 kB / 0.735 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003302/0.2201, allocations: 314.9 kB / 0.7353 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2202, allocations: 0 / 0.7353 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007459/0.2209, allocations: 192 kB / 0.7355 GB, free: 9.18 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.0001475/0.2211, allocations: 115.9 kB / 0.7356 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.2229, allocations: 1.199 MB / 0.7367 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2229, allocations: 0 / 0.7367 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.2242, allocations: 0.862 MB / 0.7376 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2253, allocations: 196.2 kB / 0.7378 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.2274, allocations: 1.541 MB / 0.7393 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.2279, allocations: 0.9921 MB / 0.7402 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.2282, allocations: 97.19 kB / 0.7403 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.2283, allocations: 35.44 kB / 0.7404 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of SimCode: time 3.306e-06/0.2283, allocations: 0 / 0.7404 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of Templates: time 0.0161/0.2444, allocations: 9.491 MB / 0.7496 GB, free: 10.58 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)