Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00139/0.001391, allocations: 192.5 kB / 16.13 MB, free: 6.699 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.697/1.697, allocations: 205.1 MB / 222 MB, free: 4.68 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.608/1.608, allocations: 251.6 MB / 0.5088 GB, free: 3.254 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.001315/0.001316, allocations: 71.84 kB / 0.6216 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5844, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04057/0.6251, allocations: 37.17 MB / 0.7601 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02283/0.6479, allocations: 13.03 MB / 0.7728 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00655/0.6545, allocations: 155.1 kB / 0.773 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.666, allocations: 3.599 MB / 0.7765 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.6764, allocations: 2.345 MB / 0.7788 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008841/0.6853, allocations: 2.476 MB / 0.7812 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01959/0.7049, allocations: 13.32 MB / 0.7942 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01965/0.7246, allocations: 11.69 MB / 0.8056 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007542/0.7322, allocations: 3.386 MB / 0.8089 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008995/0.7412, allocations: 4.443 MB / 0.8133 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.7438, allocations: 0.4922 MB / 0.8138 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006066/0.7499, allocations: 1.813 MB / 0.8155 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005148/0.755, allocations: 2.748 MB / 0.8182 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008424/0.7635, allocations: 3.262 MB / 0.8214 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.7804, allocations: 11.64 MB / 0.8328 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.7804, allocations: 0 / 0.8328 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.217e-05/0.7805, allocations: 4 kB / 0.8328 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004411/0.7809, allocations: 3.938 kB / 0.8328 GB, free: 13.14 MB / 0.6544 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.02173/0.8026, allocations: 6.343 MB / 0.839 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.8027, allocations: 12.03 kB / 0.839 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/0.8127, allocations: 1.301 MB / 0.8403 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008817/0.8216, allocations: 3.568 MB / 0.8437 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/0.8221, allocations: 382.5 kB / 0.8441 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/0.8251, allocations: 0.4885 MB / 0.8446 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.8491, allocations: 8.895 MB / 0.8533 GB, free: 7.648 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/0.8494, allocations: 31.7 kB / 0.8533 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/0.8514, allocations: 227.9 kB / 0.8535 GB, free: 7.395 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/0.8539, allocations: 0.6265 MB / 0.8541 GB, free: 6.766 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.8718, allocations: 7.018 MB / 0.861 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06661/0.9385, allocations: 40.3 MB / 0.9003 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004892/0.9434, allocations: 2.894 MB / 0.9032 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5053/1.449, allocations: 2.655 MB / 0.9058 GB, free: 161.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/1.449, allocations: 30.72 kB / 0.9058 GB, free: 161.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.319e-05/1.449, allocations: 68.75 kB / 0.9059 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 5.671e-06/1.449, allocations: 0 / 0.9059 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.2689/1.718, allocations: 74.66 MB / 0.9788 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.718, allocations: 94.73 kB / 0.9789 GB, free: 105.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/1.721, allocations: 2.359 MB / 0.9812 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009191/1.722, allocations: 93.7 kB / 0.9812 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.723, allocations: 2.34 MB / 0.9835 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001489/1.725, allocations: 1.438 MB / 0.9849 GB, free: 99.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/1.726, allocations: 0.7255 MB / 0.9856 GB, free: 98.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/1.726, allocations: 301.1 kB / 0.9859 GB, free: 98.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/1.73, allocations: 2.995 MB / 0.9889 GB, free: 95.39 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/1.733, allocations: 3.847 MB / 0.9926 GB, free: 91.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/1.741, allocations: 7.376 MB / 0.9998 GB, free: 83.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/1.741, allocations: 8 kB / 0.9998 GB, free: 83.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02425/1.766, allocations: 12.56 MB / 1.012 GB, free: 70.85 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/1.766, allocations: 12 kB / 1.012 GB, free: 70.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.766, allocations: 24 kB / 1.012 GB, free: 70.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01985/1.786, allocations: 6.025 MB / 1.018 GB, free: 64.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/1.788, allocations: 495.2 kB / 1.018 GB, free: 64.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06677/1.854, allocations: 67.16 MB / 1.084 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/1.859, allocations: 219.8 kB / 1.084 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007181/1.86, allocations: 156.1 kB / 1.084 GB, free: 9.586 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 (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.004003/1.864, allocations: 1.992 MB / 1.086 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.865, allocations: 395.5 kB / 1.087 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02837/1.893, allocations: 12.24 MB / 1.099 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/1.893, allocations: 40 kB / 1.099 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001897/1.894, allocations: 48 kB / 1.099 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.341e-05/1.894, allocations: 23.92 kB / 1.099 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/1.939, allocations: 19.13 MB / 1.117 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/1.939, allocations: 8 kB / 1.118 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.941, allocations: 291.6 kB / 1.118 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02339/1.964, allocations: 5.574 MB / 1.123 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/1.966, allocations: 83.98 kB / 1.123 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08294/2.048, allocations: 64.79 MB / 1.187 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/2.049, allocations: 12 kB / 1.187 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03299/2.082, allocations: 15.61 MB / 1.202 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/2.085, allocations: 1.047 MB / 1.203 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/2.086, allocations: 83.98 kB / 1.203 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/2.088, allocations: 215.7 kB / 1.203 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00162/2.09, allocations: 402.2 kB / 1.204 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/2.09, allocations: 108 kB / 1.204 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002358/2.093, allocations: 1.556 MB / 1.205 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/2.093, allocations: 480 / 1.205 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.007411/2.1, allocations: 1.852 MB / 1.207 GB, free: 8.324 MB / 0.8575 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.0008605/2.101, allocations: 221.4 kB / 1.207 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02151/2.123, allocations: 12.16 MB / 1.219 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/2.123, allocations: 4 kB / 1.219 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01758/2.14, allocations: 8.367 MB / 1.227 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008637/2.149, allocations: 1.105 MB / 1.228 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4586/2.607, allocations: 14.79 MB / 1.243 GB, free: 278 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006725/2.614, allocations: 4.084 MB / 1.247 GB, free: 277.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002781/2.617, allocations: 0.6765 MB / 1.247 GB, free: 277 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/2.618, allocations: 177 kB / 1.248 GB, free: 277 MB / 0.8731 GB Notification: Performance of SimCode: time 1.172e-06/2.618, allocations: 0 / 1.248 GB, free: 277 MB / 0.8731 GB Notification: Performance of Templates: time 0.1492/2.767, allocations: 107.9 MB / 1.353 GB, free: 197.4 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)