Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0009021/0.000902, allocations: 86.8 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.001031/0.001031, allocations: 168.7 kB / 15.95 MB, free: 204 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.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.689/1.689, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005467/0.0005467, allocations: 17.38 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2477, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03205/0.2798, allocations: 29.64 MB / 0.8162 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.2965, allocations: 9.843 MB / 0.8259 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.2997, allocations: 127.2 kB / 0.826 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.3021, allocations: 0.6239 MB / 0.8266 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.3074, allocations: 1.462 MB / 0.828 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004513/0.312, allocations: 1.261 MB / 0.8292 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009492/0.3215, allocations: 8.262 MB / 0.8373 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01821/0.3397, allocations: 10.33 MB / 0.8474 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.3442, allocations: 2.26 MB / 0.8496 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004741/0.3489, allocations: 2.9 MB / 0.8524 GB, free: 9 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.3501, allocations: 268 kB / 0.8527 GB, free: 8.738 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.3533, allocations: 0.8388 MB / 0.8535 GB, free: 7.898 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003216/0.3565, allocations: 2.03 MB / 0.8555 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.3586, allocations: 0.9563 MB / 0.8564 GB, free: 4.898 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009368/0.368, allocations: 8.357 MB / 0.8646 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.368, allocations: 0 / 0.8646 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.094e-06/0.368, allocations: 0 / 0.8646 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000374/0.3684, allocations: 0 / 0.8646 GB, free: 12.52 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01003/0.3785, allocations: 4.062 MB / 0.8686 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3785, allocations: 8.031 kB / 0.8686 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005778/0.3843, allocations: 0.9659 MB / 0.8695 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00601/0.3903, allocations: 2.796 MB / 0.8722 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.3907, allocations: 349.3 kB / 0.8726 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.3922, allocations: 463.9 kB / 0.873 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.4086, allocations: 7.628 MB / 0.8805 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.4089, allocations: 23.77 kB / 0.8805 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009625/0.4099, allocations: 204 kB / 0.8807 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003532/0.4102, allocations: 313 kB / 0.881 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.4205, allocations: 5.671 MB / 0.8865 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.471/0.8916, allocations: 35.13 MB / 0.9208 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.8947, allocations: 2.147 MB / 0.9229 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.8966, allocations: 1.264 MB / 0.9242 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.523e-05/0.8967, allocations: 15.53 kB / 0.9242 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.8967, allocations: 53.25 kB / 0.9242 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 2.996e-06/0.8967, allocations: 0 / 0.9242 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01181/0.9085, allocations: 7.091 MB / 0.9311 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.9086, allocations: 66.55 kB / 0.9312 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.9105, allocations: 1.468 MB / 0.9326 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/0.9106, allocations: 51.36 kB / 0.9327 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.9118, allocations: 2 MB / 0.9346 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.9121, allocations: 490 kB / 0.9351 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.9122, allocations: 37.5 kB / 0.9351 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9123, allocations: 384.1 kB / 0.9355 GB, free: 112.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.9136, allocations: 0.908 MB / 0.9364 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.9151, allocations: 1.585 MB / 0.9379 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.9169, allocations: 1.178 MB / 0.9391 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.9169, allocations: 6.562 kB / 0.9391 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00666/0.9236, allocations: 3.512 MB / 0.9425 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.9237, allocations: 14.34 kB / 0.9425 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.546e-05/0.9237, allocations: 25.88 kB / 0.9426 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.9263, allocations: 0.9052 MB / 0.9435 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.9274, allocations: 345.3 kB / 0.9438 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/0.9432, allocations: 21.19 MB / 0.9645 GB, free: 90.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.9447, allocations: 105.8 kB / 0.9646 GB, free: 90.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.9448, allocations: 81.28 kB / 0.9647 GB, free: 90.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002653/0.9475, allocations: 1.615 MB / 0.9662 GB, free: 90.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.9479, allocations: 203 kB / 0.9664 GB, free: 89.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.9525, allocations: 2.987 MB / 0.9693 GB, free: 88.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.9525, allocations: 13.47 kB / 0.9694 GB, free: 88.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.9525, allocations: 9.688 kB / 0.9694 GB, free: 88.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.9525, allocations: 9.25 kB / 0.9694 GB, free: 88.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009351/0.9619, allocations: 7.323 MB / 0.9765 GB, free: 84.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.9619, allocations: 3.938 kB / 0.9765 GB, free: 84.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.9626, allocations: 181.2 kB / 0.9767 GB, free: 84.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/0.9645, allocations: 0.8186 MB / 0.9775 GB, free: 84.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.9646, allocations: 27.78 kB / 0.9775 GB, free: 84.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.9774, allocations: 20.29 MB / 0.9973 GB, free: 65.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9774, allocations: 15.45 kB / 0.9974 GB, free: 65.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.9815, allocations: 3.01 MB / 1 GB, free: 63.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/0.9822, allocations: 463.4 kB / 1.001 GB, free: 62.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.9824, allocations: 32.08 kB / 1.001 GB, free: 62.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.9831, allocations: 72.34 kB / 1.001 GB, free: 62.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.9834, allocations: 129.3 kB / 1.001 GB, free: 62.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.9835, allocations: 34.22 kB / 1.001 GB, free: 62.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001049/0.9845, allocations: 0.9578 MB / 1.002 GB, free: 62.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9845, allocations: 0 / 1.002 GB, free: 62.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002589/0.9871, allocations: 0.7904 MB / 1.003 GB, free: 62.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.9873, allocations: 148.9 kB / 1.003 GB, free: 62.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005183/0.9925, allocations: 3.999 MB / 1.007 GB, free: 59.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.9926, allocations: 1 kB / 1.007 GB, free: 59.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.9957, allocations: 2.747 MB / 1.009 GB, free: 56.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.9989, allocations: 0.6571 MB / 1.01 GB, free: 55.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.009, allocations: 8.735 MB / 1.019 GB, free: 46.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/1.012, allocations: 3.108 MB / 1.022 GB, free: 43.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00131/1.013, allocations: 458 kB / 1.022 GB, free: 43.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/1.014, allocations: 119.4 kB / 1.022 GB, free: 42.96 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/1.014, allocations: 0 / 1.022 GB, free: 42.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.04607/1.06, allocations: 33.15 MB / 1.055 GB, free: 10.22 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: