Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001019/0.001019, allocations: 98.03 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.009605/0.009605, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 14.91 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01709/0.3506, allocations: 14.15 MB / 1.088 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.3665, allocations: 10.23 MB / 1.098 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.3683, allocations: 51.62 kB / 1.098 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.3696, allocations: 286 kB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.3752, allocations: 1.62 MB / 1.1 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3771, allocations: 0.6898 MB / 1.101 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004507/0.3816, allocations: 3.401 MB / 1.104 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.3852, allocations: 1.988 MB / 1.106 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.3874, allocations: 1.32 MB / 1.107 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.3889, allocations: 1.082 MB / 1.108 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.3891, allocations: 72 kB / 1.108 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3907, allocations: 0.8577 MB / 1.109 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005075/0.3912, allocations: 0.506 MB / 1.11 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009074/0.3921, allocations: 0.8485 MB / 1.11 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.3951, allocations: 2.678 MB / 1.113 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3951, allocations: 4 kB / 1.113 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3951, allocations: 3.938 kB / 1.113 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.3951, allocations: 0 / 1.113 GB, free: 15.55 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.003442/0.3986, allocations: 1.835 MB / 1.115 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3987, allocations: 12.03 kB / 1.115 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.4111, allocations: 2.167 MB / 1.117 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.4138, allocations: 1.21 MB / 1.118 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.4139, allocations: 90.69 kB / 1.118 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.4142, allocations: 116 kB / 1.118 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006154/0.4204, allocations: 2.698 MB / 1.121 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.4205, allocations: 11.88 kB / 1.121 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.4207, allocations: 51.98 kB / 1.121 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006908/0.4214, allocations: 190.1 kB / 1.121 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008015/0.4294, allocations: 2.842 MB / 1.124 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.4447, allocations: 10.56 MB / 1.134 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007093/0.4518, allocations: 2.387 MB / 1.137 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.4553, allocations: 1.303 MB / 1.138 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-05/0.4555, allocations: 13 kB / 1.138 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.4555, allocations: 47.48 kB / 1.138 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 5.811e-06/0.4555, allocations: 4 kB / 1.138 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153): time 0.06156/0.5171, allocations: 16.53 MB / 1.154 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.5172, allocations: 68.72 kB / 1.154 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.519, allocations: 1.168 MB / 1.155 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.5193, allocations: 61.64 kB / 1.155 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.5199, allocations: 0.7475 MB / 1.156 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/0.5205, allocations: 0.512 MB / 1.157 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.5207, allocations: 125.6 kB / 1.157 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5209, allocations: 305.1 kB / 1.157 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/0.5247, allocations: 1.526 MB / 1.158 GB, free: 15.87 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003903/0.5286, allocations: 1.799 MB / 1.16 GB, free: 13.97 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007805/0.5364, allocations: 3.412 MB / 1.164 GB, free: 10.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5364, allocations: 0 / 1.164 GB, free: 10.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01433/0.5508, allocations: 5.323 MB / 1.169 GB, free: 5.102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.5509, allocations: 8 kB / 1.169 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5509, allocations: 11.94 kB / 1.169 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007148/0.5581, allocations: 1.885 MB / 1.171 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.5603, allocations: 419.3 kB / 1.171 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02855/0.5888, allocations: 22.2 MB / 1.193 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.5918, allocations: 323.5 kB / 1.193 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.592, allocations: 67.97 kB / 1.193 GB, free: 11.13 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.001049/0.593, allocations: 461.5 kB / 1.194 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.5934, allocations: 177.9 kB / 1.194 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.6078, allocations: 5.359 MB / 1.199 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.6078, allocations: 12 kB / 1.199 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.888e-05/0.6079, allocations: 20 kB / 1.199 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.6079, allocations: 11.91 kB / 1.199 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.6265, allocations: 7.477 MB / 1.206 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.6266, allocations: 4 kB / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/0.6284, allocations: 359.6 kB / 1.207 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006299/0.6347, allocations: 1.705 MB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.6349, allocations: 47.91 kB / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02823/0.6632, allocations: 21.38 MB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6632, allocations: 0 / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.6765, allocations: 4.928 MB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.6777, allocations: 498.7 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.678, allocations: 36.55 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/0.6802, allocations: 323.5 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006609/0.6809, allocations: 160.9 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.681, allocations: 47.97 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001321/0.6823, allocations: 0.7938 MB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.6823, allocations: 0 / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00291/0.6853, allocations: 0.6601 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.0003493/0.6856, allocations: 149 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.6975, allocations: 5.163 MB / 1.242 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.6976, allocations: 4 kB / 1.242 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007276/0.7048, allocations: 3.37 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.003168/0.7081, allocations: 0.5193 MB / 1.245 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5611/1.269, allocations: 5.024 MB / 1.25 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.271, allocations: 1.567 MB / 1.252 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001844/1.273, allocations: 386.5 kB / 1.252 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/1.273, allocations: 108.2 kB / 1.252 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.273, allocations: 0 / 1.252 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08067/1.354, allocations: 42.41 MB / 1.294 GB, free: 150.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)