Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.000971, allocations: 98.19 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.006511/0.006511, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 12.98 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3632, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01386/0.3771, allocations: 11.42 MB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009249/0.3864, allocations: 5.654 MB / 1.091 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.3876, allocations: 31.81 kB / 1.091 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.3888, allocations: 314.1 kB / 1.091 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.3907, allocations: 0.6183 MB / 1.092 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.3926, allocations: 0.6823 MB / 1.092 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004061/0.3967, allocations: 3.765 MB / 1.096 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006448/0.4031, allocations: 4.364 MB / 1.1 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.405, allocations: 0.8134 MB / 1.101 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.4067, allocations: 1.125 MB / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.4069, allocations: 100 kB / 1.102 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.4079, allocations: 499.2 kB / 1.103 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007917/0.4087, allocations: 0.7404 MB / 1.104 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.4099, allocations: 0.857 MB / 1.104 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003887/0.4138, allocations: 3.661 MB / 1.108 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4138, allocations: 7.938 kB / 1.108 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.486e-06/0.4138, allocations: 0 / 1.108 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.699e-05/0.4139, allocations: 3.938 kB / 1.108 GB, free: 4.73 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003482/0.4173, allocations: 1.73 MB / 1.11 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4174, allocations: 12.03 kB / 1.11 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.4209, allocations: 0.7713 MB / 1.11 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.4231, allocations: 1.197 MB / 1.112 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.4232, allocations: 119.6 kB / 1.112 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/0.4235, allocations: 168.1 kB / 1.112 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005155/0.4287, allocations: 2.96 MB / 1.115 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/0.4288, allocations: 4 kB / 1.115 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.429, allocations: 67.98 kB / 1.115 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003657/0.4294, allocations: 163.1 kB / 1.115 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/0.4337, allocations: 2.534 MB / 1.117 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.4473, allocations: 10.86 MB / 1.128 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.449, allocations: 0.9563 MB / 1.129 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008533/0.4499, allocations: 0.5118 MB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.4501, allocations: 93.45 kB / 1.13 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.4501, allocations: 38.94 kB / 1.13 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.4501, allocations: 0 / 1.13 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.03231/0.4825, allocations: 8.363 MB / 1.138 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4825, allocations: 59.97 kB / 1.138 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.4841, allocations: 0.922 MB / 1.139 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.4843, allocations: 41.7 kB / 1.139 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/0.4849, allocations: 0.7736 MB / 1.14 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.4852, allocations: 248.5 kB / 1.14 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4853, allocations: 93.67 kB / 1.14 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.4856, allocations: 394.8 kB / 1.14 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.487, allocations: 0.8145 MB / 1.141 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.4887, allocations: 1.163 MB / 1.142 GB, free: 276 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/0.4918, allocations: 2.017 MB / 1.144 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4919, allocations: 4 kB / 1.144 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01085/0.5027, allocations: 3.732 MB / 1.148 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.5031, allocations: 413.1 kB / 1.148 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.5031, allocations: 8 kB / 1.148 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00894/0.5121, allocations: 2.009 MB / 1.15 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5133, allocations: 235.6 kB / 1.15 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/0.5302, allocations: 9.897 MB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.5321, allocations: 187.6 kB / 1.16 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.5322, allocations: 59.86 kB / 1.16 GB, free: 13.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5322, allocations: 8 kB / 1.16 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008637/0.5409, allocations: 3.064 MB / 1.163 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/0.541, allocations: 8 kB / 1.163 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005544/0.5465, allocations: 1.288 MB / 1.165 GB, free: 8.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.5479, allocations: 287.6 kB / 1.165 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.5591, allocations: 6.004 MB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.5607, allocations: 163.7 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.5608, allocations: 47.98 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001564/0.5624, allocations: 0.8909 MB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.5626, allocations: 82.97 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009894/0.5725, allocations: 3.249 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.5726, allocations: 8 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5726, allocations: 7.938 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.5726, allocations: 3.984 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.5856, allocations: 5.344 MB / 1.18 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5856, allocations: 4 kB / 1.18 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.5861, allocations: 108.1 kB / 1.18 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007717/0.5939, allocations: 1.814 MB / 1.182 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/0.594, allocations: 16 kB / 1.182 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01469/0.6087, allocations: 9.304 MB / 1.191 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6087, allocations: 0 / 1.191 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009067/0.6178, allocations: 3.093 MB / 1.194 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/0.6185, allocations: 332 kB / 1.195 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.6186, allocations: 16 kB / 1.195 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6196, allocations: 139.8 kB / 1.195 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.6199, allocations: 72.34 kB / 1.195 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.62, allocations: 20 kB / 1.195 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001052/0.6211, allocations: 0.6785 MB / 1.195 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6211, allocations: 3.938 kB / 1.195 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002962/0.624, allocations: 0.6914 MB / 1.196 GB, free: 7.785 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003545/0.6244, allocations: 123.1 kB / 1.196 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008577/0.633, allocations: 3.862 MB / 1.2 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.633, allocations: 0 / 1.2 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.6355, allocations: 1.258 MB / 1.201 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.6372, allocations: 342.6 kB / 1.202 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/0.6436, allocations: 4.182 MB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.6453, allocations: 1.719 MB / 1.207 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001599/0.6469, allocations: 0.5342 MB / 1.208 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.6471, allocations: 67.42 kB / 1.208 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of SimCode: time 1.313e-06/0.6471, allocations: 0 / 1.208 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.05132/0.6985, allocations: 31.95 MB / 1.239 GB, free: 11.76 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)