Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001597/0.001597, allocations: 194.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.2 MB / 0.5485 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 69.98 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3097, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01499/0.3247, allocations: 6.766 MB / 0.7895 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009383/0.3342, allocations: 3.072 MB / 0.7925 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.3356, allocations: 23.81 kB / 0.7925 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003516/0.3392, allocations: 0.8836 MB / 0.7934 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.3417, allocations: 481.6 kB / 0.7938 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.3436, allocations: 402.4 kB / 0.7942 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.3459, allocations: 1.236 MB / 0.7954 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.3475, allocations: 0.725 MB / 0.7961 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.3485, allocations: 490.2 kB / 0.7966 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009191/0.3495, allocations: 0.5331 MB / 0.7971 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.3496, allocations: 68 kB / 0.7972 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3507, allocations: 383.2 kB / 0.7975 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003811/0.3511, allocations: 307.2 kB / 0.7978 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.3518, allocations: 449.7 kB / 0.7983 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3535, allocations: 1.234 MB / 0.7995 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3535, allocations: 0 / 0.7995 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3535, allocations: 0 / 0.7995 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.64e-05/0.3536, allocations: 0 / 0.7995 GB, free: 12.83 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003399/0.357, allocations: 1.169 MB / 0.8006 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.3571, allocations: 8.031 kB / 0.8006 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.3589, allocations: 243.5 kB / 0.8008 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009878/0.3599, allocations: 0.5492 MB / 0.8014 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.3599, allocations: 49.67 kB / 0.8014 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3601, allocations: 68.36 kB / 0.8015 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.3619, allocations: 1.085 MB / 0.8026 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.362, allocations: 7.938 kB / 0.8026 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.362, allocations: 35.92 kB / 0.8026 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.3622, allocations: 85.25 kB / 0.8027 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.3634, allocations: 0.7504 MB / 0.8034 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/0.3696, allocations: 5.893 MB / 0.8092 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3708, allocations: 0.5584 MB / 0.8097 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.3713, allocations: 322 kB / 0.81 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.3713, allocations: 8.438 kB / 0.81 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.3714, allocations: 42.94 kB / 0.8101 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.176e-06/0.3714, allocations: 4 kB / 0.8101 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004348/0.3757, allocations: 1.986 MB / 0.812 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3758, allocations: 55.84 kB / 0.8121 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.3765, allocations: 0.5665 MB / 0.8126 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.3766, allocations: 33.7 kB / 0.8126 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.3769, allocations: 414.9 kB / 0.813 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.3771, allocations: 169.6 kB / 0.8132 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.3773, allocations: 130.5 kB / 0.8133 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3774, allocations: 378.7 kB / 0.8137 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.3779, allocations: 269.8 kB / 0.8139 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.3784, allocations: 497 kB / 0.8144 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.3796, allocations: 0.8171 MB / 0.8152 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.3796, allocations: 4 kB / 0.8152 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001976/0.3816, allocations: 1.087 MB / 0.8163 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3816, allocations: 8 kB / 0.8163 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3816, allocations: 11.98 kB / 0.8163 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/0.3825, allocations: 279.3 kB / 0.8166 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.383, allocations: 119.8 kB / 0.8167 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007026/0.3901, allocations: 7.145 MB / 0.8237 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.3908, allocations: 35.97 kB / 0.8237 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.391, allocations: 35.98 kB / 0.8237 GB, free: 2.402 MB / 0.6387 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004722/0.3915, allocations: 257.5 kB / 0.824 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.3916, allocations: 71.16 kB / 0.824 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.3933, allocations: 0.8847 MB / 0.8249 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3933, allocations: 12 kB / 0.8249 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3933, allocations: 4 kB / 0.8249 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3933, allocations: 0 / 0.8249 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.3961, allocations: 1.72 MB / 0.8266 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3962, allocations: 4 kB / 0.8266 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.3965, allocations: 63.83 kB / 0.8267 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008023/0.3973, allocations: 271.3 kB / 0.8269 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.3973, allocations: 8 kB / 0.8269 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006696/0.404, allocations: 7.135 MB / 0.8339 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.4041, allocations: 7.875 kB / 0.8339 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.4059, allocations: 0.9955 MB / 0.8349 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.4064, allocations: 192.1 kB / 0.8351 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.4065, allocations: 12 kB / 0.8351 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.407, allocations: 35.91 kB / 0.8351 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.4071, allocations: 39.88 kB / 0.8352 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.4072, allocations: 16 kB / 0.8352 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005294/0.4077, allocations: 391.1 kB / 0.8355 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4077, allocations: 4 kB / 0.8355 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009929/0.4087, allocations: 224 kB / 0.8358 GB, free: 5.332 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.4089, allocations: 119.1 kB / 0.8359 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002119/0.411, allocations: 1.33 MB / 0.8372 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.4111, allocations: 0 / 0.8372 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.4123, allocations: 0.8932 MB / 0.838 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4134, allocations: 220 kB / 0.8383 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.4162, allocations: 1.646 MB / 0.8399 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.417, allocations: 1.009 MB / 0.8408 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004424/0.4174, allocations: 130 kB / 0.841 GB, free: 15.81 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4175, allocations: 43.38 kB / 0.841 GB, free: 15.77 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/0.4175, allocations: 0 / 0.841 GB, free: 15.77 MB / 0.67 GB Notification: Performance of Templates: time 0.02095/0.4385, allocations: 11.25 MB / 0.852 GB, free: 4.648 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)