Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.000772/0.000772, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007919/0.0007921, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.633/1.633, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004864/0.0004864, allocations: 19.22 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2876, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01589/0.3035, allocations: 13.23 MB / 0.8002 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.3196, allocations: 9.702 MB / 0.8097 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.3218, allocations: 47.69 kB / 0.8097 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.3236, allocations: 277.8 kB / 0.81 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006308/0.3299, allocations: 1.472 MB / 0.8114 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.3321, allocations: 0.5106 MB / 0.8119 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.3363, allocations: 2.902 MB / 0.8148 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.3394, allocations: 1.805 MB / 0.8165 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.3414, allocations: 1.289 MB / 0.8178 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.3429, allocations: 1.039 MB / 0.8188 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.3431, allocations: 71.94 kB / 0.8189 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3443, allocations: 431.5 kB / 0.8193 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005003/0.3448, allocations: 0.4906 MB / 0.8198 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.3452, allocations: 356.7 kB / 0.8201 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.3474, allocations: 2.123 MB / 0.8222 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3474, allocations: 4 kB / 0.8222 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.846e-06/0.3475, allocations: 0 / 0.8222 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.3475, allocations: 0 / 0.8222 GB, free: 8.062 MB / 0.6387 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.003247/0.3507, allocations: 1.859 MB / 0.824 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3508, allocations: 12.03 kB / 0.824 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.3608, allocations: 2.182 MB / 0.8261 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.3631, allocations: 1.151 MB / 0.8273 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.3632, allocations: 86.3 kB / 0.8273 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.3634, allocations: 124 kB / 0.8275 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005197/0.3686, allocations: 2.69 MB / 0.8301 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.3687, allocations: 11.84 kB / 0.8301 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.3689, allocations: 55.97 kB / 0.8301 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00056/0.3694, allocations: 190.1 kB / 0.8303 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006768/0.3762, allocations: 2.834 MB / 0.8331 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.3909, allocations: 10.57 MB / 0.8434 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005916/0.3968, allocations: 2.379 MB / 0.8457 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/0.3998, allocations: 1.299 MB / 0.847 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/0.3999, allocations: 9 kB / 0.847 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.4, allocations: 47.56 kB / 0.8471 GB, free: 13.67 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.357e-06/0.4, allocations: 0 / 0.8471 GB, free: 13.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05327/0.4533, allocations: 16.5 MB / 0.8632 GB, free: 13 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.4534, allocations: 68.72 kB / 0.8632 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.4554, allocations: 1.164 MB / 0.8644 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.4557, allocations: 49.7 kB / 0.8644 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/0.4563, allocations: 0.7476 MB / 0.8652 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/0.4569, allocations: 0.516 MB / 0.8657 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.4571, allocations: 28 kB / 0.8657 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4573, allocations: 361.9 kB / 0.866 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/0.4607, allocations: 1.526 MB / 0.8675 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.4641, allocations: 1.792 MB / 0.8693 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.4678, allocations: 1.65 MB / 0.8709 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.4678, allocations: 4 kB / 0.8709 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01303/0.4809, allocations: 5.288 MB / 0.876 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.4809, allocations: 11.98 kB / 0.8761 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.481, allocations: 8 kB / 0.8761 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006835/0.4878, allocations: 1.894 MB / 0.8779 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.4897, allocations: 427.2 kB / 0.8783 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02885/0.5186, allocations: 22.14 MB / 0.8999 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.5214, allocations: 315.6 kB / 0.9002 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/0.5219, allocations: 71.97 kB / 0.9003 GB, free: 5.699 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.5232, allocations: 461.5 kB / 0.9008 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/0.5238, allocations: 173.9 kB / 0.9009 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.537, allocations: 5.351 MB / 0.9061 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.537, allocations: 19.95 kB / 0.9062 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-05/0.5371, allocations: 20 kB / 0.9062 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.5371, allocations: 7.969 kB / 0.9062 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.5539, allocations: 7.453 MB / 0.9135 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.554, allocations: 0 / 0.9135 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.5555, allocations: 367.7 kB / 0.9138 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005704/0.5612, allocations: 1.699 MB / 0.9155 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/0.5615, allocations: 47.95 kB / 0.9155 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5313/1.093, allocations: 21.32 MB / 0.9364 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.093, allocations: 5 kB / 0.9364 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.104, allocations: 4.916 MB / 0.9412 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.106, allocations: 494.9 kB / 0.9416 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.106, allocations: 32.5 kB / 0.9417 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.108, allocations: 329.4 kB / 0.942 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007301/1.108, allocations: 146.7 kB / 0.9421 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.109, allocations: 59.72 kB / 0.9422 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001613/1.11, allocations: 0.7765 MB / 0.9429 GB, free: 116 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.3e-07/1.11, allocations: 0 / 0.9429 GB, free: 116 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002883/1.113, allocations: 0.6553 MB / 0.9436 GB, free: 115.9 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002986/1.113, allocations: 137.5 kB / 0.9437 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.125, allocations: 5.18 MB / 0.9488 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.125, allocations: 1.094 kB / 0.9488 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006754/1.132, allocations: 3.379 MB / 0.9521 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.135, allocations: 0.5165 MB / 0.9526 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/1.143, allocations: 4.857 MB / 0.9573 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/1.145, allocations: 1.569 MB / 0.9588 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001736/1.146, allocations: 382.6 kB / 0.9592 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/1.147, allocations: 109.2 kB / 0.9593 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/1.147, allocations: 5.375 kB / 0.9593 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05788/1.205, allocations: 41.43 MB / 0.9998 GB, free: 76.77 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: