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.001494/0.001494, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001725/0.001725, allocations: 194.3 kB / 16.25 MB, free: 6.637 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.609/1.609, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.758/1.758, allocations: 292.2 MB / 0.5485 GB, free: 13.69 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.001368/0.001368, allocations: 68.67 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2922, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03805/0.3303, allocations: 37.2 MB / 0.8192 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02656/0.3569, allocations: 12.95 MB / 0.8318 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006987/0.3639, allocations: 155.1 kB / 0.832 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.3745, allocations: 3.618 MB / 0.8355 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.3848, allocations: 2.306 MB / 0.8378 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008284/0.3932, allocations: 2.478 MB / 0.8402 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01786/0.411, allocations: 9.602 MB / 0.8496 GB, free: 9.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01921/0.4303, allocations: 12.74 MB / 0.862 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008803/0.4392, allocations: 4.057 MB / 0.866 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009254/0.4485, allocations: 4.587 MB / 0.8705 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003168/0.4517, allocations: 0.7734 MB / 0.8712 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006837/0.4585, allocations: 1.775 MB / 0.8729 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00593/0.4645, allocations: 3.037 MB / 0.8759 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009366/0.4739, allocations: 3.587 MB / 0.8794 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.4915, allocations: 11.87 MB / 0.891 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4916, allocations: 7.938 kB / 0.891 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4916, allocations: 0 / 0.891 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004265/0.492, allocations: 0 / 0.891 GB, free: 14.77 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.02035/0.5124, allocations: 6.35 MB / 0.8972 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.5125, allocations: 8.031 kB / 0.8972 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009079/0.5215, allocations: 1.305 MB / 0.8985 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009309/0.5309, allocations: 3.568 MB / 0.902 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004489/0.5314, allocations: 382.5 kB / 0.9023 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/0.5342, allocations: 0.4924 MB / 0.9028 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.5561, allocations: 8.89 MB / 0.9115 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.5564, allocations: 31.72 kB / 0.9115 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.5577, allocations: 223.9 kB / 0.9118 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002094/0.5598, allocations: 0.6342 MB / 0.9124 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.5771, allocations: 7.014 MB / 0.9192 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5904/1.167, allocations: 40.33 MB / 0.9586 GB, free: 92.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/1.172, allocations: 2.888 MB / 0.9614 GB, free: 91.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/1.176, allocations: 2.666 MB / 0.964 GB, free: 90.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/1.177, allocations: 30.95 kB / 0.9641 GB, free: 90.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/1.177, allocations: 60.94 kB / 0.9641 GB, free: 90.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 4.699e-06/1.177, allocations: 4 kB / 0.9641 GB, free: 90.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2639/1.441, allocations: 74.72 MB / 1.037 GB, free: 29.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.441, allocations: 98.72 kB / 1.037 GB, free: 29.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/1.444, allocations: 2.359 MB / 1.039 GB, free: 26.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.445, allocations: 93.7 kB / 1.04 GB, free: 26.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.446, allocations: 2.343 MB / 1.042 GB, free: 24.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002007/1.448, allocations: 1.434 MB / 1.043 GB, free: 23.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002386/1.45, allocations: 0.7254 MB / 1.044 GB, free: 22.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/1.45, allocations: 301.1 kB / 1.044 GB, free: 22.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003985/1.454, allocations: 2.995 MB / 1.047 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004678/1.459, allocations: 3.851 MB / 1.051 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008701/1.468, allocations: 7.384 MB / 1.058 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/1.468, allocations: 11.98 kB / 1.058 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02711/1.495, allocations: 12.56 MB / 1.07 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/1.495, allocations: 16 kB / 1.07 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/1.495, allocations: 20 kB / 1.07 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02217/1.517, allocations: 6.076 MB / 1.076 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.52, allocations: 499.2 kB / 1.077 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09014/1.61, allocations: 73.02 MB / 1.148 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/1.614, allocations: 215.8 kB / 1.148 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/1.615, allocations: 152 kB / 1.149 GB, free: 7.137 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.003628/1.619, allocations: 2.004 MB / 1.15 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.62, allocations: 387.4 kB / 1.151 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02804/1.648, allocations: 12.23 MB / 1.163 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.701e-05/1.648, allocations: 44 kB / 1.163 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001684/1.648, allocations: 52 kB / 1.163 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-05/1.648, allocations: 19.92 kB / 1.163 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03984/1.688, allocations: 19.14 MB / 1.182 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/1.688, allocations: 11.94 kB / 1.182 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.69, allocations: 291.5 kB / 1.182 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02051/1.71, allocations: 5.621 MB / 1.187 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006248/1.711, allocations: 76 kB / 1.187 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08267/1.793, allocations: 70.68 MB / 1.256 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.849e-05/1.794, allocations: 11.94 kB / 1.256 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03151/1.825, allocations: 15.61 MB / 1.272 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/1.828, allocations: 1.043 MB / 1.273 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00096/1.829, allocations: 91.89 kB / 1.273 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.832, allocations: 215.7 kB / 1.273 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/1.833, allocations: 406.3 kB / 1.273 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003045/1.833, allocations: 108 kB / 1.274 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002292/1.836, allocations: 1.553 MB / 1.275 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.11e-07/1.836, allocations: 4 kB / 1.275 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.5076/2.343, allocations: 1.857 MB / 1.277 GB, free: 311.4 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.001637/2.345, allocations: 214.8 kB / 1.277 GB, free: 311.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02873/2.374, allocations: 14.97 MB / 1.292 GB, free: 308.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/2.374, allocations: 2.469 kB / 1.292 GB, free: 308.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01697/2.391, allocations: 8.364 MB / 1.3 GB, free: 305.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006559/2.397, allocations: 1.188 MB / 1.301 GB, free: 305.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/2.421, allocations: 14.81 MB / 1.315 GB, free: 299.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004921/2.426, allocations: 4.092 MB / 1.319 GB, free: 298.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003126/2.429, allocations: 0.6729 MB / 1.32 GB, free: 298.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/2.43, allocations: 176.3 kB / 1.32 GB, free: 298.1 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/2.43, allocations: 2.734 kB / 1.32 GB, free: 298.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.153/2.583, allocations: 112.4 MB / 1.43 GB, free: 206.1 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)