Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 101.9 kB / 16.35 MB, free: 6.352 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.001639/0.00164, allocations: 194.2 kB / 17.29 MB, free: 5.93 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.3 MB / 190.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.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001659/0.001659, allocations: 71.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2537, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4341/0.6879, allocations: 37.8 MB / 0.8217 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.708, allocations: 11.07 MB / 0.8325 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004896/0.7129, allocations: 157.5 kB / 0.8327 GB, free: 19.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.7238, allocations: 4.349 MB / 0.8369 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007288/0.7311, allocations: 2.219 MB / 0.8391 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00671/0.7378, allocations: 2.167 MB / 0.8412 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01307/0.7509, allocations: 9.276 MB / 0.8502 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0188/0.7698, allocations: 11.37 MB / 0.8614 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00913/0.7789, allocations: 4 MB / 0.8653 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008336/0.7873, allocations: 4.5 MB / 0.8697 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003686/0.791, allocations: 0.8229 MB / 0.8705 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006447/0.7975, allocations: 1.591 MB / 0.872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005965/0.8035, allocations: 3.148 MB / 0.8751 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008582/0.8121, allocations: 3.661 MB / 0.8787 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.8275, allocations: 12.31 MB / 0.8907 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8276, allocations: 0 / 0.8907 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8276, allocations: 0 / 0.8907 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004084/0.828, allocations: 0 / 0.8907 GB, free: 14.11 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01943/0.8474, allocations: 6.318 MB / 0.8968 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8475, allocations: 8.031 kB / 0.8969 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006517/0.854, allocations: 1.067 MB / 0.8979 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008649/0.8627, allocations: 3.419 MB / 0.9012 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004501/0.8632, allocations: 427.8 kB / 0.9016 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/0.8652, allocations: 0.5394 MB / 0.9022 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.8867, allocations: 9.377 MB / 0.9113 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/0.887, allocations: 23.72 kB / 0.9114 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/0.8887, allocations: 244 kB / 0.9116 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007063/0.8895, allocations: 430.9 kB / 0.912 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.9046, allocations: 7.12 MB / 0.9189 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0495/0.9541, allocations: 41 MB / 0.959 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.9589, allocations: 3.112 MB / 0.962 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.9619, allocations: 2.137 MB / 0.9641 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.962, allocations: 22 kB / 0.9641 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/0.9621, allocations: 64.56 kB / 0.9642 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=209): time 4.418e-06/0.9621, allocations: 0 / 0.9642 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of matching and sorting (n=212): time 0.02461/0.9867, allocations: 10.56 MB / 0.9745 GB, free: 3.922 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.9868, allocations: 77.34 kB / 0.9746 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.9899, allocations: 2.009 MB / 0.9765 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/0.9903, allocations: 61.7 kB / 0.9766 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.992, allocations: 2.408 MB / 0.979 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008811/0.9929, allocations: 0.724 MB / 0.9797 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007864/0.9937, allocations: 485.2 kB / 0.9801 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9938, allocations: 301.1 kB / 0.9804 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.996, allocations: 1.372 MB / 0.9818 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.9988, allocations: 2.104 MB / 0.9838 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005455/1.004, allocations: 3.766 MB / 0.9875 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/1.004, allocations: 8 kB / 0.9875 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009844/1.014, allocations: 5.073 MB / 0.9924 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.014, allocations: 12 kB / 0.9925 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.941e-05/1.014, allocations: 28.12 kB / 0.9925 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003784/1.018, allocations: 1.576 MB / 0.994 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/1.02, allocations: 459.8 kB / 0.9945 GB, free: 14.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/1.044, allocations: 18.58 MB / 1.013 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.047, allocations: 147.9 kB / 1.013 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/1.047, allocations: 108 kB / 1.013 GB, free: 11.35 MB / 0.8106 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003502/1.05, allocations: 1.942 MB / 1.015 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/1.051, allocations: 284.7 kB / 1.015 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/1.058, allocations: 4.451 MB / 1.019 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/1.058, allocations: 24 kB / 1.019 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/1.059, allocations: 16 kB / 1.019 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/1.059, allocations: 11.95 kB / 1.019 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/1.076, allocations: 9.66 MB / 1.029 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.076, allocations: 8 kB / 1.029 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.077, allocations: 227.8 kB / 1.029 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/1.08, allocations: 1.445 MB / 1.03 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/1.08, allocations: 40 kB / 1.031 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02288/1.103, allocations: 18.56 MB / 1.049 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.103, allocations: 7.938 kB / 1.049 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007162/1.11, allocations: 4.541 MB / 1.053 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.112, allocations: 0.6315 MB / 1.054 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/1.113, allocations: 43.92 kB / 1.054 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.114, allocations: 115.9 kB / 1.054 GB, free: 492 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/1.115, allocations: 181.6 kB / 1.054 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.115, allocations: 63.98 kB / 1.054 GB, free: 244 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001881/1.117, allocations: 1.311 MB / 1.055 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/1.117, allocations: 4 kB / 1.055 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00333/1.12, allocations: 1.141 MB / 1.056 GB, free: 13.77 MB / 0.8575 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003167/1.12, allocations: 164 kB / 1.057 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0072/1.127, allocations: 4.716 MB / 1.061 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.127, allocations: 11.8 kB / 1.061 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004452/1.132, allocations: 2.914 MB / 1.064 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/1.136, allocations: 0.8818 MB / 1.065 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.152, allocations: 9.273 MB / 1.074 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005038/1.157, allocations: 3.69 MB / 1.078 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002318/1.16, allocations: 0.5556 MB / 1.078 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.16, allocations: 151.4 kB / 1.078 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of SimCode: time 1.102e-06/1.16, allocations: 0 / 1.078 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of Templates: time 0.08336/1.243, allocations: 50.8 MB / 1.128 GB, free: 5.156 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)