Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 185.3 kB / 16.62 MB, free: 6.582 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.754/1.754, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001456/0.001456, allocations: 67.64 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2969, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04187/0.3388, allocations: 37.54 MB / 0.8208 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.3646, allocations: 13.04 MB / 0.8335 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006597/0.3713, allocations: 171.1 kB / 0.8337 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.3829, allocations: 3.874 MB / 0.8375 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.3939, allocations: 2.491 MB / 0.8399 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00898/0.4029, allocations: 2.696 MB / 0.8425 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01552/0.4185, allocations: 9.579 MB / 0.8519 GB, free: 7.113 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/0.4336, allocations: 10.5 MB / 0.8622 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009127/0.4428, allocations: 4 MB / 0.8661 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009232/0.452, allocations: 4.377 MB / 0.8703 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.4544, allocations: 0.7695 MB / 0.8711 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005807/0.4602, allocations: 1.783 MB / 0.8728 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004968/0.4652, allocations: 3.029 MB / 0.8758 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009376/0.4746, allocations: 3.583 MB / 0.8793 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.4926, allocations: 11.85 MB / 0.8909 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.4927, allocations: 0 / 0.8909 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4927, allocations: 0 / 0.8909 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004779/0.4932, allocations: 0 / 0.8909 GB, free: 15.01 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02455/0.5177, allocations: 6.364 MB / 0.8971 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.5178, allocations: 8.031 kB / 0.8971 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.5284, allocations: 1.305 MB / 0.8983 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.5392, allocations: 3.79 MB / 0.9021 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004316/0.5396, allocations: 382.5 kB / 0.9024 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/0.5421, allocations: 0.4963 MB / 0.9029 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/0.5652, allocations: 8.882 MB / 0.9116 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003759/0.5656, allocations: 27.77 kB / 0.9116 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00218/0.5678, allocations: 220 kB / 0.9118 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/0.5704, allocations: 0.6304 MB / 0.9124 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.5877, allocations: 7.006 MB / 0.9193 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5424/1.13, allocations: 40.07 MB / 0.9584 GB, free: 91.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004843/1.135, allocations: 2.892 MB / 0.9612 GB, free: 90.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004436/1.139, allocations: 2.666 MB / 0.9638 GB, free: 89.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/1.14, allocations: 26.97 kB / 0.9638 GB, free: 89.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/1.14, allocations: 69.19 kB / 0.9639 GB, free: 89.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 7.594e-06/1.14, allocations: 1.25 kB / 0.9639 GB, free: 89.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2936/1.434, allocations: 74.66 MB / 1.037 GB, free: 29.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/1.434, allocations: 98.73 kB / 1.037 GB, free: 29.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/1.438, allocations: 2.355 MB / 1.039 GB, free: 27.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009829/1.439, allocations: 93.7 kB / 1.039 GB, free: 27.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/1.44, allocations: 2.34 MB / 1.042 GB, free: 24.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/1.442, allocations: 1.43 MB / 1.043 GB, free: 23.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002473/1.444, allocations: 0.7254 MB / 1.044 GB, free: 22.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/1.444, allocations: 305.1 kB / 1.044 GB, free: 22.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/1.448, allocations: 2.999 MB / 1.047 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/1.453, allocations: 3.847 MB / 1.051 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009268/1.462, allocations: 7.384 MB / 1.058 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/1.463, allocations: 8 kB / 1.058 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03065/1.493, allocations: 12.56 MB / 1.07 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/1.493, allocations: 16 kB / 1.07 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.854e-05/1.493, allocations: 20 kB / 1.07 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0248/1.518, allocations: 6.032 MB / 1.076 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/1.521, allocations: 491.2 kB / 1.077 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09008/1.611, allocations: 72.99 MB / 1.148 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004682/1.615, allocations: 215.8 kB / 1.148 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006562/1.616, allocations: 152 kB / 1.148 GB, free: 7.383 MB / 0.8262 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004166/1.62, allocations: 2.003 MB / 1.15 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.621, allocations: 391.4 kB / 1.151 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02998/1.651, allocations: 12.23 MB / 1.162 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/1.651, allocations: 40 kB / 1.162 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001645/1.652, allocations: 48 kB / 1.163 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.914e-05/1.652, allocations: 19.92 kB / 1.163 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04735/1.699, allocations: 19.14 MB / 1.181 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.426e-05/1.699, allocations: 11.94 kB / 1.181 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.701, allocations: 291.5 kB / 1.182 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02211/1.723, allocations: 5.574 MB / 1.187 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008091/1.724, allocations: 83.98 kB / 1.187 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08881/1.813, allocations: 70.63 MB / 1.256 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/1.813, allocations: 15.92 kB / 1.256 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03641/1.849, allocations: 15.6 MB / 1.271 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/1.852, allocations: 1.043 MB / 1.272 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/1.854, allocations: 91.89 kB / 1.272 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003814/1.858, allocations: 219.7 kB / 1.273 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001889/1.86, allocations: 402.3 kB / 1.273 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006997/1.86, allocations: 112 kB / 1.273 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003177/1.864, allocations: 1.556 MB / 1.275 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/1.864, allocations: 0 / 1.275 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.008766/1.872, allocations: 1.86 MB / 1.276 GB, free: 124 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4988/2.371, allocations: 215.5 kB / 1.277 GB, free: 311.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02272/2.394, allocations: 12.21 MB / 1.289 GB, free: 308.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/2.394, allocations: 3.062 kB / 1.289 GB, free: 308.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01673/2.411, allocations: 8.349 MB / 1.297 GB, free: 305.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00655/2.417, allocations: 1.188 MB / 1.298 GB, free: 305.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/2.444, allocations: 12.21 MB / 1.31 GB, free: 301.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007534/2.452, allocations: 4.093 MB / 1.314 GB, free: 300.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003681/2.455, allocations: 0.6692 MB / 1.314 GB, free: 300.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009859/2.456, allocations: 176.3 kB / 1.315 GB, free: 300.1 MB / 0.9512 GB Notification: Performance of SimCode: time 1.072e-06/2.456, allocations: 3.844 kB / 1.315 GB, free: 300.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.1588/2.615, allocations: 109.1 MB / 1.421 GB, free: 214.8 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)