Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 108.6 kB / 16.41 MB, free: 6.5 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.00136/0.00136, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.393/1.393, allocations: 222.9 MB / 241 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.7787/0.7787, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 62.22 kB / 0.5685 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 77.94 MB / 0.6446 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007546/0.1787, allocations: 5.141 MB / 0.6496 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005915/0.1847, allocations: 3.788 MB / 0.6533 GB, free: 180 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.1851, allocations: 11.94 kB / 0.6533 GB, free: 168 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.1873, allocations: 0.5834 MB / 0.6539 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.1887, allocations: 489.8 kB / 0.6543 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.1895, allocations: 269.3 kB / 0.6546 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1907, allocations: 0.6969 MB / 0.6553 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008566/0.1915, allocations: 0.5329 MB / 0.6558 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.1921, allocations: 355.1 kB / 0.6561 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.1928, allocations: 298.9 kB / 0.6564 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.1929, allocations: 44 kB / 0.6565 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006004/0.1935, allocations: 311.5 kB / 0.6568 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.1938, allocations: 175.5 kB / 0.6569 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.1941, allocations: 250.8 kB / 0.6572 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.1953, allocations: 0.8448 MB / 0.658 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1954, allocations: 4 kB / 0.658 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1954, allocations: 0 / 0.658 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.1954, allocations: 0 / 0.658 GB, free: 11.35 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001508/0.1969, allocations: 0.8252 MB / 0.6588 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1969, allocations: 12.62 kB / 0.6588 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/0.2, allocations: 0.6908 MB / 0.6595 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/0.2007, allocations: 480.7 kB / 0.6599 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.2008, allocations: 21.03 kB / 0.66 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.2009, allocations: 32.12 kB / 0.66 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.2025, allocations: 0.8317 MB / 0.6608 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2026, allocations: 7.891 kB / 0.6608 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.2026, allocations: 15.98 kB / 0.6608 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001984/0.2028, allocations: 64.58 kB / 0.6609 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.2049, allocations: 0.9272 MB / 0.6618 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.2091, allocations: 2.867 MB / 0.6646 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2109, allocations: 0.5605 MB / 0.6651 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000831/0.2117, allocations: 312.6 kB / 0.6654 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.2119, allocations: 85.09 kB / 0.6655 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2119, allocations: 38.56 kB / 0.6656 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.485e-06/0.2119, allocations: 0 / 0.6656 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.01424/0.2262, allocations: 3.892 MB / 0.6694 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2262, allocations: 55.41 kB / 0.6694 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.2268, allocations: 429.6 kB / 0.6698 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.2269, allocations: 29.7 kB / 0.6698 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2271, allocations: 244.6 kB / 0.6701 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2272, allocations: 134.8 kB / 0.6702 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.2274, allocations: 86.12 kB / 0.6703 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2275, allocations: 354.8 kB / 0.6706 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.2286, allocations: 438.1 kB / 0.671 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.2298, allocations: 0.497 MB / 0.6715 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.2319, allocations: 0.9265 MB / 0.6724 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.2319, allocations: 8 kB / 0.6724 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005632/0.2375, allocations: 1.846 MB / 0.6742 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.2376, allocations: 4 kB / 0.6743 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2376, allocations: 4 kB / 0.6743 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/0.2417, allocations: 0.9653 MB / 0.6752 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.2423, allocations: 135.8 kB / 0.6753 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009842/0.2522, allocations: 6.64 MB / 0.6818 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/0.253, allocations: 107.9 kB / 0.6819 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.2531, allocations: 23.98 kB / 0.6819 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001339/0.2544, allocations: 0.6216 MB / 0.6825 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/0.2556, allocations: 496.6 kB / 0.683 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002121/0.2577, allocations: 0.8896 MB / 0.6839 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/0.2577, allocations: 4 kB / 0.6839 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004873/0.2626, allocations: 1.618 MB / 0.6855 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2626, allocations: 8 kB / 0.6855 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.2626, allocations: 0 / 0.6855 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/0.2655, allocations: 0.7081 MB / 0.6862 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.2662, allocations: 135.8 kB / 0.6863 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.2741, allocations: 5.817 MB / 0.692 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/0.275, allocations: 115.8 kB / 0.6921 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.2751, allocations: 19.98 kB / 0.6921 GB, free: 7.223 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.2754, allocations: 197.8 kB / 0.6923 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.2756, allocations: 43.77 kB / 0.6923 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/0.281, allocations: 1.719 MB / 0.694 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.281, allocations: 8 kB / 0.694 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.281, allocations: 4 kB / 0.694 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.281, allocations: 0 / 0.694 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.2872, allocations: 2.417 MB / 0.6964 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.2873, allocations: 4 kB / 0.6964 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.2877, allocations: 79.89 kB / 0.6965 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/0.2913, allocations: 0.8913 MB / 0.6973 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.2914, allocations: 12 kB / 0.6974 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009521/0.3009, allocations: 6.319 MB / 0.7035 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.301, allocations: 7.969 kB / 0.7035 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/0.306, allocations: 1.681 MB / 0.7052 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.3063, allocations: 188.7 kB / 0.7054 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3064, allocations: 8 kB / 0.7054 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.3071, allocations: 91.86 kB / 0.7054 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.3073, allocations: 39.88 kB / 0.7055 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.3073, allocations: 12 kB / 0.7055 GB, free: 9.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005167/0.3078, allocations: 323.1 kB / 0.7058 GB, free: 8.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3079, allocations: 0 / 0.7058 GB, free: 8.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001142/0.309, allocations: 263.9 kB / 0.7061 GB, free: 8.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002263/0.3092, allocations: 115.2 kB / 0.7062 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006434/0.3157, allocations: 2.45 MB / 0.7086 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3157, allocations: 4.125 kB / 0.7086 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.3181, allocations: 0.9497 MB / 0.7095 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.3189, allocations: 140 kB / 0.7096 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.3213, allocations: 1.247 MB / 0.7108 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3219, allocations: 0.9607 MB / 0.7118 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004985/0.3224, allocations: 147.2 kB / 0.7119 GB, free: 2.344 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3225, allocations: 35.41 kB / 0.712 GB, free: 2.312 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/0.3225, allocations: 0 / 0.712 GB, free: 2.312 MB / 0.545 GB Notification: Performance of Templates: time 0.0265/0.349, allocations: 16.62 MB / 0.7282 GB, free: 1.805 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)