Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000841/0.0008411, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006454/0.006455, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 12.16 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3187, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01487/0.3336, allocations: 13.44 MB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.3485, allocations: 9.26 MB / 1.096 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.3503, allocations: 55.62 kB / 1.096 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009632/0.3513, allocations: 277.8 kB / 1.097 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004536/0.3558, allocations: 1.406 MB / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.3579, allocations: 0.6895 MB / 1.099 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.3617, allocations: 3.171 MB / 1.102 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.365, allocations: 1.98 MB / 1.104 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.3665, allocations: 0.8674 MB / 1.105 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.3678, allocations: 1.066 MB / 1.106 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.368, allocations: 72 kB / 1.106 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.3695, allocations: 0.8539 MB / 1.106 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.37, allocations: 0.51 MB / 1.107 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007846/0.3708, allocations: 0.8447 MB / 1.108 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.3733, allocations: 2.659 MB / 1.11 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3733, allocations: 4 kB / 1.11 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3733, allocations: 0 / 1.11 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.459e-05/0.3734, allocations: 0 / 1.11 GB, free: 2.207 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003384/0.3768, allocations: 1.804 MB / 1.112 GB, free: 356 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3768, allocations: 12.03 kB / 1.112 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.3889, allocations: 2.155 MB / 1.114 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.3915, allocations: 1.197 MB / 1.115 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.3916, allocations: 90.73 kB / 1.116 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.3919, allocations: 128 kB / 1.116 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005983/0.3979, allocations: 2.698 MB / 1.118 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.398, allocations: 7.938 kB / 1.118 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.3982, allocations: 55.98 kB / 1.118 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006572/0.3988, allocations: 186.1 kB / 1.119 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007894/0.4067, allocations: 2.838 MB / 1.121 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.4218, allocations: 10.58 MB / 1.132 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.429, allocations: 2.57 MB / 1.134 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003308/0.4323, allocations: 1.307 MB / 1.135 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.4324, allocations: 9 kB / 1.135 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4324, allocations: 43.56 kB / 1.135 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.4324, allocations: 0 / 1.135 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.04747/0.4799, allocations: 13.46 MB / 1.149 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.48, allocations: 64.72 kB / 1.149 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.4814, allocations: 1.113 MB / 1.15 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.4816, allocations: 49.7 kB / 1.15 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.4821, allocations: 0.7116 MB / 1.151 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.4825, allocations: 457.5 kB / 1.151 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.4827, allocations: 109.7 kB / 1.151 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4828, allocations: 357.9 kB / 1.151 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/0.4863, allocations: 1.366 MB / 1.153 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/0.4899, allocations: 1.628 MB / 1.154 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007052/0.4969, allocations: 3.037 MB / 1.157 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4969, allocations: 4 kB / 1.157 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01207/0.509, allocations: 4.481 MB / 1.162 GB, free: 12.26 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.5091, allocations: 8 kB / 1.162 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.5091, allocations: 4 kB / 1.162 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005464/0.5146, allocations: 1.439 MB / 1.163 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.5167, allocations: 451.2 kB / 1.164 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/0.5424, allocations: 24.55 MB / 1.188 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.5451, allocations: 311.6 kB / 1.188 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.5454, allocations: 59.97 kB / 1.188 GB, free: 15.64 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009388/0.5463, allocations: 446 kB / 1.188 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.5467, allocations: 162.1 kB / 1.188 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.5591, allocations: 4.5 MB / 1.193 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5591, allocations: 12 kB / 1.193 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.563e-05/0.5592, allocations: 15.98 kB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.5592, allocations: 7.969 kB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.5749, allocations: 6.829 MB / 1.2 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.5749, allocations: 0 / 1.2 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.5768, allocations: 399.6 kB / 1.2 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004811/0.5816, allocations: 1.31 MB / 1.201 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.5818, allocations: 39.97 kB / 1.201 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/0.6058, allocations: 23.52 MB / 1.224 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6058, allocations: 12.05 kB / 1.224 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.6172, allocations: 4.251 MB / 1.228 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/0.6181, allocations: 451 kB / 1.229 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.6185, allocations: 24 kB / 1.229 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/0.6208, allocations: 319.5 kB / 1.229 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.6213, allocations: 136.6 kB / 1.229 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.6214, allocations: 47.97 kB / 1.229 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001174/0.6226, allocations: 0.7487 MB / 1.23 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6226, allocations: 0 / 1.23 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002163/0.6248, allocations: 0.5703 MB / 1.231 GB, free: 1.766 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003209/0.6251, allocations: 151.2 kB / 1.231 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0112/0.6363, allocations: 5.146 MB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.6364, allocations: 4 kB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006839/0.6432, allocations: 3.503 MB / 1.239 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.6461, allocations: 0.5075 MB / 1.24 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/0.6551, allocations: 4.688 MB / 1.244 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.6563, allocations: 1.473 MB / 1.246 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001601/0.6579, allocations: 425.6 kB / 1.246 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.6583, allocations: 119.3 kB / 1.246 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/0.6583, allocations: 0 / 1.246 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of Templates: time 0.6103/1.269, allocations: 37.03 MB / 1.282 GB, free: 153.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)