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.001504/0.001504, allocations: 108 kB / 17.03 MB, free: 5.656 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.001756/0.001755, allocations: 190.9 kB / 17.97 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.36/1.36, allocations: 222.9 MB / 241.7 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.7115/0.7115, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 76.14 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006304/0.3341, allocations: 5.144 MB / 0.5626 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005003/0.3391, allocations: 3.764 MB / 0.5663 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.3396, allocations: 12.03 kB / 0.5663 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.3414, allocations: 0.5743 MB / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.3426, allocations: 475.3 kB / 0.5673 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.3433, allocations: 274.3 kB / 0.5676 GB, free: 30 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.3444, allocations: 0.6996 MB / 0.5682 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007594/0.3451, allocations: 0.5287 MB / 0.5688 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.3457, allocations: 360.3 kB / 0.5691 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.3462, allocations: 304.1 kB / 0.5694 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.3463, allocations: 44.62 kB / 0.5694 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.3468, allocations: 293 kB / 0.5697 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.347, allocations: 173 kB / 0.5699 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.3473, allocations: 244.5 kB / 0.5701 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3484, allocations: 0.84 MB / 0.5709 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3484, allocations: 0.6094 kB / 0.5709 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3485, allocations: 1.812 kB / 0.5709 GB, free: 28.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3485, allocations: 0 / 0.5709 GB, free: 28.71 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.001553/0.35, allocations: 0.805 MB / 0.5717 GB, free: 28.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3501, allocations: 9.625 kB / 0.5717 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.3528, allocations: 0.6679 MB / 0.5724 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.3538, allocations: 480.1 kB / 0.5728 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.3538, allocations: 23.95 kB / 0.5729 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/0.3539, allocations: 38.8 kB / 0.5729 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3558, allocations: 0.8269 MB / 0.5737 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3558, allocations: 1.156 kB / 0.5737 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.3559, allocations: 11.78 kB / 0.5737 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/0.3561, allocations: 61.27 kB / 0.5738 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.3581, allocations: 0.9238 MB / 0.5747 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.362, allocations: 2.842 MB / 0.5775 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.3636, allocations: 0.5459 MB / 0.578 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.3643, allocations: 301.8 kB / 0.5783 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.3644, allocations: 86.67 kB / 0.5784 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.3644, allocations: 37.75 kB / 0.5784 GB, free: 24.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.3644, allocations: 3.938 kB / 0.5784 GB, free: 24.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.01285/0.3773, allocations: 3.792 MB / 0.5821 GB, free: 23.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3773, allocations: 55.25 kB / 0.5822 GB, free: 23.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.3778, allocations: 426.2 kB / 0.5826 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.3779, allocations: 31.61 kB / 0.5826 GB, free: 22.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.378, allocations: 236.4 kB / 0.5828 GB, free: 22.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.044e-05/0.3781, allocations: 122.9 kB / 0.5829 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3783, allocations: 98.98 kB / 0.583 GB, free: 22.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.3784, allocations: 351 kB / 0.5834 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/0.3792, allocations: 419.9 kB / 0.5838 GB, free: 22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.3801, allocations: 498.6 kB / 0.5842 GB, free: 21.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.3818, allocations: 0.9033 MB / 0.5851 GB, free: 21.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3818, allocations: 1.156 kB / 0.5851 GB, free: 21.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005193/0.387, allocations: 1.818 MB / 0.5869 GB, free: 20.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3871, allocations: 6.281 kB / 0.5869 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3871, allocations: 2.75 kB / 0.5869 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/0.3912, allocations: 0.9697 MB / 0.5879 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.3918, allocations: 123 kB / 0.588 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/0.4006, allocations: 6.65 MB / 0.5945 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/0.4015, allocations: 99.83 kB / 0.5946 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.4016, allocations: 19.98 kB / 0.5946 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001012/0.4026, allocations: 0.6139 MB / 0.5952 GB, free: 13.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007692/0.4034, allocations: 476.6 kB / 0.5956 GB, free: 12.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001513/0.4049, allocations: 0.8779 MB / 0.5965 GB, free: 11.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.4049, allocations: 0 / 0.5965 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004374/0.4093, allocations: 1.595 MB / 0.598 GB, free: 10.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4093, allocations: 8 kB / 0.5981 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4093, allocations: 7.938 kB / 0.5981 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.412, allocations: 0.6962 MB / 0.5987 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.4126, allocations: 131.8 kB / 0.5989 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006323/0.4189, allocations: 5.809 MB / 0.6045 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.4198, allocations: 107.8 kB / 0.6046 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.4199, allocations: 16 kB / 0.6047 GB, free: 3.172 MB / 446.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.0002303/0.4201, allocations: 212.1 kB / 0.6049 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4203, allocations: 43.52 kB / 0.6049 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/0.4248, allocations: 1.707 MB / 0.6066 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4249, allocations: 4 kB / 0.6066 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4249, allocations: 8 kB / 0.6066 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4249, allocations: 3.984 kB / 0.6066 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/0.4312, allocations: 2.41 MB / 0.6089 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.4313, allocations: 0 / 0.6089 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.4317, allocations: 87.92 kB / 0.609 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/0.4354, allocations: 0.8832 MB / 0.6099 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.4355, allocations: 15.98 kB / 0.6099 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009028/0.4446, allocations: 6.304 MB / 0.6161 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.4446, allocations: 7.969 kB / 0.6161 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.4497, allocations: 1.68 MB / 0.6177 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.4501, allocations: 180.6 kB / 0.6179 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/0.4502, allocations: 8 kB / 0.6179 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.4509, allocations: 79.86 kB / 0.618 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.4511, allocations: 39.89 kB / 0.618 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.4511, allocations: 11.98 kB / 0.618 GB, free: 5.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.4515, allocations: 327.1 kB / 0.6183 GB, free: 4.738 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4515, allocations: 0 / 0.6183 GB, free: 4.738 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001057/0.4526, allocations: 260 kB / 0.6186 GB, free: 4.484 MB / 462.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.0001859/0.4528, allocations: 119.2 kB / 0.6187 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006418/0.4592, allocations: 2.435 MB / 0.6211 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4593, allocations: 0 / 0.6211 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.4618, allocations: 0.95 MB / 0.622 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.4626, allocations: 139 kB / 0.6221 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.4651, allocations: 1.232 MB / 0.6233 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.4656, allocations: 0.9529 MB / 0.6243 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.4661, allocations: 143.2 kB / 0.6244 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.4663, allocations: 35.41 kB / 0.6244 GB, free: 14.34 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4663, allocations: 0 / 0.6244 GB, free: 14.34 MB / 478.1 MB Notification: Performance of Templates: time 0.0241/0.4904, allocations: 16.08 MB / 0.6401 GB, free: 14.41 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)