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.001094/0.001094, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001123/0.001123, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7455/0.7455, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 0.4906 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3871, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.008158/0.3953, allocations: 5.174 MB / 0.5718 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006236/0.4016, allocations: 3.747 MB / 0.5755 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006306/0.4022, allocations: 12.06 kB / 0.5755 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.4045, allocations: 0.5388 MB / 0.576 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.4063, allocations: 443.2 kB / 0.5764 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008804/0.4072, allocations: 249.9 kB / 0.5766 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.4087, allocations: 0.7036 MB / 0.5773 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/0.4097, allocations: 0.582 MB / 0.5779 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006593/0.4103, allocations: 361.5 kB / 0.5782 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.4109, allocations: 317.5 kB / 0.5786 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.983e-05/0.411, allocations: 43.62 kB / 0.5786 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.4117, allocations: 307.1 kB / 0.5789 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.4119, allocations: 169.3 kB / 0.579 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.4122, allocations: 249.1 kB / 0.5793 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.4135, allocations: 0.8526 MB / 0.5801 GB, free: 24.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4135, allocations: 2.984 kB / 0.5801 GB, free: 24.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4135, allocations: 1.031 kB / 0.5801 GB, free: 24.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4136, allocations: 0 / 0.5801 GB, free: 24.61 MB / 446.1 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.001552/0.4151, allocations: 0.8216 MB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4152, allocations: 10.25 kB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.4181, allocations: 0.6886 MB / 0.5816 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.4188, allocations: 454.6 kB / 0.582 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.4188, allocations: 26.3 kB / 0.5821 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.4189, allocations: 32.84 kB / 0.5821 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.4206, allocations: 0.8345 MB / 0.5829 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.4206, allocations: 2.062 kB / 0.5829 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.4207, allocations: 12.41 kB / 0.5829 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.4208, allocations: 63.36 kB / 0.583 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.4229, allocations: 0.9296 MB / 0.5839 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.4267, allocations: 2.876 MB / 0.5867 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.4283, allocations: 0.557 MB / 0.5872 GB, free: 19.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.4291, allocations: 312.2 kB / 0.5875 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.4292, allocations: 87.41 kB / 0.5876 GB, free: 19.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4293, allocations: 36.75 kB / 0.5877 GB, free: 19.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.716e-06/0.4293, allocations: 0 / 0.5877 GB, free: 19.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.01455/0.4438, allocations: 3.889 MB / 0.5915 GB, free: 17.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4439, allocations: 55.62 kB / 0.5915 GB, free: 17.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/0.4446, allocations: 426.3 kB / 0.5919 GB, free: 16.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/0.4447, allocations: 33.7 kB / 0.592 GB, free: 16.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4449, allocations: 244.2 kB / 0.5922 GB, free: 16.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.445, allocations: 122.2 kB / 0.5923 GB, free: 16.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.4452, allocations: 86.11 kB / 0.5924 GB, free: 16.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.4453, allocations: 350.8 kB / 0.5927 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.4462, allocations: 430.2 kB / 0.5931 GB, free: 15.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/0.4471, allocations: 0.5086 MB / 0.5936 GB, free: 14.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.4489, allocations: 0.9226 MB / 0.5945 GB, free: 13.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4489, allocations: 8 kB / 0.5945 GB, free: 13.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005239/0.4542, allocations: 1.845 MB / 0.5963 GB, free: 12.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4542, allocations: 4 kB / 0.5963 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4542, allocations: 4 kB / 0.5963 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.4583, allocations: 0.9731 MB / 0.5973 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.4589, allocations: 127.8 kB / 0.5974 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009003/0.468, allocations: 6.643 MB / 0.6039 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.4689, allocations: 107.8 kB / 0.604 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.469, allocations: 15.98 kB / 0.604 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001146/0.4701, allocations: 0.6217 MB / 0.6046 GB, free: 3.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009067/0.471, allocations: 0.4888 MB / 0.6051 GB, free: 2.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001746/0.4728, allocations: 0.8974 MB / 0.606 GB, free: 1.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.4728, allocations: 7.938 kB / 0.606 GB, free: 1.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00462/0.4774, allocations: 1.618 MB / 0.6076 GB, free: 272 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.4774, allocations: 8 kB / 0.6076 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4775, allocations: 0 / 0.6076 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.4805, allocations: 0.7003 MB / 0.6083 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.4812, allocations: 143.8 kB / 0.6084 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008189/0.4894, allocations: 5.812 MB / 0.6141 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000953/0.4904, allocations: 103.8 kB / 0.6142 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.4905, allocations: 19.98 kB / 0.6142 GB, free: 9.188 MB / 462.1 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.000223/0.4907, allocations: 204.1 kB / 0.6144 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4908, allocations: 43.59 kB / 0.6144 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/0.4965, allocations: 1.735 MB / 0.6161 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4965, allocations: 4 kB / 0.6161 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4965, allocations: 4 kB / 0.6161 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4965, allocations: 3.984 kB / 0.6161 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006356/0.5029, allocations: 2.414 MB / 0.6185 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5029, allocations: 0 / 0.6185 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.5033, allocations: 76 kB / 0.6186 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/0.5072, allocations: 0.8951 MB / 0.6194 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.5073, allocations: 8 kB / 0.6194 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009332/0.5166, allocations: 6.322 MB / 0.6256 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5166, allocations: 11.91 kB / 0.6256 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005178/0.5218, allocations: 1.673 MB / 0.6273 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.5222, allocations: 180.6 kB / 0.6274 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/0.5223, allocations: 12 kB / 0.6274 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.523, allocations: 87.84 kB / 0.6275 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.5232, allocations: 43.83 kB / 0.6276 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.5232, allocations: 12 kB / 0.6276 GB, free: 11.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004726/0.5237, allocations: 327.1 kB / 0.6279 GB, free: 10.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5237, allocations: 0 / 0.6279 GB, free: 10.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001052/0.5248, allocations: 260 kB / 0.6281 GB, free: 10.46 MB / 478.1 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.0001895/0.525, allocations: 107.2 kB / 0.6282 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006734/0.5317, allocations: 2.501 MB / 0.6307 GB, free: 7.797 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5318, allocations: 0 / 0.6307 GB, free: 7.797 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.5342, allocations: 0.9538 MB / 0.6316 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.535, allocations: 131.1 kB / 0.6317 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.5374, allocations: 1.412 MB / 0.6331 GB, free: 5.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.5379, allocations: 0.9607 MB / 0.6341 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006086/0.5386, allocations: 151.2 kB / 0.6342 GB, free: 4.105 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.5387, allocations: 39.41 kB / 0.6342 GB, free: 4.066 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5387, allocations: 0 / 0.6342 GB, free: 4.066 MB / 478.1 MB Notification: Performance of Templates: time 0.02585/0.5646, allocations: 16.45 MB / 0.6503 GB, free: 3.777 MB / 494.1 MB 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)