Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, 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.001567/0.001568, allocations: 191.5 kB / 16.13 MB, free: 6.703 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: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.14 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3861, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007292/0.3935, allocations: 5.203 MB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005656/0.3991, allocations: 3.816 MB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.3997, allocations: 11.94 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.402, allocations: 0.5412 MB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.4039, allocations: 411.8 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.4049, allocations: 235.5 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.4068, allocations: 0.919 MB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008768/0.4077, allocations: 0.5051 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.4083, allocations: 311.1 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.4088, allocations: 302.9 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.4089, allocations: 24 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007726/0.4097, allocations: 331.4 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.4098, allocations: 159.5 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.4101, allocations: 226.9 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008641/0.411, allocations: 0.8335 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.411, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.353e-06/0.411, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.411, allocations: 4 kB / 1.081 GB, free: 13.01 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.001508/0.4125, allocations: 0.8103 MB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4126, allocations: 8.031 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.4156, allocations: 0.6944 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.4163, allocations: 460.4 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.4164, allocations: 21.03 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.4165, allocations: 40.11 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.4181, allocations: 0.8395 MB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4181, allocations: 0 / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.4182, allocations: 12 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/0.4184, allocations: 60.58 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.4204, allocations: 0.935 MB / 1.085 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.4246, allocations: 2.871 MB / 1.088 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.4263, allocations: 0.5681 MB / 1.088 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.4271, allocations: 308.6 kB / 1.088 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.4272, allocations: 85.09 kB / 1.088 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4272, allocations: 38.56 kB / 1.089 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.4273, allocations: 0 / 1.089 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.01525/0.4425, allocations: 3.869 MB / 1.092 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.4426, allocations: 55.41 kB / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.4434, allocations: 425.5 kB / 1.093 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.4436, allocations: 33.7 kB / 1.093 GB, free: 492 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.4439, allocations: 252.1 kB / 1.093 GB, free: 232 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.4441, allocations: 122.3 kB / 1.093 GB, free: 108 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.4443, allocations: 86.02 kB / 1.093 GB, free: 16 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002466/0.4446, allocations: 350.8 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.4457, allocations: 438.2 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.4469, allocations: 0.5047 MB / 1.094 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.4491, allocations: 0.9188 MB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4492, allocations: 0 / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006167/0.4553, allocations: 1.837 MB / 1.097 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.4554, allocations: 4 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.4554, allocations: 4 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004618/0.46, allocations: 0.9731 MB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/0.4607, allocations: 123.8 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.4714, allocations: 6.135 MB / 1.104 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/0.4724, allocations: 115.8 kB / 1.104 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/0.4725, allocations: 28.05 kB / 1.104 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001445/0.474, allocations: 0.6138 MB / 1.105 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001122/0.4751, allocations: 0.4889 MB / 1.105 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002142/0.4773, allocations: 0.9015 MB / 1.106 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.4773, allocations: 0 / 1.106 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00521/0.4825, allocations: 1.618 MB / 1.108 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4826, allocations: 8 kB / 1.108 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4826, allocations: 3.984 kB / 1.108 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/0.4858, allocations: 0.7002 MB / 1.109 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.4865, allocations: 135.7 kB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008351/0.4949, allocations: 5.347 MB / 1.114 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.4959, allocations: 107.8 kB / 1.114 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.496, allocations: 20.17 kB / 1.114 GB, free: 9.957 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.4963, allocations: 206.5 kB / 1.114 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.4964, allocations: 39.53 kB / 1.114 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/0.5021, allocations: 1.729 MB / 1.116 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.5021, allocations: 4 kB / 1.116 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5021, allocations: 288 / 1.116 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5022, allocations: 3.984 kB / 1.116 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/0.5087, allocations: 2.418 MB / 1.118 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5087, allocations: 3.938 kB / 1.118 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.5091, allocations: 83.94 kB / 1.118 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003813/0.513, allocations: 0.8872 MB / 1.119 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.513, allocations: 8 kB / 1.119 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009514/0.5225, allocations: 5.821 MB / 1.125 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.5226, allocations: 4.031 kB / 1.125 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.5279, allocations: 1.688 MB / 1.127 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.5284, allocations: 184.5 kB / 1.127 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.5286, allocations: 15.94 kB / 1.127 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.5294, allocations: 87.8 kB / 1.127 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.5297, allocations: 31.95 kB / 1.127 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.5297, allocations: 15.98 kB / 1.127 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006308/0.5304, allocations: 327.1 kB / 1.127 GB, free: 12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5304, allocations: 0 / 1.127 GB, free: 12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00158/0.532, allocations: 264 kB / 1.128 GB, free: 11.74 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003058/0.5323, allocations: 111.2 kB / 1.128 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007188/0.5395, allocations: 2.447 MB / 1.13 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.5395, allocations: 0 / 1.13 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.5422, allocations: 0.9421 MB / 1.131 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.5431, allocations: 121.1 kB / 1.131 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.5461, allocations: 1.414 MB / 1.132 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.5472, allocations: 0.9568 MB / 1.133 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006861/0.5479, allocations: 155.2 kB / 1.134 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.548, allocations: 35.41 kB / 1.134 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of SimCode: time 1.683e-06/0.5481, allocations: 0 / 1.134 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of Templates: time 0.02703/0.5751, allocations: 15.82 MB / 1.149 GB, free: 5.695 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)