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.001517/0.001517, allocations: 105.9 kB / 15.99 MB, free: 6.348 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.001693/0.001693, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7561/0.7561, allocations: 122.8 MB / 413.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 55.91 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.376, allocations: 77.92 MB / 0.5667 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006638/0.3827, allocations: 5.18 MB / 0.5718 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005495/0.3882, allocations: 3.755 MB / 0.5754 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/0.3887, allocations: 9.812 kB / 0.5754 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.3906, allocations: 0.53 MB / 0.5759 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.3919, allocations: 438.6 kB / 0.5764 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.3926, allocations: 252.7 kB / 0.5766 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.3937, allocations: 0.6998 MB / 0.5773 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/0.3945, allocations: 0.5817 MB / 0.5779 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.3951, allocations: 366.4 kB / 0.5782 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.3955, allocations: 318.3 kB / 0.5785 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.3956, allocations: 43.5 kB / 0.5785 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.3962, allocations: 302 kB / 0.5788 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.3964, allocations: 172.3 kB / 0.579 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.3966, allocations: 250.2 kB / 0.5792 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3977, allocations: 0.8487 MB / 0.5801 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3977, allocations: 1.812 kB / 0.5801 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3977, allocations: 0 / 0.5801 GB, free: 24.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3977, allocations: 1.375 kB / 0.5801 GB, free: 24.07 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.001464/0.3992, allocations: 0.8126 MB / 0.5809 GB, free: 23.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3993, allocations: 12.52 kB / 0.5809 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/0.4025, allocations: 0.6905 MB / 0.5816 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.4033, allocations: 461.8 kB / 0.582 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.4033, allocations: 30.77 kB / 0.582 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.4034, allocations: 31.28 kB / 0.5821 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.4051, allocations: 0.8368 MB / 0.5829 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.4052, allocations: 1.594 kB / 0.5829 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.4052, allocations: 10.91 kB / 0.5829 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.4054, allocations: 62.08 kB / 0.5829 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.4075, allocations: 0.9329 MB / 0.5839 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.4115, allocations: 2.88 MB / 0.5867 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.4131, allocations: 0.5565 MB / 0.5872 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.4139, allocations: 304.9 kB / 0.5875 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.414, allocations: 91.91 kB / 0.5876 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4141, allocations: 36.09 kB / 0.5876 GB, free: 18.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.4141, allocations: 0 / 0.5876 GB, free: 18.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.01492/0.429, allocations: 3.884 MB / 0.5914 GB, free: 16.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.4291, allocations: 58.03 kB / 0.5915 GB, free: 16.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.4296, allocations: 434 kB / 0.5919 GB, free: 16.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.4297, allocations: 31.95 kB / 0.5919 GB, free: 16.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4298, allocations: 241.1 kB / 0.5921 GB, free: 16.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4299, allocations: 118.7 kB / 0.5923 GB, free: 16.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.4301, allocations: 87.05 kB / 0.5923 GB, free: 16.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.4302, allocations: 351.2 kB / 0.5927 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4313, allocations: 435.1 kB / 0.5931 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009578/0.4322, allocations: 0.4966 MB / 0.5936 GB, free: 15.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.4341, allocations: 0.9265 MB / 0.5945 GB, free: 14.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4341, allocations: 4 kB / 0.5945 GB, free: 14.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005445/0.4396, allocations: 1.849 MB / 0.5963 GB, free: 12.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4396, allocations: 4 kB / 0.5963 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4396, allocations: 4 kB / 0.5963 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/0.4437, allocations: 0.9729 MB / 0.5972 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.4443, allocations: 131.8 kB / 0.5974 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00881/0.4531, allocations: 6.646 MB / 0.6039 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009079/0.4541, allocations: 119.9 kB / 0.604 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.4541, allocations: 16 kB / 0.604 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001252/0.4554, allocations: 0.6254 MB / 0.6046 GB, free: 3.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009385/0.4563, allocations: 496.6 kB / 0.6051 GB, free: 2.895 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001799/0.4582, allocations: 0.8857 MB / 0.6059 GB, free: 1.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.786e-06/0.4582, allocations: 4 kB / 0.6059 GB, free: 1.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004645/0.4628, allocations: 1.622 MB / 0.6075 GB, free: 348 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4628, allocations: 8 kB / 0.6075 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4629, allocations: 0 / 0.6075 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/0.4659, allocations: 0.704 MB / 0.6082 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.4666, allocations: 131.8 kB / 0.6083 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008066/0.4747, allocations: 5.821 MB / 0.614 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/0.4757, allocations: 115.9 kB / 0.6141 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.4758, allocations: 12 kB / 0.6142 GB, free: 9.254 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.0002335/0.476, allocations: 208.9 kB / 0.6144 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4761, allocations: 39.53 kB / 0.6144 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/0.4818, allocations: 1.727 MB / 0.6161 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.4818, allocations: 7.984 kB / 0.6161 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4818, allocations: 7.938 kB / 0.6161 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4818, allocations: 0 / 0.6161 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006374/0.4882, allocations: 2.406 MB / 0.6184 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4882, allocations: 0 / 0.6184 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.4887, allocations: 79.84 kB / 0.6185 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003947/0.4926, allocations: 0.8912 MB / 0.6194 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.4927, allocations: 19.86 kB / 0.6194 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009379/0.5021, allocations: 6.31 MB / 0.6256 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5021, allocations: 7.969 kB / 0.6256 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/0.5075, allocations: 1.681 MB / 0.6272 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.5079, allocations: 180.6 kB / 0.6274 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.42e-05/0.508, allocations: 8 kB / 0.6274 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.5087, allocations: 83.86 kB / 0.6275 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.5089, allocations: 39.89 kB / 0.6275 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/0.509, allocations: 11.98 kB / 0.6275 GB, free: 11.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005156/0.5095, allocations: 327.6 kB / 0.6278 GB, free: 10.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5095, allocations: 0 / 0.6278 GB, free: 10.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001129/0.5106, allocations: 260 kB / 0.6281 GB, free: 10.55 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.0002112/0.5109, allocations: 115.2 kB / 0.6282 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006674/0.5176, allocations: 2.509 MB / 0.6307 GB, free: 7.867 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5176, allocations: 3.938 kB / 0.6307 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002455/0.52, allocations: 0.946 MB / 0.6316 GB, free: 6.891 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/0.5209, allocations: 122.6 kB / 0.6317 GB, free: 6.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.5233, allocations: 1.414 MB / 0.6331 GB, free: 5.328 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.524, allocations: 0.9568 MB / 0.634 GB, free: 4.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006263/0.5246, allocations: 151.2 kB / 0.6342 GB, free: 4.191 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.5248, allocations: 39.42 kB / 0.6342 GB, free: 4.152 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5248, allocations: 0 / 0.6342 GB, free: 4.152 MB / 478.1 MB Notification: Performance of Templates: time 0.02419/0.549, allocations: 16.45 MB / 0.6503 GB, free: 3.855 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)