Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009655, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007495/0.007495, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 9.156 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3511, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01815/0.3693, allocations: 14.15 MB / 1.088 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.3856, allocations: 10.22 MB / 1.098 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.3875, allocations: 55.62 kB / 1.098 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.3889, allocations: 294 kB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.3946, allocations: 1.604 MB / 1.1 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.3969, allocations: 0.6889 MB / 1.101 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005028/0.402, allocations: 3.398 MB / 1.104 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004044/0.406, allocations: 1.996 MB / 1.106 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.4086, allocations: 1.324 MB / 1.107 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.4112, allocations: 1.082 MB / 1.108 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005703/0.4118, allocations: 68 kB / 1.108 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.4142, allocations: 0.8578 MB / 1.109 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009067/0.4151, allocations: 0.4982 MB / 1.11 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.4168, allocations: 0.8602 MB / 1.11 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.42, allocations: 2.67 MB / 1.113 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.42, allocations: 4 kB / 1.113 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4201, allocations: 0 / 1.113 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.316e-05/0.4201, allocations: 0 / 1.113 GB, free: 15.56 MB / 0.8731 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.00337/0.4235, allocations: 1.841 MB / 1.115 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4235, allocations: 16.03 kB / 1.115 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.4353, allocations: 2.163 MB / 1.117 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.4378, allocations: 1.213 MB / 1.118 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.4378, allocations: 86.69 kB / 1.118 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.4381, allocations: 124 kB / 1.118 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005865/0.444, allocations: 2.698 MB / 1.121 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/0.4441, allocations: 7.938 kB / 1.121 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.4442, allocations: 47.98 kB / 1.121 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006458/0.4449, allocations: 198.1 kB / 1.121 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007769/0.4527, allocations: 2.846 MB / 1.124 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.4678, allocations: 10.57 MB / 1.134 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/0.4746, allocations: 2.383 MB / 1.137 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.4778, allocations: 1.307 MB / 1.138 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.4779, allocations: 12.98 kB / 1.138 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.4779, allocations: 43.56 kB / 1.138 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.604e-06/0.4779, allocations: 0 / 1.138 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153): time 0.06115/0.5391, allocations: 16.53 MB / 1.154 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.5392, allocations: 68.72 kB / 1.154 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.5411, allocations: 1.176 MB / 1.155 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.5414, allocations: 49.7 kB / 1.155 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000595/0.542, allocations: 0.7436 MB / 1.156 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005925/0.5426, allocations: 0.512 MB / 1.157 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.5428, allocations: 125.6 kB / 1.157 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5429, allocations: 309.1 kB / 1.157 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.5466, allocations: 1.53 MB / 1.158 GB, free: 15.87 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.5506, allocations: 1.799 MB / 1.16 GB, free: 13.98 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/0.5583, allocations: 3.412 MB / 1.164 GB, free: 10.47 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.5584, allocations: 0 / 1.164 GB, free: 10.47 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01395/0.5723, allocations: 5.32 MB / 1.169 GB, free: 5.109 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.5724, allocations: 8 kB / 1.169 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5724, allocations: 8 kB / 1.169 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006847/0.5793, allocations: 1.879 MB / 1.171 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.5814, allocations: 431.2 kB / 1.171 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02724/0.6087, allocations: 22.21 MB / 1.193 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.6117, allocations: 315.5 kB / 1.193 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.6119, allocations: 71.91 kB / 1.193 GB, free: 11.12 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009842/0.6129, allocations: 459 kB / 1.193 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.6132, allocations: 173.9 kB / 1.194 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.627, allocations: 5.367 MB / 1.199 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.6271, allocations: 12.09 kB / 1.199 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.62e-05/0.6271, allocations: 27.94 kB / 1.199 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.6272, allocations: 7.969 kB / 1.199 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.6438, allocations: 7.473 MB / 1.206 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6439, allocations: 4 kB / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.6456, allocations: 363.7 kB / 1.207 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005964/0.6516, allocations: 1.704 MB / 1.208 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.6518, allocations: 47.89 kB / 1.208 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02552/0.6773, allocations: 21.38 MB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6774, allocations: 3.938 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.6898, allocations: 4.921 MB / 1.234 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.6909, allocations: 0.4947 MB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.6912, allocations: 24 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/0.6934, allocations: 331.5 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005184/0.6939, allocations: 156.9 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.694, allocations: 51.97 kB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001015/0.695, allocations: 0.7899 MB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6951, allocations: 0 / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002016/0.6971, allocations: 0.6562 MB / 1.236 GB, free: 13.34 MB / 0.9981 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003077/0.6974, allocations: 144.2 kB / 1.237 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.7085, allocations: 5.163 MB / 1.242 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.7085, allocations: 0 / 1.242 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006871/0.7154, allocations: 3.382 MB / 1.245 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.7184, allocations: 0.5121 MB / 1.245 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6341/1.352, allocations: 5.038 MB / 1.25 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/1.355, allocations: 1.567 MB / 1.252 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002081/1.357, allocations: 385.6 kB / 1.252 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/1.357, allocations: 108 kB / 1.252 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.357, allocations: 0 / 1.252 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.09157/1.449, allocations: 42.4 MB / 1.294 GB, free: 151 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)