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.001403/0.001403, 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.002188/0.002188, allocations: 192.6 kB / 16.14 MB, free: 6.66 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.467/1.467, allocations: 205.1 MB / 222 MB, free: 4.754 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.748/1.748, allocations: 292.2 MB / 0.5484 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.00139/0.00139, allocations: 62.3 kB / 0.6708 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2467, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007686/0.2544, allocations: 6.777 MB / 0.7893 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004806/0.2593, allocations: 3.088 MB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.2598, allocations: 23.88 kB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.262, allocations: 0.8914 MB / 0.7932 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2631, allocations: 469.7 kB / 0.7937 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.2641, allocations: 414.1 kB / 0.7941 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2654, allocations: 1.591 MB / 0.7956 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008651/0.2663, allocations: 0.6456 MB / 0.7962 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.2667, allocations: 430.3 kB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.2673, allocations: 0.5253 MB / 0.7972 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.2674, allocations: 44 kB / 0.7972 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007201/0.2681, allocations: 455.1 kB / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.2684, allocations: 283.1 kB / 0.7979 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.2688, allocations: 433.7 kB / 0.7983 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.2698, allocations: 1.207 MB / 0.7995 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2698, allocations: 0 / 0.7995 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2698, allocations: 0 / 0.7995 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.2699, allocations: 3.938 kB / 0.7995 GB, free: 12.75 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.001836/0.2717, allocations: 1.169 MB / 0.8006 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2717, allocations: 12.03 kB / 0.8007 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.2732, allocations: 243.5 kB / 0.8009 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.274, allocations: 0.5569 MB / 0.8014 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.2741, allocations: 49.67 kB / 0.8015 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.2742, allocations: 64.36 kB / 0.8015 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2755, allocations: 1.085 MB / 0.8026 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.2756, allocations: 7.938 kB / 0.8026 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.2756, allocations: 31.98 kB / 0.8026 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.2758, allocations: 85.25 kB / 0.8027 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2769, allocations: 0.7504 MB / 0.8035 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.2816, allocations: 5.897 MB / 0.8092 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.2826, allocations: 0.5498 MB / 0.8097 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.283, allocations: 334 kB / 0.8101 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.2831, allocations: 4.438 kB / 0.8101 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2831, allocations: 39 kB / 0.8101 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.2831, allocations: 0 / 0.8101 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003606/0.2867, allocations: 1.986 MB / 0.812 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2868, allocations: 59.83 kB / 0.8121 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.2873, allocations: 0.5548 MB / 0.8126 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.2874, allocations: 37.7 kB / 0.8127 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.2876, allocations: 414.8 kB / 0.8131 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.2878, allocations: 173.6 kB / 0.8132 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.2879, allocations: 126.5 kB / 0.8134 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2881, allocations: 382.7 kB / 0.8137 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.2885, allocations: 273.8 kB / 0.814 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.289, allocations: 497 kB / 0.8145 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/0.2899, allocations: 0.8093 MB / 0.8153 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2899, allocations: 3.938 kB / 0.8153 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001821/0.2918, allocations: 1.087 MB / 0.8163 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2918, allocations: 8 kB / 0.8163 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.2918, allocations: 8 kB / 0.8163 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008532/0.2927, allocations: 275.8 kB / 0.8166 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.2932, allocations: 127.8 kB / 0.8167 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.299, allocations: 6.606 MB / 0.8232 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.2997, allocations: 36.02 kB / 0.8232 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.2997, allocations: 39.94 kB / 0.8232 GB, free: 2.883 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.0003725/0.3001, allocations: 250.2 kB / 0.8235 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3002, allocations: 75.16 kB / 0.8236 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.3017, allocations: 0.8887 MB / 0.8244 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3018, allocations: 4 kB / 0.8244 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3018, allocations: 4 kB / 0.8244 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3018, allocations: 3.984 kB / 0.8244 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.3043, allocations: 1.724 MB / 0.8261 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3043, allocations: 3.938 kB / 0.8261 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.3046, allocations: 72.06 kB / 0.8262 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007613/0.3054, allocations: 263.2 kB / 0.8264 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.3054, allocations: 12 kB / 0.8265 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/0.311, allocations: 6.579 MB / 0.8329 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3111, allocations: 192 / 0.8329 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.3126, allocations: 0.9916 MB / 0.8338 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.3129, allocations: 188.2 kB / 0.834 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.313, allocations: 23.92 kB / 0.834 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.3133, allocations: 35.97 kB / 0.8341 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.3135, allocations: 35.89 kB / 0.8341 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.3135, allocations: 19.98 kB / 0.8341 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004226/0.3139, allocations: 387.1 kB / 0.8345 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.003e-06/0.3139, allocations: 4 kB / 0.8345 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008019/0.3147, allocations: 227.9 kB / 0.8347 GB, free: 6.395 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.0001647/0.3149, allocations: 119.1 kB / 0.8348 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.3168, allocations: 1.264 MB / 0.8361 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3168, allocations: 4.062 kB / 0.8361 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.3179, allocations: 0.8931 MB / 0.8369 GB, free: 4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3189, allocations: 208 kB / 0.8371 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.321, allocations: 1.651 MB / 0.8388 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.3215, allocations: 1.013 MB / 0.8397 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003835/0.3219, allocations: 122 kB / 0.8399 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.322, allocations: 43.44 kB / 0.8399 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.322, allocations: 0 / 0.8399 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of Templates: time 0.01646/0.3385, allocations: 10.79 MB / 0.8504 GB, free: 6.23 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)