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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 92.72 kB / 20.21 MB, free: 4.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9578/0.9578, allocations: 115 MB / 375.3 MB, free: 7.566 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.34e-05, allocations: 4.906 kB / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005504/0.005528, allocations: 4.932 MB / 485.7 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.01027, allocations: 3.61 MB / 489.3 MB, free: 6.535 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.01054, allocations: 16.03 kB / 489.3 MB, free: 6.527 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.01221, allocations: 0.5616 MB / 489.9 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.0133, allocations: 0.4943 MB / 490.4 MB, free: 5.965 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.0139, allocations: 274.6 kB / 490.7 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000912/0.01481, allocations: 0.7262 MB / 491.4 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.01529, allocations: 353 kB / 491.7 MB, free: 5.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005908/0.01588, allocations: 0.4973 MB / 492.2 MB, free: 5.141 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.01629, allocations: 287.7 kB / 492.5 MB, free: 5.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.832e-05/0.01637, allocations: 45.12 kB / 492.6 MB, free: 5.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.01689, allocations: 286.7 kB / 492.8 MB, free: 4.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.01707, allocations: 187.1 kB / 493 MB, free: 4.871 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.01728, allocations: 171.5 kB / 493.2 MB, free: 4.797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.01822, allocations: 0.8668 MB / 494.1 MB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01823, allocations: 2.031 kB / 494.1 MB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01823, allocations: 0 / 494.1 MB, free: 4.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.01824, allocations: 0 / 494.1 MB, free: 4.527 MB / 410.7 MB 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.001382/0.01962, allocations: 0.7535 MB / 494.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01965, allocations: 10.81 kB / 494.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.02266, allocations: 0.7612 MB / 495.6 MB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.02336, allocations: 419.8 kB / 496 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.02339, allocations: 25.11 kB / 496 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.02348, allocations: 29.31 kB / 496 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.02534, allocations: 0.896 MB / 496.9 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.02536, allocations: 5.812 kB / 496.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.02542, allocations: 15.47 kB / 497 MB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.02566, allocations: 70.92 kB / 497 MB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.02795, allocations: 0.938 MB / 498 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.03195, allocations: 2.162 MB / 0.4884 GB, free: 17.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.03369, allocations: 0.547 MB / 0.4889 GB, free: 17.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007883/0.03448, allocations: 305.3 kB / 0.4892 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.763e-05/0.03456, allocations: 16.36 kB / 0.4892 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.03459, allocations: 37.56 kB / 0.4893 GB, free: 17.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.03459, allocations: 0 / 0.4893 GB, free: 17.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.01615/0.05074, allocations: 4.145 MB / 0.4933 GB, free: 15.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.0508, allocations: 55.41 kB / 0.4934 GB, free: 15.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.05138, allocations: 397.6 kB / 0.4938 GB, free: 15.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/0.05146, allocations: 29.7 kB / 0.4938 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.05169, allocations: 245.6 kB / 0.494 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.05186, allocations: 126.9 kB / 0.4941 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.0521, allocations: 94.12 kB / 0.4942 GB, free: 14.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.05232, allocations: 355.5 kB / 0.4946 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.05362, allocations: 473.3 kB / 0.495 GB, free: 14.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.05499, allocations: 0.555 MB / 0.4956 GB, free: 13.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.05757, allocations: 0.9935 MB / 0.4965 GB, free: 12.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.05757, allocations: 0 / 0.4965 GB, free: 12.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.007718/0.06529, allocations: 1.999 MB / 0.4985 GB, free: 10.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.06531, allocations: 8 kB / 0.4985 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.06532, allocations: 0 / 0.4985 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009039/0.07436, allocations: 1.866 MB / 0.5003 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.07514, allocations: 127.7 kB / 0.5004 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.08914, allocations: 6.872 MB / 0.5072 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.09026, allocations: 115.8 kB / 0.5073 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.09033, allocations: 19.98 kB / 0.5073 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001578/0.09191, allocations: 0.6569 MB / 0.5079 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001306/0.09321, allocations: 0.5458 MB / 0.5085 GB, free: 68 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002472/0.09569, allocations: 0.968 MB / 0.5094 GB, free: 15.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.09569, allocations: 0 / 0.5094 GB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.006523/0.1022, allocations: 1.825 MB / 0.5112 GB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1022, allocations: 8 kB / 0.5112 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1022, allocations: 0 / 0.5112 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006385/0.1086, allocations: 1.34 MB / 0.5125 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.1093, allocations: 127.8 kB / 0.5126 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.1214, allocations: 6.375 MB / 0.5188 GB, free: 5.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.1225, allocations: 123.9 kB / 0.519 GB, free: 5.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.1226, allocations: 15.98 kB / 0.519 GB, free: 5.031 MB / 442.7 MB 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.0003488/0.123, allocations: 208.1 kB / 0.5192 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.1232, allocations: 47.77 kB / 0.5192 GB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007151/0.1304, allocations: 1.827 MB / 0.521 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.1304, allocations: 8 kB / 0.521 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1304, allocations: 0 / 0.521 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.1304, allocations: 7.984 kB / 0.521 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007763/0.1382, allocations: 2.386 MB / 0.5234 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1382, allocations: 0 / 0.5234 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.1386, allocations: 75.91 kB / 0.5234 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007724/0.1463, allocations: 1.663 MB / 0.5251 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.1464, allocations: 11.98 kB / 0.5251 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.159, allocations: 6.457 MB / 0.5314 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.159, allocations: 32 / 0.5314 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00629/0.1653, allocations: 1.796 MB / 0.5331 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.1657, allocations: 115.6 kB / 0.5332 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.1658, allocations: 4 kB / 0.5332 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/0.1666, allocations: 87.86 kB / 0.5333 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.1668, allocations: 39.92 kB / 0.5334 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.1668, allocations: 8 kB / 0.5334 GB, free: 5.977 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008177/0.1677, allocations: 307.1 kB / 0.5337 GB, free: 5.676 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 0 / 0.5337 GB, free: 5.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001272/0.1689, allocations: 280 kB / 0.5339 GB, free: 5.402 MB / 458.7 MB 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.0002474/0.1692, allocations: 111.1 kB / 0.534 GB, free: 5.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008388/0.1776, allocations: 2.591 MB / 0.5366 GB, free: 2.641 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1776, allocations: 0 / 0.5366 GB, free: 2.641 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003129/0.1807, allocations: 0.9885 MB / 0.5375 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.1815, allocations: 126.3 kB / 0.5376 GB, free: 1.508 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.1846, allocations: 1.254 MB / 0.5389 GB, free: 220 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.1852, allocations: 354.9 kB / 0.5392 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005714/0.1858, allocations: 147.2 kB / 0.5394 GB, free: 15.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.186, allocations: 40.47 kB / 0.5394 GB, free: 15.66 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.186, allocations: 0 / 0.5394 GB, free: 15.66 MB / 474.7 MB Notification: Performance of Templates: time 0.03356/0.2195, allocations: 18.5 MB / 0.5575 GB, free: 13.36 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.040899988962337]