Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001396/0.001396, allocations: 116.1 kB / 17.08 MB, free: 5.789 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.001396/0.001396, allocations: 197.9 kB / 18.02 MB, free: 4.918 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.267/1.267, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6753/0.6753, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 66.31 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1236, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007454/0.1311, allocations: 6.771 MB / 0.6394 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.1357, allocations: 3.063 MB / 0.6423 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.1362, allocations: 35.75 kB / 0.6424 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.1384, allocations: 0.959 MB / 0.6433 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.1395, allocations: 0.509 MB / 0.6438 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.1405, allocations: 453.7 kB / 0.6442 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.1416, allocations: 1.224 MB / 0.6454 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007955/0.1424, allocations: 0.666 MB / 0.6461 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.143, allocations: 482.2 kB / 0.6466 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.1435, allocations: 0.5137 MB / 0.6471 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.1436, allocations: 68 kB / 0.6471 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005916/0.1442, allocations: 387.2 kB / 0.6475 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.1445, allocations: 307.2 kB / 0.6478 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.1449, allocations: 453.7 kB / 0.6482 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.146, allocations: 1.223 MB / 0.6494 GB, free: 3.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.146, allocations: 0 / 0.6494 GB, free: 3.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1461, allocations: 4 kB / 0.6494 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1461, allocations: 3.938 kB / 0.6494 GB, free: 3.25 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001709/0.1478, allocations: 1.165 MB / 0.6506 GB, free: 2.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1478, allocations: 8.031 kB / 0.6506 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.1493, allocations: 243.5 kB / 0.6508 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.1501, allocations: 0.6037 MB / 0.6514 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.1501, allocations: 49.69 kB / 0.6514 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.1502, allocations: 64.36 kB / 0.6515 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.1516, allocations: 1.093 MB / 0.6526 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.1516, allocations: 0 / 0.6526 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.1517, allocations: 35.98 kB / 0.6526 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/0.1519, allocations: 89.19 kB / 0.6527 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.153, allocations: 0.7504 MB / 0.6534 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/0.1579, allocations: 5.878 MB / 0.6591 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.1588, allocations: 0.5561 MB / 0.6597 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.1592, allocations: 322 kB / 0.66 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1592, allocations: 8.438 kB / 0.66 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1593, allocations: 38.98 kB / 0.66 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.1593, allocations: 0 / 0.66 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003471/0.1627, allocations: 1.986 MB / 0.662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1628, allocations: 55.84 kB / 0.662 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.1634, allocations: 0.5665 MB / 0.6626 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.1634, allocations: 37.7 kB / 0.6626 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.1636, allocations: 415 kB / 0.663 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1638, allocations: 173.6 kB / 0.6632 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1639, allocations: 122.5 kB / 0.6633 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1641, allocations: 378.7 kB / 0.6637 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.1644, allocations: 277.8 kB / 0.6639 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.1649, allocations: 496.9 kB / 0.6644 GB, free: 3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/0.1658, allocations: 0.8132 MB / 0.6652 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1659, allocations: 4 kB / 0.6652 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001634/0.1675, allocations: 1.083 MB / 0.6663 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1675, allocations: 12.16 kB / 0.6663 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1675, allocations: 8 kB / 0.6663 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007754/0.1683, allocations: 275.2 kB / 0.6665 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.1688, allocations: 127.7 kB / 0.6667 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.1747, allocations: 7.134 MB / 0.6736 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.1753, allocations: 39.97 kB / 0.6737 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.1754, allocations: 31.94 kB / 0.6737 GB, free: 8.789 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.0003254/0.1757, allocations: 256.1 kB / 0.6739 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.1758, allocations: 71.16 kB / 0.674 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.1773, allocations: 0.8925 MB / 0.6749 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1773, allocations: 8 kB / 0.6749 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1773, allocations: 4 kB / 0.6749 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1773, allocations: 3.984 kB / 0.6749 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.1796, allocations: 1.729 MB / 0.6766 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1797, allocations: 8 kB / 0.6766 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1799, allocations: 63.83 kB / 0.6767 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000685/0.1806, allocations: 263.2 kB / 0.6769 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1807, allocations: 11.94 kB / 0.6769 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00578/0.1864, allocations: 7.123 MB / 0.6839 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1865, allocations: 0 / 0.6839 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.1879, allocations: 0.9834 MB / 0.6848 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.1882, allocations: 192.2 kB / 0.685 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.1883, allocations: 11.98 kB / 0.685 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.1886, allocations: 39.91 kB / 0.6851 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1888, allocations: 35.89 kB / 0.6851 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.1888, allocations: 19.98 kB / 0.6851 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004003/0.1892, allocations: 391.1 kB / 0.6855 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.224e-06/0.1892, allocations: 0 / 0.6855 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007166/0.1899, allocations: 227.9 kB / 0.6857 GB, free: 11.73 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.00014/0.1901, allocations: 115.2 kB / 0.6858 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.1918, allocations: 1.268 MB / 0.6871 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1919, allocations: 4.125 kB / 0.6871 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.193, allocations: 0.8974 MB / 0.6879 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.1939, allocations: 223 kB / 0.6881 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1959, allocations: 1.398 MB / 0.6895 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.1964, allocations: 1.013 MB / 0.6905 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1965, allocations: 51.42 kB / 0.6906 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.1965, allocations: 3.938 kB / 0.6906 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of Templates: time 0.01979/0.2163, allocations: 20.91 MB / 0.711 GB, free: 1.711 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)