Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001242/0.001242, allocations: 104.9 kB / 16.4 MB, free: 6.461 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.001395/0.001395, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 68.98 kB / 0.5577 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 76.18 MB / 0.6321 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007064/0.1317, allocations: 6.133 MB / 0.6381 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.1363, allocations: 3.172 MB / 0.6412 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.1366, allocations: 27.81 kB / 0.6412 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.1386, allocations: 0.9321 MB / 0.6421 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008744/0.1395, allocations: 477.5 kB / 0.6426 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1406, allocations: 0.4937 MB / 0.643 GB, free: 9.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.1418, allocations: 1.096 MB / 0.6441 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008534/0.1426, allocations: 0.6465 MB / 0.6447 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004851/0.1431, allocations: 442.4 kB / 0.6452 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.1437, allocations: 474.2 kB / 0.6456 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.732e-05/0.1438, allocations: 56 kB / 0.6457 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.1445, allocations: 483 kB / 0.6461 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.1447, allocations: 291.2 kB / 0.6464 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.1451, allocations: 405.9 kB / 0.6468 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1461, allocations: 1.184 MB / 0.648 GB, free: 4.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1461, allocations: 0 / 0.648 GB, free: 4.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1461, allocations: 0 / 0.648 GB, free: 4.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1461, allocations: 0 / 0.648 GB, free: 4.215 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.001323/0.1474, allocations: 1.063 MB / 0.649 GB, free: 3.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.1475, allocations: 8.031 kB / 0.649 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.1489, allocations: 223.6 kB / 0.6492 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/0.1497, allocations: 0.5883 MB / 0.6498 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.1498, allocations: 49.67 kB / 0.6498 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.1499, allocations: 60.36 kB / 0.6499 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.1512, allocations: 1.038 MB / 0.6509 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.1512, allocations: 11.84 kB / 0.6509 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/0.1513, allocations: 35.98 kB / 0.651 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/0.1514, allocations: 69.2 kB / 0.651 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.1523, allocations: 0.6957 MB / 0.6517 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.1564, allocations: 5.733 MB / 0.6573 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.1572, allocations: 0.6016 MB / 0.6579 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/0.1579, allocations: 441 kB / 0.6583 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1579, allocations: 7.781 kB / 0.6583 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.158, allocations: 38.56 kB / 0.6583 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.158, allocations: 0 / 0.6583 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004143/0.1621, allocations: 2.01 MB / 0.6603 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1622, allocations: 59.34 kB / 0.6604 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.1627, allocations: 466.7 kB / 0.6608 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1627, allocations: 29.7 kB / 0.6608 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.163, allocations: 391 kB / 0.6612 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.1631, allocations: 149.9 kB / 0.6614 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.1634, allocations: 106.2 kB / 0.6615 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1636, allocations: 374.8 kB / 0.6618 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.1639, allocations: 241.2 kB / 0.662 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.1644, allocations: 449 kB / 0.6625 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/0.1652, allocations: 0.748 MB / 0.6632 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1652, allocations: 0 / 0.6632 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001657/0.1669, allocations: 1.043 MB / 0.6642 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1669, allocations: 17.55 kB / 0.6642 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.167, allocations: 4 kB / 0.6642 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009364/0.1679, allocations: 315 kB / 0.6645 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.1682, allocations: 103.8 kB / 0.6646 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.1746, allocations: 7.478 MB / 0.6719 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.175, allocations: 27.98 kB / 0.672 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.175, allocations: 28 kB / 0.672 GB, free: 9.965 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.0003059/0.1754, allocations: 241.6 kB / 0.6722 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.1754, allocations: 63.28 kB / 0.6723 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.177, allocations: 0.8884 MB / 0.6732 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.177, allocations: 4 kB / 0.6732 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.177, allocations: 4 kB / 0.6732 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.177, allocations: 4 kB / 0.6732 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.1793, allocations: 1.68 MB / 0.6748 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1793, allocations: 0 / 0.6748 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1795, allocations: 47.91 kB / 0.6749 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008033/0.1803, allocations: 307.3 kB / 0.6752 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1803, allocations: 12 kB / 0.6752 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006138/0.1865, allocations: 7.459 MB / 0.6824 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1865, allocations: 3.938 kB / 0.6824 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.188, allocations: 0.9874 MB / 0.6834 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.1882, allocations: 180.3 kB / 0.6836 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.1883, allocations: 8 kB / 0.6836 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1886, allocations: 23.97 kB / 0.6836 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1887, allocations: 51.83 kB / 0.6837 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.1887, allocations: 12 kB / 0.6837 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003044/0.189, allocations: 310.9 kB / 0.684 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1891, allocations: 0 / 0.684 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007258/0.1898, allocations: 196 kB / 0.6842 GB, free: 12.75 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.0001486/0.1899, allocations: 111.1 kB / 0.6843 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.1917, allocations: 1.199 MB / 0.6854 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1917, allocations: 0 / 0.6854 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.1928, allocations: 0.8657 MB / 0.6863 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.1938, allocations: 208.8 kB / 0.6865 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.1959, allocations: 1.241 MB / 0.6877 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.1966, allocations: 0.9921 MB / 0.6887 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002838/0.1969, allocations: 101.2 kB / 0.6888 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.197, allocations: 35.44 kB / 0.6888 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.197, allocations: 0 / 0.6888 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of Templates: time 0.0164/0.2134, allocations: 9.965 MB / 0.6985 GB, free: 13.97 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)