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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001748/0.001747, allocations: 199.8 kB / 16.14 MB, free: 6.648 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.8/1.8, allocations: 205.1 MB / 222 MB, free: 4.977 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.718/1.718, allocations: 251.7 MB / 0.5088 GB, free: 3.348 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.001521/0.001521, allocations: 63.84 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7633, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009932/0.7733, allocations: 6.13 MB / 0.7298 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005886/0.7793, allocations: 3.263 MB / 0.733 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007709/0.7801, allocations: 27.81 kB / 0.733 GB, free: 3.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.7824, allocations: 0.8705 MB / 0.7339 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.7841, allocations: 450 kB / 0.7343 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.7856, allocations: 454.9 kB / 0.7347 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.7874, allocations: 1.474 MB / 0.7362 GB, free: 452 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.7884, allocations: 0.6111 MB / 0.7368 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006007/0.7891, allocations: 394.3 kB / 0.7371 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.7896, allocations: 486.1 kB / 0.7376 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.7897, allocations: 44 kB / 0.7376 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.7909, allocations: 0.5847 MB / 0.7382 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.7912, allocations: 275.3 kB / 0.7385 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.7916, allocations: 381.9 kB / 0.7388 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.7928, allocations: 1.187 MB / 0.74 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.7929, allocations: 0 / 0.74 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7929, allocations: 3.938 kB / 0.74 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.7929, allocations: 0 / 0.74 GB, free: 12.5 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001688/0.7946, allocations: 1.056 MB / 0.741 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.7946, allocations: 8.031 kB / 0.741 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.7961, allocations: 223.7 kB / 0.7413 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.7969, allocations: 0.5413 MB / 0.7418 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.797, allocations: 49.67 kB / 0.7418 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.7971, allocations: 68.3 kB / 0.7419 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.7986, allocations: 1.03 MB / 0.7429 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.7986, allocations: 7.938 kB / 0.7429 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.7987, allocations: 31.98 kB / 0.7429 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/0.7988, allocations: 69.2 kB / 0.743 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.7999, allocations: 0.6918 MB / 0.7437 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005602/0.8055, allocations: 5.756 MB / 0.7493 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.8064, allocations: 0.5979 MB / 0.7499 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.8072, allocations: 420.6 kB / 0.7503 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.8072, allocations: 4 kB / 0.7503 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.8072, allocations: 38.5 kB / 0.7503 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 3.828e-06/0.8073, allocations: 4 kB / 0.7503 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004557/0.8118, allocations: 2.056 MB / 0.7523 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.8119, allocations: 55.41 kB / 0.7524 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/0.8124, allocations: 466.8 kB / 0.7528 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.8124, allocations: 33.7 kB / 0.7529 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.8127, allocations: 387 kB / 0.7532 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.8128, allocations: 145.9 kB / 0.7534 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.813, allocations: 114.2 kB / 0.7535 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8132, allocations: 374.7 kB / 0.7539 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.8136, allocations: 245.2 kB / 0.7541 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.8141, allocations: 457 kB / 0.7545 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009579/0.8151, allocations: 0.7519 MB / 0.7553 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8151, allocations: 3.938 kB / 0.7553 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001869/0.817, allocations: 1.066 MB / 0.7563 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.817, allocations: 8 kB / 0.7563 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.817, allocations: 8 kB / 0.7563 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.8181, allocations: 327.4 kB / 0.7566 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.8184, allocations: 103.8 kB / 0.7567 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.8252, allocations: 6.951 MB / 0.7635 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.8257, allocations: 31.98 kB / 0.7635 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.8257, allocations: 24 kB / 0.7636 GB, free: 2.77 MB / 0.5762 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.8262, allocations: 253.5 kB / 0.7638 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.8263, allocations: 59.33 kB / 0.7639 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.828, allocations: 0.904 MB / 0.7647 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.828, allocations: 7.938 kB / 0.7648 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.828, allocations: 8 kB / 0.7648 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.828, allocations: 3.984 kB / 0.7648 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.831, allocations: 1.712 MB / 0.7664 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8311, allocations: 0 / 0.7664 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.8312, allocations: 39.97 kB / 0.7665 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.8323, allocations: 323.1 kB / 0.7668 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.8323, allocations: 8 kB / 0.7668 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008204/0.8405, allocations: 6.943 MB / 0.7736 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.8406, allocations: 4.031 kB / 0.7736 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.8427, allocations: 1.019 MB / 0.7746 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.8431, allocations: 168.4 kB / 0.7747 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.8432, allocations: 15.98 kB / 0.7747 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.8434, allocations: 19.98 kB / 0.7748 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.8436, allocations: 47.88 kB / 0.7748 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.8436, allocations: 15.94 kB / 0.7748 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005102/0.8442, allocations: 306.9 kB / 0.7751 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8442, allocations: 0 / 0.7751 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001049/0.8452, allocations: 196 kB / 0.7753 GB, free: 6.012 MB / 0.5919 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002558/0.8455, allocations: 121 kB / 0.7754 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.8475, allocations: 1.203 MB / 0.7766 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8475, allocations: 0 / 0.7766 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.8488, allocations: 0.8618 MB / 0.7774 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.8498, allocations: 184.9 kB / 0.7776 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.8525, allocations: 1.559 MB / 0.7791 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.8532, allocations: 0.992 MB / 0.7801 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003274/0.8535, allocations: 101.2 kB / 0.7802 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.8536, allocations: 35.44 kB / 0.7802 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.8536, allocations: 0 / 0.7802 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of Templates: time 0.01676/0.8704, allocations: 9.641 MB / 0.7897 GB, free: 7.246 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)