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.001099/0.001104, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001567/0.001567, allocations: 168.7 kB / 15.95 MB, free: 200 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.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.556/1.556, allocations: 252 MB / 0.5102 GB, free: 4.797 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.0005961/0.0005965, allocations: 16 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6118, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01447/0.6263, allocations: 13.22 MB / 0.7411 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.6408, allocations: 9.709 MB / 0.7505 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.6423, allocations: 43.69 kB / 0.7506 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.6432, allocations: 285.8 kB / 0.7508 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.6478, allocations: 1.45 MB / 0.7523 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.6494, allocations: 0.5207 MB / 0.7528 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003682/0.6531, allocations: 2.91 MB / 0.7556 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/0.6563, allocations: 1.812 MB / 0.7574 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.6585, allocations: 1.281 MB / 0.7586 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.6601, allocations: 1.043 MB / 0.7597 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.6603, allocations: 72 kB / 0.7597 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.6614, allocations: 439.5 kB / 0.7601 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.6619, allocations: 0.4905 MB / 0.7606 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.6623, allocations: 352.8 kB / 0.761 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.6644, allocations: 2.131 MB / 0.763 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6644, allocations: 0 / 0.763 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6645, allocations: 0 / 0.763 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.096e-05/0.6645, allocations: 0 / 0.763 GB, free: 7.539 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.003411/0.6679, allocations: 1.855 MB / 0.7648 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.668, allocations: 12.03 kB / 0.7649 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.6787, allocations: 2.17 MB / 0.767 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.6816, allocations: 1.163 MB / 0.7681 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.6817, allocations: 90.31 kB / 0.7682 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.682, allocations: 119.8 kB / 0.7683 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00652/0.6885, allocations: 2.686 MB / 0.7709 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-05/0.6886, allocations: 7.938 kB / 0.7709 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.6888, allocations: 59.97 kB / 0.771 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006403/0.6895, allocations: 190.1 kB / 0.7712 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00728/0.6968, allocations: 2.83 MB / 0.7739 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.7135, allocations: 10.56 MB / 0.7843 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006218/0.7198, allocations: 2.387 MB / 0.7866 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/0.7228, allocations: 1.296 MB / 0.7879 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.7229, allocations: 12.98 kB / 0.7879 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.723, allocations: 43.55 kB / 0.7879 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.878e-06/0.723, allocations: 7.938 kB / 0.7879 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.05556/0.7786, allocations: 16.5 MB / 0.804 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.7787, allocations: 68.72 kB / 0.8041 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.7808, allocations: 1.16 MB / 0.8052 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.781, allocations: 53.7 kB / 0.8053 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/0.7817, allocations: 0.7475 MB / 0.806 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/0.7823, allocations: 0.5119 MB / 0.8065 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.7825, allocations: 35.94 kB / 0.8065 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7827, allocations: 365.9 kB / 0.8069 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.7859, allocations: 1.526 MB / 0.8084 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/0.7895, allocations: 1.788 MB / 0.8101 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.793, allocations: 1.65 MB / 0.8117 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7931, allocations: 0 / 0.8117 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01241/0.8055, allocations: 5.301 MB / 0.8169 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.8055, allocations: 8 kB / 0.8169 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.8056, allocations: 8 kB / 0.8169 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006425/0.812, allocations: 1.881 MB / 0.8188 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.8139, allocations: 431.2 kB / 0.8192 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0292/0.8431, allocations: 22.14 MB / 0.8408 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.8459, allocations: 315.5 kB / 0.8411 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/0.8463, allocations: 72.02 kB / 0.8412 GB, free: 5.188 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 (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.001257/0.8476, allocations: 457.5 kB / 0.8416 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005286/0.8481, allocations: 181.8 kB / 0.8418 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.8611, allocations: 5.347 MB / 0.847 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.8612, allocations: 16 kB / 0.847 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.899e-05/0.8612, allocations: 16 kB / 0.847 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.8613, allocations: 7.969 kB / 0.847 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/0.8775, allocations: 7.453 MB / 0.8543 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.8776, allocations: 4.344 kB / 0.8543 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.8791, allocations: 363.4 kB / 0.8547 GB, free: 7.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005699/0.8849, allocations: 1.706 MB / 0.8563 GB, free: 5.453 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.8851, allocations: 39.97 kB / 0.8564 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0267/0.9118, allocations: 21.34 MB / 0.8772 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.9119, allocations: 7.938 kB / 0.8772 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.9247, allocations: 4.905 MB / 0.882 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/0.9264, allocations: 494.7 kB / 0.8825 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005603/0.927, allocations: 31.98 kB / 0.8825 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/0.9292, allocations: 327.5 kB / 0.8828 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006058/0.9299, allocations: 156.9 kB / 0.883 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.93, allocations: 55.97 kB / 0.883 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001581/0.9316, allocations: 0.782 MB / 0.8838 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9316, allocations: 0 / 0.8838 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003175/0.9348, allocations: 0.6523 MB / 0.8844 GB, free: 7.516 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 (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.0003984/0.9352, allocations: 143.1 kB / 0.8846 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01173/0.947, allocations: 5.18 MB / 0.8896 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.947, allocations: 0 / 0.8896 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007483/0.9545, allocations: 3.374 MB / 0.8929 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.9578, allocations: 0.5108 MB / 0.8934 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.968, allocations: 4.863 MB / 0.8982 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.9699, allocations: 1.572 MB / 0.8997 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001902/0.9718, allocations: 394.4 kB / 0.9001 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.9722, allocations: 107.4 kB / 0.9002 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of SimCode: time 1.292e-06/0.9722, allocations: 0 / 0.9002 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.5089/1.481, allocations: 41.44 MB / 0.9407 GB, free: 147.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: