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.0008594/0.0008593, allocations: 89.17 kB / 16.66 MB, free: 6.113 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.001133/0.001133, allocations: 182.2 kB / 17.57 MB, free: 5.828 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.354/1.354, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003535, allocations: 8.219 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3669, allocations: 77.52 MB / 0.5606 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005259/0.3722, allocations: 4.775 MB / 0.5653 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.3774, allocations: 3.719 MB / 0.5689 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.3778, allocations: 10.5 kB / 0.5689 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.3787, allocations: 231.4 kB / 0.5691 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3799, allocations: 415.9 kB / 0.5695 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.3806, allocations: 239.5 kB / 0.5697 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3819, allocations: 0.9223 MB / 0.5706 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.3832, allocations: 0.8236 MB / 0.5714 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.3837, allocations: 297.9 kB / 0.5717 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.3841, allocations: 276.4 kB / 0.572 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.3842, allocations: 17.12 kB / 0.572 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.3849, allocations: 321.3 kB / 0.5723 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.3851, allocations: 137.9 kB / 0.5724 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.3853, allocations: 238 kB / 0.5727 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000884/0.3862, allocations: 0.6616 MB / 0.5733 GB, free: 27.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3862, allocations: 0 / 0.5733 GB, free: 27.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3862, allocations: 1.844 kB / 0.5733 GB, free: 27.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.3862, allocations: 0 / 0.5733 GB, free: 27.87 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.001339/0.3876, allocations: 0.732 MB / 0.574 GB, free: 27.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3876, allocations: 14.69 kB / 0.5741 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.3907, allocations: 0.6817 MB / 0.5747 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.3916, allocations: 459.3 kB / 0.5752 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.3916, allocations: 28.95 kB / 0.5752 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.3917, allocations: 34.98 kB / 0.5752 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.3935, allocations: 0.8312 MB / 0.576 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3935, allocations: 1.797 kB / 0.576 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.3936, allocations: 18.02 kB / 0.576 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/0.3938, allocations: 60.69 kB / 0.5761 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.396, allocations: 0.9366 MB / 0.577 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.4, allocations: 2.877 MB / 0.5798 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.4018, allocations: 0.5672 MB / 0.5804 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.4026, allocations: 310.7 kB / 0.5807 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/0.4027, allocations: 86.3 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4027, allocations: 37.28 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.936e-06/0.4027, allocations: 4.5 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.0145/0.4172, allocations: 3.922 MB / 0.5846 GB, free: 22.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.4173, allocations: 55.59 kB / 0.5847 GB, free: 22.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.4179, allocations: 436.6 kB / 0.5851 GB, free: 22.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.4179, allocations: 32.45 kB / 0.5851 GB, free: 22.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.4181, allocations: 240.5 kB / 0.5854 GB, free: 22.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4182, allocations: 118.8 kB / 0.5855 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.4183, allocations: 41 kB / 0.5855 GB, free: 21.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.4184, allocations: 351.1 kB / 0.5858 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009958/0.4194, allocations: 432.5 kB / 0.5863 GB, free: 21.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.4204, allocations: 0.4983 MB / 0.5867 GB, free: 21.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.4224, allocations: 0.9349 MB / 0.5877 GB, free: 20.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4225, allocations: 1.188 kB / 0.5877 GB, free: 20.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005914/0.4284, allocations: 1.87 MB / 0.5895 GB, free: 19.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.4285, allocations: 148.5 kB / 0.5896 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4285, allocations: 1.312 kB / 0.5896 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/0.4332, allocations: 1.023 MB / 0.5906 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.4339, allocations: 130.6 kB / 0.5908 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009158/0.443, allocations: 6.19 MB / 0.5968 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.444, allocations: 115.9 kB / 0.5969 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.4441, allocations: 19.98 kB / 0.5969 GB, free: 13.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.4441, allocations: 0 / 0.5969 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004775/0.4489, allocations: 1.586 MB / 0.5985 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4489, allocations: 0 / 0.5985 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.452, allocations: 0.7391 MB / 0.5992 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.4527, allocations: 143.8 kB / 0.5993 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006578/0.4592, allocations: 5.413 MB / 0.6046 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008577/0.4601, allocations: 111.8 kB / 0.6047 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.4602, allocations: 16.09 kB / 0.6047 GB, free: 5.082 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.0004201/0.4606, allocations: 348.9 kB / 0.6051 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4607, allocations: 35.53 kB / 0.6051 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005275/0.466, allocations: 1.77 MB / 0.6068 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4661, allocations: 7.938 kB / 0.6068 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4661, allocations: 4 kB / 0.6069 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.4661, allocations: 3.984 kB / 0.6069 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.4722, allocations: 2.461 MB / 0.6093 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4723, allocations: 0 / 0.6093 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.4726, allocations: 83.91 kB / 0.6093 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004087/0.4767, allocations: 0.9379 MB / 0.6103 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.4768, allocations: 12 kB / 0.6103 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009374/0.4862, allocations: 5.862 MB / 0.616 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4862, allocations: 0 / 0.616 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/0.4918, allocations: 1.735 MB / 0.6177 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.4922, allocations: 184.5 kB / 0.6179 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.4923, allocations: 15.92 kB / 0.6179 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.4931, allocations: 95.86 kB / 0.618 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.4933, allocations: 39.88 kB / 0.618 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.4933, allocations: 12 kB / 0.618 GB, free: 7.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004539/0.4938, allocations: 319.1 kB / 0.6183 GB, free: 6.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4938, allocations: 0 / 0.6183 GB, free: 6.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001204/0.495, allocations: 260 kB / 0.6186 GB, free: 6.496 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.000206/0.4952, allocations: 111.2 kB / 0.6187 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006963/0.5022, allocations: 2.486 MB / 0.6211 GB, free: 3.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.5023, allocations: 4.125 kB / 0.6211 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002805/0.5051, allocations: 0.9692 MB / 0.6221 GB, free: 2.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5061, allocations: 120.3 kB / 0.6222 GB, free: 2.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.5089, allocations: 1.474 MB / 0.6236 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.5096, allocations: 0.9491 MB / 0.6245 GB, free: 232 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.5098, allocations: 35.41 kB / 0.6246 GB, free: 196 kB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5098, allocations: 0 / 0.6246 GB, free: 196 kB / 462.1 MB Notification: Performance of Templates: time 0.01993/0.5297, allocations: 13.65 MB / 0.6379 GB, free: 2.578 MB / 478.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)