Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 115 kB / 17.09 MB, free: 5.988 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.001165/0.001165, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.283/1.283, allocations: 222.9 MB / 241.7 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.6842/0.6842, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 60.16 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1441, allocations: 76.18 MB / 0.6328 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01395/0.1581, allocations: 11.82 MB / 0.6443 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008709/0.1668, allocations: 5.498 MB / 0.6497 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1679, allocations: 43.81 kB / 0.6497 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.1708, allocations: 1.041 MB / 0.6507 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.1726, allocations: 0.6413 MB / 0.6514 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.1748, allocations: 0.908 MB / 0.6522 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.1778, allocations: 2.466 MB / 0.6547 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/0.1822, allocations: 3.511 MB / 0.6581 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.1841, allocations: 1.126 MB / 0.6592 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.1863, allocations: 1.223 MB / 0.6604 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006576/0.187, allocations: 232 kB / 0.6606 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.1884, allocations: 0.5267 MB / 0.6611 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.1896, allocations: 0.8967 MB / 0.662 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.1914, allocations: 0.9961 MB / 0.663 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.1954, allocations: 3.553 MB / 0.6664 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.1954, allocations: 8 kB / 0.6664 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1954, allocations: 0 / 0.6664 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001063/0.1955, allocations: 0 / 0.6664 GB, free: 1.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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006712/0.2022, allocations: 1.944 MB / 0.6683 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.2023, allocations: 8.031 kB / 0.6683 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.2055, allocations: 498.4 kB / 0.6688 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.2079, allocations: 1.12 MB / 0.6699 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.208, allocations: 119.4 kB / 0.67 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004671/0.2085, allocations: 156.1 kB / 0.6702 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004738/0.2133, allocations: 2.75 MB / 0.6729 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.2133, allocations: 0 / 0.6729 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.2135, allocations: 67.98 kB / 0.6729 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003095/0.2138, allocations: 151 kB / 0.6731 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/0.2177, allocations: 2.303 MB / 0.6753 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.2292, allocations: 10.38 MB / 0.6855 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.2305, allocations: 0.6154 MB / 0.6861 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006554/0.2312, allocations: 404.6 kB / 0.6864 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.2313, allocations: 92.95 kB / 0.6865 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.2313, allocations: 42.48 kB / 0.6866 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/0.2313, allocations: 0 / 0.6866 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.0215/0.2528, allocations: 5.831 MB / 0.6923 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2529, allocations: 55.84 kB / 0.6923 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.254, allocations: 0.8827 MB / 0.6932 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.689e-05/0.2541, allocations: 37.7 kB / 0.6932 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.2546, allocations: 0.7577 MB / 0.694 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.2548, allocations: 185.4 kB / 0.6941 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.2551, allocations: 198.5 kB / 0.6943 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2553, allocations: 386.8 kB / 0.6947 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.2564, allocations: 0.6527 MB / 0.6953 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.2577, allocations: 1.01 MB / 0.6963 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.2601, allocations: 1.666 MB / 0.6979 GB, free: 15.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.2601, allocations: 4 kB / 0.698 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008579/0.2687, allocations: 3.123 MB / 0.701 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.2687, allocations: 19.88 kB / 0.701 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.2688, allocations: 12 kB / 0.701 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006872/0.2757, allocations: 1.646 MB / 0.7026 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.2767, allocations: 231.6 kB / 0.7029 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.2905, allocations: 10.59 MB / 0.7132 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.2919, allocations: 163.6 kB / 0.7134 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.494e-05/0.292, allocations: 43.98 kB / 0.7134 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002019/0.2941, allocations: 1.314 MB / 0.7147 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001269/0.2953, allocations: 0.9787 MB / 0.7156 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002298/0.2977, allocations: 1.619 MB / 0.7172 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.041e-06/0.2977, allocations: 4 kB / 0.7172 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.006933/0.3046, allocations: 2.658 MB / 0.7198 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3046, allocations: 13.72 kB / 0.7198 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.3047, allocations: 12 kB / 0.7198 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004409/0.3091, allocations: 1.063 MB / 0.7209 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3101, allocations: 251.5 kB / 0.7211 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/0.3172, allocations: 5.748 MB / 0.7267 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.3185, allocations: 155.7 kB / 0.7269 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.3185, allocations: 47.98 kB / 0.7269 GB, free: 1.047 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.3189, allocations: 244 kB / 0.7272 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.319, allocations: 71.16 kB / 0.7272 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007345/0.3264, allocations: 2.571 MB / 0.7297 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3264, allocations: 0 / 0.7297 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3264, allocations: 0 / 0.7297 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.3268, allocations: 276 kB / 0.73 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.327, allocations: 12 kB / 0.73 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.3279, allocations: 111.8 kB / 0.7301 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.3281, allocations: 56.34 kB / 0.7302 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00521/0.3333, allocations: 2.095 MB / 0.7322 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002712/0.336, allocations: 1.786 MB / 0.734 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007996/0.3369, allocations: 0.5537 MB / 0.7345 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001284/0.3382, allocations: 0.6473 MB / 0.7351 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of Backend: time 5.51e-07/0.3382, allocations: 0 / 0.7351 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00619/0.3444, allocations: 2.906 MB / 0.738 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006625/0.351, allocations: 3.294 MB / 0.7412 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of Templates: time 0.3809/0.732, allocations: 29.45 MB / 0.7699 GB, free: 115.3 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)