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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008946/0.0008947, allocations: 172.2 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007319/0.000732, allocations: 83.73 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003273, allocations: 10.41 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02764/0.226, allocations: 36.85 MB / 0.9327 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.2434, allocations: 13 MB / 0.9454 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.2471, allocations: 151.1 kB / 0.9456 GB, free: 18.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007452/0.2546, allocations: 3.604 MB / 0.9491 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005887/0.2605, allocations: 2.337 MB / 0.9514 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.266, allocations: 2.466 MB / 0.9538 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.2775, allocations: 13.32 MB / 0.9668 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01734/0.2948, allocations: 11.64 MB / 0.9782 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005893/0.3007, allocations: 2.995 MB / 0.9811 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006723/0.3075, allocations: 3.869 MB / 0.9849 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001702/0.3092, allocations: 316 kB / 0.9852 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.3139, allocations: 1.634 MB / 0.9868 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003976/0.3179, allocations: 2.451 MB / 0.9892 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006156/0.324, allocations: 2.919 MB / 0.992 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.3351, allocations: 9.771 MB / 1.002 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3351, allocations: 4 kB / 1.002 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.594e-06/0.3351, allocations: 0 / 1.002 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004615/0.3356, allocations: 0 / 1.002 GB, free: 8.484 MB / 0.6511 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.01347/0.3491, allocations: 5.138 MB / 1.007 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3492, allocations: 12.03 kB / 1.007 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008709/0.3579, allocations: 1.301 MB / 1.008 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/0.366, allocations: 3.568 MB / 1.011 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/0.3664, allocations: 382.5 kB / 1.012 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/0.3684, allocations: 0.4924 MB / 1.012 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.3886, allocations: 8.894 MB / 1.021 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002538/0.3889, allocations: 39.61 kB / 1.021 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/0.3903, allocations: 223.9 kB / 1.021 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/0.3925, allocations: 0.6265 MB / 1.022 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.4078, allocations: 7.014 MB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4507/0.8585, allocations: 40.37 MB / 1.068 GB, free: 120.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004833/0.8634, allocations: 2.904 MB / 1.071 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/0.8675, allocations: 2.66 MB / 1.073 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.8677, allocations: 31.27 kB / 1.073 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.8678, allocations: 67.72 kB / 1.074 GB, free: 120.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 4.659e-06/0.8678, allocations: 3.938 kB / 1.074 GB, free: 120.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.2667/1.135, allocations: 77.5 MB / 1.149 GB, free: 66.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.135, allocations: 102.7 kB / 1.149 GB, free: 65.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/1.138, allocations: 2.348 MB / 1.152 GB, free: 63.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008586/1.139, allocations: 97.7 kB / 1.152 GB, free: 63.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.14, allocations: 2.342 MB / 1.154 GB, free: 61.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/1.142, allocations: 1.434 MB / 1.155 GB, free: 59.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008545/1.143, allocations: 343 kB / 1.156 GB, free: 59.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/1.143, allocations: 309 kB / 1.156 GB, free: 59.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004059/1.147, allocations: 2.999 MB / 1.159 GB, free: 56.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/1.151, allocations: 3.839 MB / 1.163 GB, free: 51.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008794/1.16, allocations: 7.384 MB / 1.17 GB, free: 44.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/1.16, allocations: 8 kB / 1.17 GB, free: 44.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02628/1.186, allocations: 12.56 MB / 1.182 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/1.187, allocations: 19.94 kB / 1.182 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/1.187, allocations: 20 kB / 1.182 GB, free: 31.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02036/1.207, allocations: 6.031 MB / 1.188 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.209, allocations: 491.2 kB / 1.189 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07505/1.284, allocations: 67.28 MB / 1.254 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.288, allocations: 215.8 kB / 1.254 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009016/1.289, allocations: 159.9 kB / 1.255 GB, free: 2.121 MB / 0.7448 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.0043/1.293, allocations: 1.992 MB / 1.257 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.295, allocations: 391.5 kB / 1.257 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02757/1.322, allocations: 12.24 MB / 1.269 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.091e-05/1.322, allocations: 40 kB / 1.269 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001764/1.322, allocations: 52 kB / 1.269 GB, free: 3.289 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-05/1.323, allocations: 19.92 kB / 1.269 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04209/1.365, allocations: 19.16 MB / 1.288 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.055e-05/1.365, allocations: 8 kB / 1.288 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.366, allocations: 292.3 kB / 1.288 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02175/1.388, allocations: 5.576 MB / 1.293 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/1.389, allocations: 83.98 kB / 1.294 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07525/1.465, allocations: 64.91 MB / 1.357 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/1.465, allocations: 11.94 kB / 1.357 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03267/1.497, allocations: 15.62 MB / 1.372 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002741/1.5, allocations: 1.039 MB / 1.373 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.501, allocations: 87.98 kB / 1.373 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/1.504, allocations: 215.7 kB / 1.374 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001743/1.506, allocations: 402.2 kB / 1.374 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005332/1.507, allocations: 108 kB / 1.374 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002645/1.509, allocations: 1.553 MB / 1.376 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.509, allocations: 4 kB / 1.376 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007041/1.516, allocations: 1.844 MB / 1.377 GB, free: 0.7188 MB / 0.8698 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.0007793/1.517, allocations: 221.7 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.4054/1.923, allocations: 12.18 MB / 1.389 GB, free: 280.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.923, allocations: 2.156 kB / 1.389 GB, free: 280.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01535/1.938, allocations: 8.395 MB / 1.398 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007882/1.946, allocations: 1.108 MB / 1.399 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.967, allocations: 15.47 MB / 1.414 GB, free: 271.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005333/1.972, allocations: 4.155 MB / 1.418 GB, free: 270.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.973, allocations: 198.5 kB / 1.418 GB, free: 270.9 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/1.973, allocations: 0 / 1.418 GB, free: 270.9 MB / 0.8698 GB Notification: Performance of Templates: time 1.289/3.262, allocations: 0.7429 GB / 2.161 GB, free: 218.1 MB / 0.9011 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)