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.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002096/0.002096, allocations: 193.4 kB / 16.25 MB, free: 6.625 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.778/1.778, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.674/1.674, allocations: 251.7 MB / 0.5089 GB, free: 3.332 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.001635/0.001635, allocations: 71.91 kB / 0.6218 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7553, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01733/0.7727, allocations: 13.85 MB / 0.7375 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.7878, allocations: 9.401 MB / 0.7467 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.7899, allocations: 51.69 kB / 0.7467 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004367/0.7944, allocations: 1.569 MB / 0.7483 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.8016, allocations: 1.414 MB / 0.7497 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.8043, allocations: 0.6864 MB / 0.7503 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00573/0.8101, allocations: 2.524 MB / 0.7528 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.8137, allocations: 1.578 MB / 0.7543 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.8166, allocations: 1.059 MB / 0.7554 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.8197, allocations: 1.179 MB / 0.7565 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008694/0.8206, allocations: 164 kB / 0.7567 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.8236, allocations: 0.7955 MB / 0.7575 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.8247, allocations: 0.6154 MB / 0.7581 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.8262, allocations: 0.9445 MB / 0.759 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.83, allocations: 2.776 MB / 0.7617 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.83, allocations: 0 / 0.7617 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.83, allocations: 0 / 0.7617 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.266e-05/0.83, allocations: 0 / 0.7617 GB, free: 6.344 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.004565/0.8346, allocations: 2.143 MB / 0.7638 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.8347, allocations: 15.97 kB / 0.7638 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.8457, allocations: 2.081 MB / 0.7658 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.849, allocations: 1.201 MB / 0.767 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/0.8491, allocations: 90.73 kB / 0.7671 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.8494, allocations: 120.1 kB / 0.7672 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/0.8558, allocations: 2.681 MB / 0.7698 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.8558, allocations: 7.891 kB / 0.7698 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.856, allocations: 55.98 kB / 0.7699 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005779/0.8566, allocations: 182.1 kB / 0.7701 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007212/0.8638, allocations: 2.799 MB / 0.7728 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.8808, allocations: 10.51 MB / 0.7831 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006487/0.8873, allocations: 2.521 MB / 0.7855 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003104/0.8904, allocations: 1.28 MB / 0.7868 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.31e-05/0.8905, allocations: 9 kB / 0.7868 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.8906, allocations: 55.5 kB / 0.7868 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.837e-06/0.8906, allocations: 0 / 0.7868 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.04406/0.9347, allocations: 13.35 MB / 0.7999 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.9348, allocations: 64.72 kB / 0.7999 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.9364, allocations: 1.117 MB / 0.801 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.9367, allocations: 53.7 kB / 0.8011 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.9372, allocations: 0.7155 MB / 0.8018 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.9376, allocations: 453.4 kB / 0.8022 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.9381, allocations: 267.5 kB / 0.8025 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9383, allocations: 357.9 kB / 0.8028 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/0.9414, allocations: 1.335 MB / 0.8041 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.9447, allocations: 1.604 MB / 0.8057 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/0.9516, allocations: 2.998 MB / 0.8086 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.9516, allocations: 4 kB / 0.8086 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01144/0.9631, allocations: 4.438 MB / 0.8129 GB, free: 408 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.9632, allocations: 8 kB / 0.8129 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.9632, allocations: 11.98 kB / 0.813 GB, free: 388 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005141/0.9683, allocations: 1.436 MB / 0.8144 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.9705, allocations: 439.2 kB / 0.8148 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03213/1.003, allocations: 26.7 MB / 0.8408 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/1.007, allocations: 299.5 kB / 0.8411 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/1.007, allocations: 71.95 kB / 0.8412 GB, free: 1.574 MB / 0.6544 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00126/1.008, allocations: 433.5 kB / 0.8416 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/1.009, allocations: 162.1 kB / 0.8418 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.024, allocations: 4.457 MB / 0.8461 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.024, allocations: 16 kB / 0.8461 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-05/1.024, allocations: 12 kB / 0.8461 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.024, allocations: 7.969 kB / 0.8462 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/1.046, allocations: 6.763 MB / 0.8528 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.046, allocations: 8.062 kB / 0.8528 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/1.049, allocations: 375.4 kB / 0.8531 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005694/1.054, allocations: 1.322 MB / 0.8544 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/1.055, allocations: 35.97 kB / 0.8545 GB, free: 3.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02528/1.08, allocations: 25.52 MB / 0.8794 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.08, allocations: 7.969 kB / 0.8794 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.09, allocations: 4.2 MB / 0.8835 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.092, allocations: 455 kB / 0.8839 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/1.092, allocations: 27.98 kB / 0.8839 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.094, allocations: 307.4 kB / 0.8842 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/1.094, allocations: 128.7 kB / 0.8844 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.095, allocations: 47.97 kB / 0.8844 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001061/1.096, allocations: 0.7526 MB / 0.8851 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.01e-07/1.096, allocations: 0 / 0.8851 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002343/1.098, allocations: 0.5742 MB / 0.8857 GB, free: 1.789 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003523/1.098, allocations: 139.6 kB / 0.8858 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.11, allocations: 5.521 MB / 0.8912 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.11, allocations: 0 / 0.8912 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006926/1.117, allocations: 3.488 MB / 0.8946 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.12, allocations: 0.5555 MB / 0.8952 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008392/1.129, allocations: 4.655 MB / 0.8997 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.13, allocations: 1.47 MB / 0.9012 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001838/1.132, allocations: 429.6 kB / 0.9016 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/1.132, allocations: 111.4 kB / 0.9017 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of SimCode: time 1.312e-06/1.132, allocations: 0 / 0.9017 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of Templates: time 0.5605/1.693, allocations: 39.24 MB / 0.94 GB, free: 172.1 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)