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.001533/0.001533, allocations: 105.6 kB / 15.99 MB, free: 5.895 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.001829/0.001829, allocations: 190.4 kB / 16.91 MB, free: 5.746 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.448/1.448, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.705/1.705, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001429/0.001429, allocations: 62.47 kB / 0.6717 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2531, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04029/0.2934, allocations: 37.19 MB / 0.8199 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02337/0.3169, allocations: 12.95 MB / 0.8325 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.3209, allocations: 155.1 kB / 0.8327 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.3314, allocations: 3.614 MB / 0.8362 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007344/0.3388, allocations: 2.298 MB / 0.8384 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007336/0.3462, allocations: 2.482 MB / 0.8409 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.3589, allocations: 9.606 MB / 0.8502 GB, free: 9.383 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02459/0.3835, allocations: 12.74 MB / 0.8627 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008228/0.3918, allocations: 4.065 MB / 0.8666 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008129/0.4, allocations: 4.568 MB / 0.8711 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003011/0.403, allocations: 0.7773 MB / 0.8719 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006308/0.4093, allocations: 1.787 MB / 0.8736 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.006108/0.4155, allocations: 3.037 MB / 0.8766 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008907/0.4244, allocations: 3.583 MB / 0.8801 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.4392, allocations: 10.08 MB / 0.8899 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.4392, allocations: 0 / 0.8899 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4393, allocations: 0 / 0.8899 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004825/0.4398, allocations: 0 / 0.8899 GB, free: 0.5469 MB / 0.7012 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.02127/0.461, allocations: 6.354 MB / 0.8961 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.4611, allocations: 8.031 kB / 0.8961 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.4711, allocations: 1.309 MB / 0.8974 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009174/0.4803, allocations: 3.564 MB / 0.9009 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/0.4808, allocations: 382.5 kB / 0.9013 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.4833, allocations: 0.5002 MB / 0.9017 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.506, allocations: 8.878 MB / 0.9104 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003416/0.5064, allocations: 31.7 kB / 0.9104 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002044/0.5084, allocations: 227.9 kB / 0.9107 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002315/0.5108, allocations: 0.6265 MB / 0.9113 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.527, allocations: 7.01 MB / 0.9181 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5133/1.04, allocations: 40.32 MB / 0.9575 GB, free: 93.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00636/1.047, allocations: 2.896 MB / 0.9603 GB, free: 91.87 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005381/1.052, allocations: 2.662 MB / 0.9629 GB, free: 90.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/1.053, allocations: 30.66 kB / 0.963 GB, free: 90.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.293e-05/1.053, allocations: 65.06 kB / 0.963 GB, free: 90.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 7.564e-06/1.053, allocations: 0 / 0.963 GB, free: 90.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2658/1.319, allocations: 74.72 MB / 1.036 GB, free: 31.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.319, allocations: 94.73 kB / 1.036 GB, free: 31.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/1.322, allocations: 2.359 MB / 1.038 GB, free: 28.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000835/1.322, allocations: 97.7 kB / 1.038 GB, free: 28.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009269/1.323, allocations: 2.336 MB / 1.041 GB, free: 26.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/1.325, allocations: 1.443 MB / 1.042 GB, free: 24.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/1.326, allocations: 0.7215 MB / 1.043 GB, free: 24.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/1.326, allocations: 301.1 kB / 1.043 GB, free: 23.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/1.329, allocations: 2.999 MB / 1.046 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/1.333, allocations: 3.835 MB / 1.05 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007713/1.341, allocations: 7.391 MB / 1.057 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.341, allocations: 8 kB / 1.057 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02553/1.367, allocations: 12.56 MB / 1.069 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/1.367, allocations: 16 kB / 1.069 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/1.367, allocations: 24 kB / 1.069 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02208/1.389, allocations: 6.072 MB / 1.075 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/1.391, allocations: 499.1 kB / 1.076 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08609/1.477, allocations: 73.03 MB / 1.147 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/1.481, allocations: 215.8 kB / 1.147 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.482, allocations: 156 kB / 1.147 GB, free: 8.84 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.004165/1.487, allocations: 1.996 MB / 1.149 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.488, allocations: 395.4 kB / 1.15 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0274/1.515, allocations: 12.23 MB / 1.162 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.515, allocations: 40 kB / 1.162 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001609/1.515, allocations: 48 kB / 1.162 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.892e-05/1.515, allocations: 19.92 kB / 1.162 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03912/1.555, allocations: 19.15 MB / 1.181 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-05/1.555, allocations: 7.938 kB / 1.181 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.556, allocations: 283.6 kB / 1.181 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02006/1.576, allocations: 5.626 MB / 1.186 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008258/1.577, allocations: 80 kB / 1.186 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07764/1.655, allocations: 70.68 MB / 1.255 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.655, allocations: 8 kB / 1.255 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03188/1.687, allocations: 15.61 MB / 1.271 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004164/1.691, allocations: 1.047 MB / 1.272 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/1.693, allocations: 79.98 kB / 1.272 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004474/1.698, allocations: 219.7 kB / 1.272 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002152/1.7, allocations: 406.2 kB / 1.272 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007691/1.701, allocations: 108 kB / 1.272 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002402/1.703, allocations: 1.556 MB / 1.274 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.703, allocations: 0 / 1.274 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007269/1.71, allocations: 1.859 MB / 1.276 GB, free: 1.488 MB / 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.000971/1.711, allocations: 218.9 kB / 1.276 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.4227/2.134, allocations: 14.97 MB / 1.291 GB, free: 312.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/2.134, allocations: 6.156 kB / 1.291 GB, free: 312.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01718/2.151, allocations: 8.358 MB / 1.299 GB, free: 309.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006981/2.158, allocations: 1.194 MB / 1.3 GB, free: 309.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/2.185, allocations: 15.54 MB / 1.315 GB, free: 303 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006739/2.192, allocations: 4.16 MB / 1.319 GB, free: 301.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/2.193, allocations: 196.4 kB / 1.319 GB, free: 301.6 MB / 0.9512 GB Notification: Performance of SimCode: time 9.02e-07/2.193, allocations: 0 / 1.319 GB, free: 301.6 MB / 0.9512 GB Notification: Performance of Templates: time 1.487/3.68, allocations: 0.7437 GB / 2.063 GB, free: 307.1 MB / 0.9825 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)