Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001867/0.001867, allocations: 195 kB / 16.14 MB, free: 6.668 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 61.34 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3766, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.008498/0.3851, allocations: 5.123 MB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.391, allocations: 3.369 MB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.3916, allocations: 7.938 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.3937, allocations: 494.2 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.3951, allocations: 354.4 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.3961, allocations: 247.5 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3975, allocations: 0.8606 MB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009/0.3985, allocations: 0.4977 MB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.399, allocations: 239.2 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006807/0.3997, allocations: 287 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.3998, allocations: 28 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.4007, allocations: 339.4 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.4009, allocations: 147.6 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.4013, allocations: 222.8 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.4025, allocations: 0.818 MB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4025, allocations: 4 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4025, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.4026, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 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.002034/0.4046, allocations: 0.8026 MB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.4047, allocations: 8.031 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.4077, allocations: 0.6867 MB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.4086, allocations: 459.8 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.4086, allocations: 21.03 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4088, allocations: 32.12 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.4105, allocations: 0.8356 MB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4105, allocations: 0 / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.4106, allocations: 15.98 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.4108, allocations: 60.58 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.413, allocations: 0.9311 MB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.4174, allocations: 2.863 MB / 1.087 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.4191, allocations: 0.5532 MB / 1.087 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/0.4199, allocations: 304.6 kB / 1.088 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.42, allocations: 97.02 kB / 1.088 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4201, allocations: 38.56 kB / 1.088 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.4201, allocations: 4 kB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of matching and sorting (n=32): time 0.01351/0.4336, allocations: 3.478 MB / 1.091 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4337, allocations: 59.41 kB / 1.091 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.4344, allocations: 400.4 kB / 1.092 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.4344, allocations: 33.64 kB / 1.092 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.4347, allocations: 239.8 kB / 1.092 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.4348, allocations: 110.4 kB / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.4351, allocations: 81.62 kB / 1.092 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4352, allocations: 346.8 kB / 1.092 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4363, allocations: 396.5 kB / 1.093 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.4374, allocations: 468.2 kB / 1.093 GB, free: 160 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.4394, allocations: 0.8316 MB / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.4394, allocations: 0 / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005895/0.4453, allocations: 1.67 MB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.4454, allocations: 7.938 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.4454, allocations: 7.984 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/0.4497, allocations: 0.8725 MB / 1.096 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.4504, allocations: 127.8 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009156/0.4596, allocations: 6.185 MB / 1.103 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/0.4606, allocations: 112 kB / 1.103 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.4607, allocations: 20 kB / 1.103 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001405/0.4621, allocations: 0.57 MB / 1.103 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/0.4632, allocations: 468.8 kB / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002009/0.4652, allocations: 0.8002 MB / 1.105 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.4652, allocations: 3.938 kB / 1.105 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005258/0.4705, allocations: 1.637 MB / 1.106 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.4705, allocations: 8 kB / 1.106 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4705, allocations: 4.188 kB / 1.106 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/0.4735, allocations: 0.6391 MB / 1.107 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.4742, allocations: 135.8 kB / 1.107 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.482, allocations: 6.772 MB / 1.114 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.483, allocations: 111.8 kB / 1.114 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.4831, allocations: 15.98 kB / 1.114 GB, free: 10.05 MB / 0.8731 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.000278/0.4833, allocations: 200.7 kB / 1.114 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.4835, allocations: 35.69 kB / 1.114 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005359/0.4889, allocations: 1.549 MB / 1.115 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.4889, allocations: 8 kB / 1.115 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4889, allocations: 0 / 1.115 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4889, allocations: 3.984 kB / 1.115 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006277/0.4952, allocations: 2.191 MB / 1.118 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4953, allocations: 4 kB / 1.118 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.4957, allocations: 83.77 kB / 1.118 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003874/0.4996, allocations: 0.8139 MB / 1.118 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.4997, allocations: 8 kB / 1.118 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007876/0.5076, allocations: 6.036 MB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5076, allocations: 3.938 kB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/0.5126, allocations: 1.53 MB / 1.126 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.513, allocations: 176.6 kB / 1.126 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.5132, allocations: 8 kB / 1.126 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.5139, allocations: 83.86 kB / 1.126 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.5141, allocations: 31.89 kB / 1.126 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.5141, allocations: 12 kB / 1.126 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005188/0.5146, allocations: 311.1 kB / 1.126 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5147, allocations: 0 / 1.126 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001213/0.5159, allocations: 243.9 kB / 1.127 GB, free: 12.18 MB / 0.8887 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.0002071/0.5161, allocations: 103.2 kB / 1.127 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004992/0.5211, allocations: 2.209 MB / 1.129 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5211, allocations: 3.938 kB / 1.129 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.5229, allocations: 0.8009 MB / 1.13 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.5238, allocations: 124.8 kB / 1.13 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.527, allocations: 1.303 MB / 1.131 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/0.528, allocations: 0.9297 MB / 1.132 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007449/0.5287, allocations: 171.1 kB / 1.132 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.5289, allocations: 31.42 kB / 1.132 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of SimCode: time 1.353e-06/0.5289, allocations: 0 / 1.132 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of Templates: time 0.0264/0.5553, allocations: 14.11 MB / 1.146 GB, free: 8.266 MB / 0.9044 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)