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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007166/0.007166, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001821/0.001821, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.449/1.449, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.002186/0.002186, allocations: 67.91 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7916, allocations: 104.7 MB / 0.828 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03654/0.8282, allocations: 30.62 MB / 0.858 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02768/0.8559, allocations: 13.64 MB / 0.8713 GB, free: 6.172 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005191/0.8612, allocations: 143.2 kB / 0.8714 GB, free: 6.031 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01046/0.8717, allocations: 3.201 MB / 0.8745 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.883, allocations: 2.758 MB / 0.8772 GB, free: 48 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007655/0.8907, allocations: 2.009 MB / 0.8792 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01627/0.907, allocations: 7.603 MB / 0.8866 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/0.926, allocations: 8.248 MB / 0.8947 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00942/0.9354, allocations: 3.447 MB / 0.898 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00843/0.9439, allocations: 3.387 MB / 0.9013 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003754/0.9477, allocations: 0.5977 MB / 0.9019 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006236/0.954, allocations: 1.49 MB / 0.9034 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005096/0.9592, allocations: 2.358 MB / 0.9057 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00781/0.967, allocations: 2.875 MB / 0.9085 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.9846, allocations: 9.457 MB / 0.9177 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.9846, allocations: 0 / 0.9177 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.349e-06/0.9846, allocations: 4 kB / 0.9177 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004397/0.9851, allocations: 0 / 0.9177 GB, free: 6.367 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02343/1.009, allocations: 5.128 MB / 0.9227 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.204e-05/1.009, allocations: 8.031 kB / 0.9227 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008474/1.017, allocations: 0.9942 MB / 0.9237 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009654/1.027, allocations: 3.075 MB / 0.9267 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000488/1.027, allocations: 320.8 kB / 0.927 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/1.03, allocations: 427.9 kB / 0.9274 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/1.049, allocations: 6.787 MB / 0.9341 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002736/1.05, allocations: 23.77 kB / 0.9341 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001506/1.051, allocations: 184 kB / 0.9343 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000963/1.052, allocations: 372 kB / 0.9346 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/1.065, allocations: 5.114 MB / 0.9396 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04701/1.112, allocations: 30.49 MB / 0.9694 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/1.115, allocations: 1.395 MB / 0.9707 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/1.117, allocations: 1.328 MB / 0.972 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/1.117, allocations: 13.31 kB / 0.9721 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/1.117, allocations: 55.81 kB / 0.9721 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=130): time 4.359e-06/1.117, allocations: 0 / 0.9721 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=199): time 0.08656/1.204, allocations: 23.08 MB / 0.9946 GB, free: 4.219 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/1.204, allocations: 77.34 kB / 0.9947 GB, free: 4.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005101/1.209, allocations: 2.058 MB / 0.9967 GB, free: 2.059 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006687/1.21, allocations: 65.7 kB / 0.9968 GB, free: 1.988 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002175/1.212, allocations: 2.006 MB / 0.9987 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.213, allocations: 0.6777 MB / 0.9994 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/1.215, allocations: 408.1 kB / 0.9998 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.215, allocations: 309.1 kB / 1 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/1.218, allocations: 1.43 MB / 1.001 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/1.221, allocations: 2.013 MB / 1.003 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00608/1.227, allocations: 3.692 MB / 1.007 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/1.228, allocations: 4 kB / 1.007 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01304/1.241, allocations: 5.672 MB / 1.013 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/1.241, allocations: 15.94 kB / 1.013 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/1.241, allocations: 16 kB / 1.013 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007542/1.248, allocations: 2.08 MB / 1.015 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.25, allocations: 379.4 kB / 1.015 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04621/1.296, allocations: 38.43 MB / 1.053 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/1.3, allocations: 127.9 kB / 1.053 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/1.3, allocations: 92 kB / 1.053 GB, free: 5.457 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00382/1.304, allocations: 1.506 MB / 1.054 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000971/1.305, allocations: 288.6 kB / 1.055 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/1.317, allocations: 5.208 MB / 1.06 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/1.317, allocations: 20 kB / 1.06 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.494e-05/1.317, allocations: 16 kB / 1.06 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/1.317, allocations: 19.89 kB / 1.06 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/1.341, allocations: 9.669 MB / 1.069 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/1.341, allocations: 8 kB / 1.069 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.342, allocations: 215.6 kB / 1.069 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006606/1.349, allocations: 1.846 MB / 1.071 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003234/1.349, allocations: 36 kB / 1.071 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.662/2.011, allocations: 37.43 MB / 1.108 GB, free: 245.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/2.011, allocations: 12.39 kB / 1.108 GB, free: 245.1 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/2.022, allocations: 4.917 MB / 1.113 GB, free: 244.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/2.024, allocations: 0.6198 MB / 1.113 GB, free: 244.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/2.025, allocations: 45.33 kB / 1.113 GB, free: 244.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/2.027, allocations: 128 kB / 1.113 GB, free: 244.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007732/2.027, allocations: 190.7 kB / 1.113 GB, free: 244.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/2.027, allocations: 57.41 kB / 1.114 GB, free: 244.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002089/2.03, allocations: 1.381 MB / 1.115 GB, free: 244.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.61e-07/2.03, allocations: 0 / 1.115 GB, free: 244.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004427/2.034, allocations: 1.038 MB / 1.116 GB, free: 244.3 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/2.034, allocations: 164.8 kB / 1.116 GB, free: 244.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00963/2.044, allocations: 6.295 MB / 1.122 GB, free: 241 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/2.044, allocations: 3.719 kB / 1.122 GB, free: 241 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.006412/2.051, allocations: 4.395 MB / 1.126 GB, free: 238.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004926/2.056, allocations: 0.9934 MB / 1.127 GB, free: 237.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/2.073, allocations: 8.045 MB / 1.135 GB, free: 234.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003821/2.077, allocations: 3.124 MB / 1.138 GB, free: 232.6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002079/2.079, allocations: 0.5218 MB / 1.139 GB, free: 232.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/2.079, allocations: 150.4 kB / 1.139 GB, free: 232.1 MB / 0.9044 GB Notification: Performance of SimCode: time 1.533e-06/2.079, allocations: 0 / 1.139 GB, free: 232.1 MB / 0.9044 GB Notification: Performance of Templates: time 0.093/2.172, allocations: 58.43 MB / 1.196 GB, free: 176.8 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)