Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001405/0.001405, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.762/1.762, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.754/1.754, allocations: 251.6 MB / 0.5088 GB, free: 3.301 MB / 414.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.001504/0.001505, allocations: 67.91 kB / 0.6216 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7222, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01858/0.7409, allocations: 14.57 MB / 0.738 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.7575, allocations: 10.46 MB / 0.7483 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.7597, allocations: 55.62 kB / 0.7483 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004458/0.7642, allocations: 1.573 MB / 0.7498 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006516/0.7708, allocations: 1.606 MB / 0.7514 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.7731, allocations: 0.6902 MB / 0.7521 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005588/0.7787, allocations: 3.415 MB / 0.7554 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.7811, allocations: 1.352 MB / 0.7567 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.7839, allocations: 1.39 MB / 0.7581 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.7859, allocations: 1.167 MB / 0.7592 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.7861, allocations: 96 kB / 0.7593 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.7882, allocations: 0.8851 MB / 0.7602 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006394/0.7889, allocations: 0.549 MB / 0.7607 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.79, allocations: 0.8781 MB / 0.7616 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.7933, allocations: 2.741 MB / 0.7643 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7934, allocations: 4 kB / 0.7643 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7934, allocations: 0 / 0.7643 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.169e-05/0.7934, allocations: 0 / 0.7643 GB, free: 3.578 MB / 0.5762 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.004217/0.7976, allocations: 2.166 MB / 0.7664 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.7977, allocations: 11.97 kB / 0.7664 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.8089, allocations: 2.112 MB / 0.7685 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.8127, allocations: 1.21 MB / 0.7696 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.901e-05/0.8128, allocations: 86.69 kB / 0.7697 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.8131, allocations: 124.1 kB / 0.7698 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006749/0.8199, allocations: 2.666 MB / 0.7724 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.82, allocations: 15.86 kB / 0.7725 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.8202, allocations: 51.98 kB / 0.7725 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000743/0.8209, allocations: 198.1 kB / 0.7727 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007616/0.8286, allocations: 2.787 MB / 0.7754 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.8444, allocations: 10.52 MB / 0.7857 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006267/0.8508, allocations: 2.332 MB / 0.788 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.8539, allocations: 1.276 MB / 0.7892 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/0.854, allocations: 9 kB / 0.7892 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.854, allocations: 47.5 kB / 0.7893 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 4.378e-06/0.854, allocations: 0 / 0.7893 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.05926/0.9133, allocations: 16.47 MB / 0.8054 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.9134, allocations: 68.72 kB / 0.8054 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.9153, allocations: 1.176 MB / 0.8066 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.9155, allocations: 53.64 kB / 0.8066 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006026/0.9161, allocations: 0.7475 MB / 0.8073 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005551/0.9167, allocations: 0.5121 MB / 0.8078 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005691/0.9173, allocations: 291.4 kB / 0.8081 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.9175, allocations: 309.1 kB / 0.8084 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.921, allocations: 1.507 MB / 0.8099 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/0.9247, allocations: 1.78 MB / 0.8116 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/0.9317, allocations: 3.377 MB / 0.8149 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.9317, allocations: 4 kB / 0.8149 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01346/0.9452, allocations: 5.276 MB / 0.8201 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.9452, allocations: 8.875 kB / 0.8201 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.9453, allocations: 11.98 kB / 0.8201 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006999/0.9523, allocations: 1.872 MB / 0.8219 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.9542, allocations: 419.3 kB / 0.8223 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02955/0.9837, allocations: 22.18 MB / 0.844 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.9868, allocations: 311.5 kB / 0.8443 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.987, allocations: 67.95 kB / 0.8444 GB, free: 15.13 MB / 0.67 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001072/0.9881, allocations: 465.5 kB / 0.8448 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.9884, allocations: 169.9 kB / 0.845 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.002, allocations: 5.316 MB / 0.8502 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.002, allocations: 12 kB / 0.8502 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.069e-05/1.002, allocations: 24 kB / 0.8502 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/1.002, allocations: 11.91 kB / 0.8502 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.019, allocations: 7.41 MB / 0.8574 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.019, allocations: 7.984 kB / 0.8574 GB, free: 1.547 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.021, allocations: 355.7 kB / 0.8578 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006055/1.027, allocations: 1.706 MB / 0.8595 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/1.027, allocations: 47.91 kB / 0.8595 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02844/1.055, allocations: 21.36 MB / 0.8804 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.056, allocations: 0 / 0.8804 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/1.068, allocations: 4.889 MB / 0.8851 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.07, allocations: 498.7 kB / 0.8856 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/1.07, allocations: 28 kB / 0.8856 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.072, allocations: 319.5 kB / 0.8859 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006548/1.073, allocations: 149 kB / 0.8861 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.073, allocations: 51.97 kB / 0.8861 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001131/1.074, allocations: 0.7938 MB / 0.8869 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 0 / 0.8869 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002442/1.076, allocations: 0.6602 MB / 0.8875 GB, free: 1.531 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003868/1.077, allocations: 147.6 kB / 0.8877 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01145/1.088, allocations: 5.136 MB / 0.8927 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.088, allocations: 0 / 0.8927 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007778/1.096, allocations: 3.347 MB / 0.896 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.099, allocations: 0.5171 MB / 0.8965 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.11, allocations: 4.996 MB / 0.9014 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/1.112, allocations: 1.564 MB / 0.9029 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001924/1.113, allocations: 386.4 kB / 0.9033 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/1.114, allocations: 107.4 kB / 0.9034 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/1.114, allocations: 7.875 kB / 0.9034 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.5694/1.683, allocations: 43.31 MB / 0.9457 GB, free: 141.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)