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_RL_N.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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002079/0.002079, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.684/1.684, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.598/1.598, allocations: 251.6 MB / 0.5089 GB, free: 3.238 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.001355/0.001355, allocations: 63.91 kB / 0.6217 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6512, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02428/0.6756, allocations: 20.04 MB / 0.7436 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.6877, allocations: 6.446 MB / 0.7499 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.6905, allocations: 83.5 kB / 0.7499 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005797/0.6964, allocations: 2.092 MB / 0.752 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.7017, allocations: 1.093 MB / 0.753 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.7063, allocations: 1.163 MB / 0.7542 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008397/0.7147, allocations: 4.866 MB / 0.7589 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.727, allocations: 6.748 MB / 0.7655 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.7316, allocations: 2.122 MB / 0.7676 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005248/0.7369, allocations: 2.454 MB / 0.77 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002116/0.739, allocations: 428 kB / 0.7704 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004125/0.7432, allocations: 1.003 MB / 0.7714 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00381/0.747, allocations: 1.661 MB / 0.773 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005794/0.7529, allocations: 1.918 MB / 0.7749 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.764, allocations: 6.528 MB / 0.7813 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.7641, allocations: 4 kB / 0.7813 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7641, allocations: 0 / 0.7813 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003529/0.7645, allocations: 0 / 0.7813 GB, free: 2.254 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01541/0.7799, allocations: 3.455 MB / 0.7846 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.668e-05/0.78, allocations: 8.031 kB / 0.7846 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006549/0.7866, allocations: 0.6372 MB / 0.7853 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007059/0.7937, allocations: 1.932 MB / 0.7871 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.7941, allocations: 226.3 kB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.7958, allocations: 288.4 kB / 0.7876 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.8097, allocations: 4.898 MB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.81, allocations: 15.84 kB / 0.7924 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/0.8111, allocations: 127.9 kB / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005455/0.8116, allocations: 229.7 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009166/0.8208, allocations: 3.754 MB / 0.7964 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.857, allocations: 21.56 MB / 0.8175 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.8592, allocations: 1.306 MB / 0.8188 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.861, allocations: 1.049 MB / 0.8198 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.8611, allocations: 9 kB / 0.8198 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.8611, allocations: 51.56 kB / 0.8199 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 4.839e-06/0.8612, allocations: 0 / 0.8199 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02619/0.8874, allocations: 8.656 MB / 0.8283 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.8875, allocations: 68.7 kB / 0.8284 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.8895, allocations: 1.13 MB / 0.8295 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.8896, allocations: 45.7 kB / 0.8295 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.8907, allocations: 1.304 MB / 0.8308 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/0.8912, allocations: 485 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005792/0.8918, allocations: 287.3 kB / 0.8315 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.892, allocations: 313 kB / 0.8318 GB, free: 12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.8934, allocations: 0.9096 MB / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.8952, allocations: 1.334 MB / 0.834 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.8984, allocations: 2.426 MB / 0.8364 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.8985, allocations: 7.938 kB / 0.8364 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006566/0.905, allocations: 3.46 MB / 0.8398 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.9051, allocations: 8.188 kB / 0.8398 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.9051, allocations: 19.98 kB / 0.8398 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003387/0.9085, allocations: 1.193 MB / 0.841 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.9096, allocations: 255.6 kB / 0.8412 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.9309, allocations: 13.85 MB / 0.8547 GB, free: 3.754 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.9326, allocations: 87.97 kB / 0.8548 GB, free: 3.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/0.933, allocations: 64 kB / 0.8549 GB, free: 3.605 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002378/0.9354, allocations: 1.114 MB / 0.856 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.9359, allocations: 158.1 kB / 0.8561 GB, free: 2.324 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006494/0.9424, allocations: 3.169 MB / 0.8592 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.9424, allocations: 15.94 kB / 0.8592 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.46e-05/0.9425, allocations: 16.31 kB / 0.8592 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.9425, allocations: 7.969 kB / 0.8593 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.9552, allocations: 6.249 MB / 0.8654 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.9553, allocations: 4 kB / 0.8654 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.9559, allocations: 143.8 kB / 0.8655 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/0.9589, allocations: 1.087 MB / 0.8666 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.9591, allocations: 28 kB / 0.8666 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.9784, allocations: 13.55 MB / 0.8798 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.9785, allocations: 4 kB / 0.8798 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006995/0.9855, allocations: 3.146 MB / 0.8829 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.9866, allocations: 427.2 kB / 0.8833 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/0.987, allocations: 35.94 kB / 0.8833 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.9882, allocations: 83.89 kB / 0.8834 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/0.9887, allocations: 120.7 kB / 0.8835 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.9888, allocations: 36 kB / 0.8836 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001644/0.9905, allocations: 0.771 MB / 0.8843 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9905, allocations: 0 / 0.8843 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002986/0.9935, allocations: 0.6602 MB / 0.885 GB, free: 4.09 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003521/0.9938, allocations: 143 kB / 0.8851 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006596/1, allocations: 3.622 MB / 0.8886 GB, free: 284 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/1, allocations: 4 kB / 0.8886 GB, free: 280 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003334/1.004, allocations: 1.959 MB / 0.8906 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.007, allocations: 0.5079 MB / 0.891 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.02, allocations: 6.743 MB / 0.8976 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003773/1.024, allocations: 2.34 MB / 0.8999 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00145/1.025, allocations: 354.1 kB / 0.9003 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.025, allocations: 87.44 kB / 0.9003 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of SimCode: time 1.674e-06/1.026, allocations: 0 / 0.9003 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.4413/1.467, allocations: 32.83 MB / 0.9324 GB, free: 152.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)