Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 198.1 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 53.98 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3192, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006215/0.3255, allocations: 5.088 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.005592/0.3312, allocations: 3.355 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.3317, allocations: 7.938 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.3338, allocations: 498.2 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.3351, allocations: 343.9 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008881/0.336, allocations: 243.5 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3373, allocations: 0.8648 MB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007529/0.338, allocations: 0.4953 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.3383, allocations: 235.2 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.3387, allocations: 302.8 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.3388, allocations: 28 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.3393, allocations: 331.4 kB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.3395, allocations: 151.6 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.3397, allocations: 214.9 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.3404, allocations: 0.8179 MB / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3404, allocations: 0 / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3404, allocations: 0 / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3404, allocations: 0 / 1.231 GB, free: 104.3 MB / 0.823 GB 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.001544/0.342, allocations: 0.7988 MB / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.342, allocations: 15.98 kB / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.3445, allocations: 0.6594 MB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/0.3452, allocations: 455.8 kB / 1.233 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3452, allocations: 21.03 kB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.3453, allocations: 44.11 kB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3467, allocations: 0.8161 MB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3467, allocations: 8 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.3468, allocations: 12 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.3469, allocations: 60.58 kB / 1.234 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.3487, allocations: 0.9116 MB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.3519, allocations: 2.844 MB / 1.237 GB, free: 97.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3534, allocations: 0.541 MB / 1.238 GB, free: 96.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/0.354, allocations: 300.6 kB / 1.238 GB, free: 96.46 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.204e-05/0.3541, allocations: 89.09 kB / 1.238 GB, free: 96.35 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3542, allocations: 38.5 kB / 1.238 GB, free: 96.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 2.395e-06/0.3542, allocations: 0 / 1.238 GB, free: 96.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=32): time 0.0111/0.3653, allocations: 3.404 MB / 1.241 GB, free: 92.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3653, allocations: 51.41 kB / 1.242 GB, free: 92.79 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.3657, allocations: 404.3 kB / 1.242 GB, free: 92.38 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.3658, allocations: 37.64 kB / 1.242 GB, free: 92.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3659, allocations: 223.9 kB / 1.242 GB, free: 92.11 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/0.366, allocations: 118.3 kB / 1.242 GB, free: 92 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.3661, allocations: 81.67 kB / 1.242 GB, free: 91.91 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.3662, allocations: 342.8 kB / 1.243 GB, free: 91.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008/0.367, allocations: 384.5 kB / 1.243 GB, free: 91.19 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008229/0.3679, allocations: 464.1 kB / 1.243 GB, free: 90.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.3695, allocations: 0.8075 MB / 1.244 GB, free: 89.87 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3695, allocations: 4 kB / 1.244 GB, free: 89.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004715/0.3742, allocations: 1.619 MB / 1.246 GB, free: 88.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3742, allocations: 15.92 kB / 1.246 GB, free: 88.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3743, allocations: 0 / 1.246 GB, free: 88.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/0.3778, allocations: 0.8764 MB / 1.247 GB, free: 87.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.3784, allocations: 123.8 kB / 1.247 GB, free: 87.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/0.3849, allocations: 6.196 MB / 1.253 GB, free: 80.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.3858, allocations: 103.8 kB / 1.253 GB, free: 80.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.3859, allocations: 15.98 kB / 1.253 GB, free: 80.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001034/0.3869, allocations: 0.56 MB / 1.254 GB, free: 79.93 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007708/0.3877, allocations: 444.9 kB / 1.254 GB, free: 79.47 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00149/0.3892, allocations: 0.7959 MB / 1.255 GB, free: 78.64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.3892, allocations: 0 / 1.255 GB, free: 78.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004266/0.3935, allocations: 1.618 MB / 1.256 GB, free: 76.97 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3935, allocations: 4 kB / 1.256 GB, free: 76.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3935, allocations: 7.984 kB / 1.256 GB, free: 76.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/0.396, allocations: 0.6394 MB / 1.257 GB, free: 76.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.3966, allocations: 127.8 kB / 1.257 GB, free: 76.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005526/0.4021, allocations: 6.784 MB / 1.264 GB, free: 68.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/0.403, allocations: 99.86 kB / 1.264 GB, free: 68.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.4031, allocations: 19.98 kB / 1.264 GB, free: 68.75 MB / 0.823 GB 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.4033, allocations: 208.9 kB / 1.264 GB, free: 68.54 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.4034, allocations: 31.62 kB / 1.264 GB, free: 68.51 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.4079, allocations: 1.521 MB / 1.266 GB, free: 66.96 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4079, allocations: 7.984 kB / 1.266 GB, free: 66.96 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4079, allocations: 4 kB / 1.266 GB, free: 66.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4079, allocations: 0 / 1.266 GB, free: 66.95 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/0.413, allocations: 2.202 MB / 1.268 GB, free: 64.67 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.413, allocations: 0 / 1.268 GB, free: 64.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.4134, allocations: 87.83 kB / 1.268 GB, free: 64.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/0.4166, allocations: 0.8062 MB / 1.269 GB, free: 63.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.4166, allocations: 15.92 kB / 1.269 GB, free: 63.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/0.4222, allocations: 6.016 MB / 1.274 GB, free: 57.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4222, allocations: 7.969 kB / 1.274 GB, free: 57.33 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.4273, allocations: 2.589 MB / 1.277 GB, free: 54.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.4275, allocations: 168.7 kB / 1.277 GB, free: 54.48 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.4276, allocations: 8 kB / 1.277 GB, free: 54.47 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.4282, allocations: 83.86 kB / 1.277 GB, free: 54.39 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4283, allocations: 31.91 kB / 1.277 GB, free: 54.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4284, allocations: 11.98 kB / 1.277 GB, free: 54.35 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002804/0.4287, allocations: 303.1 kB / 1.278 GB, free: 54.05 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4287, allocations: 0 / 1.278 GB, free: 54.05 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00109/0.4298, allocations: 236 kB / 1.278 GB, free: 53.82 MB / 0.823 GB 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.4299, allocations: 115.1 kB / 1.278 GB, free: 53.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.4337, allocations: 2.189 MB / 1.28 GB, free: 51.42 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4337, allocations: 0 / 1.28 GB, free: 51.42 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.4349, allocations: 0.8045 MB / 1.281 GB, free: 50.57 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.4355, allocations: 110.7 kB / 1.281 GB, free: 50.47 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.4374, allocations: 1.557 MB / 1.282 GB, free: 48.87 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4377, allocations: 0.9375 MB / 1.283 GB, free: 47.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004675/0.4382, allocations: 163.1 kB / 1.284 GB, free: 47.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.4383, allocations: 35.41 kB / 1.284 GB, free: 47.7 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/0.4383, allocations: 0 / 1.284 GB, free: 47.7 MB / 0.823 GB Notification: Performance of Templates: time 0.01563/0.454, allocations: 14.19 MB / 1.297 GB, free: 33.58 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)