Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 303.6 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 182.2 kB / 372.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.631 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008996/0.0008998, allocations: 106.8 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004155, allocations: 13.31 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2731, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02975/0.3029, allocations: 34.17 MB / 1.013 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.326, allocations: 12.45 MB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005228/0.3313, allocations: 147.1 kB / 1.026 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003686/0.335, allocations: 0.7402 MB / 1.027 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008419/0.3434, allocations: 2.177 MB / 1.029 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006908/0.3504, allocations: 1.737 MB / 1.03 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01594/0.3663, allocations: 10.69 MB / 1.041 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02542/0.3918, allocations: 13.04 MB / 1.054 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008189/0.4, allocations: 2.945 MB / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008939/0.409, allocations: 3.777 MB / 1.06 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002263/0.4113, allocations: 316 kB / 1.06 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.4171, allocations: 1.575 MB / 1.062 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00556/0.4227, allocations: 2.435 MB / 1.064 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.009392/0.4321, allocations: 2.809 MB / 1.067 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5945/1.027, allocations: 9.766 MB / 1.077 GB, free: 31.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.027, allocations: 0 / 1.077 GB, free: 31.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.089e-06/1.027, allocations: 0 / 1.077 GB, free: 31.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006276/1.027, allocations: 3.844 kB / 1.077 GB, free: 31.42 MB / 0.6823 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.02146/1.049, allocations: 5.138 MB / 1.082 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.049, allocations: 10.02 kB / 1.082 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/1.061, allocations: 1.297 MB / 1.083 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/1.073, allocations: 3.572 MB / 1.086 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004991/1.074, allocations: 379.9 kB / 1.087 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003205/1.077, allocations: 0.4955 MB / 1.087 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/1.105, allocations: 8.843 MB / 1.096 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/1.105, allocations: 36.41 kB / 1.096 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/1.107, allocations: 218.9 kB / 1.096 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/1.109, allocations: 0.6278 MB / 1.097 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/1.129, allocations: 6.979 MB / 1.104 GB, free: 26.97 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06547/1.195, allocations: 40.39 MB / 1.143 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00531/1.2, allocations: 2.886 MB / 1.146 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/1.205, allocations: 2.653 MB / 1.148 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/1.205, allocations: 31.83 kB / 1.148 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/1.205, allocations: 67.12 kB / 1.148 GB, free: 11.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 4.758e-06/1.205, allocations: 0 / 1.148 GB, free: 11.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.3229/1.528, allocations: 77.45 MB / 1.224 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.529, allocations: 94.73 kB / 1.224 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/1.534, allocations: 2.324 MB / 1.226 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001391/1.535, allocations: 97.7 kB / 1.227 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.538, allocations: 2.344 MB / 1.229 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002811/1.54, allocations: 1.432 MB / 1.23 GB, free: 2.305 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.542, allocations: 88 kB / 1.23 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004268/1.542, allocations: 487.2 kB / 1.231 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006059/1.548, allocations: 2.982 MB / 1.234 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006733/1.555, allocations: 3.834 MB / 1.237 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/1.569, allocations: 7.348 MB / 1.245 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.785e-05/1.569, allocations: 8 kB / 1.245 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03704/1.606, allocations: 12.51 MB / 1.257 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/1.606, allocations: 17.72 kB / 1.257 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.865e-05/1.606, allocations: 24 kB / 1.257 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02454/1.631, allocations: 6.017 MB / 1.263 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/1.634, allocations: 496.5 kB / 1.263 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0915/1.725, allocations: 67.21 MB / 1.329 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005666/1.731, allocations: 215.8 kB / 1.329 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/1.732, allocations: 160.1 kB / 1.329 GB, free: 9.664 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007081/1.739, allocations: 1.993 MB / 1.331 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/1.741, allocations: 391.4 kB / 1.332 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03328/1.775, allocations: 12.2 MB / 1.343 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/1.775, allocations: 40.14 kB / 1.343 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002483/1.775, allocations: 51.94 kB / 1.344 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/1.775, allocations: 27.91 kB / 1.344 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05241/1.828, allocations: 19.13 MB / 1.362 GB, free: 7.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.438e-05/1.828, allocations: 8 kB / 1.362 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.83, allocations: 287.6 kB / 1.363 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02262/1.852, allocations: 5.577 MB / 1.368 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/1.854, allocations: 83.98 kB / 1.368 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6048/2.459, allocations: 64.82 MB / 1.431 GB, free: 333.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/2.459, allocations: 12.5 kB / 1.431 GB, free: 333.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03695/2.496, allocations: 15.57 MB / 1.447 GB, free: 332.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003942/2.5, allocations: 1.044 MB / 1.448 GB, free: 332.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/2.501, allocations: 83.47 kB / 1.448 GB, free: 332.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/2.505, allocations: 215.8 kB / 1.448 GB, free: 332.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002057/2.507, allocations: 407.1 kB / 1.448 GB, free: 332.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004066/2.508, allocations: 108.1 kB / 1.448 GB, free: 332.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003001/2.511, allocations: 1.537 MB / 1.45 GB, free: 332.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/2.511, allocations: 1 kB / 1.45 GB, free: 332.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009683/2.52, allocations: 1.843 MB / 1.452 GB, free: 332.2 MB / 0.9636 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009985/2.521, allocations: 221.1 kB / 1.452 GB, free: 332.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02153/2.543, allocations: 12.19 MB / 1.464 GB, free: 325.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.147e-05/2.543, allocations: 1.312 kB / 1.464 GB, free: 325.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01743/2.561, allocations: 8.378 MB / 1.472 GB, free: 321 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/2.571, allocations: 1.09 MB / 1.473 GB, free: 320.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/2.597, allocations: 14.25 MB / 1.487 GB, free: 313.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006124/2.603, allocations: 4.086 MB / 1.491 GB, free: 311.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003209/2.607, allocations: 0.6759 MB / 1.492 GB, free: 311.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/2.607, allocations: 184.5 kB / 1.492 GB, free: 311.7 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/2.607, allocations: 0 / 1.492 GB, free: 311.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1598/2.767, allocations: 103.1 MB / 1.592 GB, free: 216.5 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)