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.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007522/0.007522, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001193/0.001193, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.73/1.73, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.667/1.667, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001477/0.001477, allocations: 64.42 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3105, allocations: 104.7 MB / 0.8281 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03014/0.3408, allocations: 22.58 MB / 0.8501 GB, free: 9.566 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.356, allocations: 6.272 MB / 0.8562 GB, free: 3.277 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.3601, allocations: 99.5 kB / 0.8563 GB, free: 3.18 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00662/0.3668, allocations: 1.534 MB / 0.8578 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007865/0.3747, allocations: 1.625 MB / 0.8594 GB, free: 8 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005188/0.3799, allocations: 1.342 MB / 0.8607 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008525/0.3885, allocations: 5.889 MB / 0.8665 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0081/0.3966, allocations: 6.037 MB / 0.8724 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.4011, allocations: 2.407 MB / 0.8747 GB, free: 236 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005231/0.4063, allocations: 2.866 MB / 0.8775 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.4074, allocations: 456 kB / 0.8779 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.4103, allocations: 1.1 MB / 0.879 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.4127, allocations: 2.019 MB / 0.881 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00318/0.4159, allocations: 2.163 MB / 0.8831 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00923/0.4251, allocations: 7.284 MB / 0.8902 GB, free: 316 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.4252, allocations: 4 kB / 0.8902 GB, free: 312 kB / 0.7012 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4252, allocations: 3.938 kB / 0.8902 GB, free: 308 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002153/0.4254, allocations: 0 / 0.8902 GB, free: 308 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008787/0.4342, allocations: 3.82 MB / 0.894 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4343, allocations: 8.031 kB / 0.894 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.4406, allocations: 1.214 MB / 0.8952 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005502/0.4462, allocations: 2.344 MB / 0.8974 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.4464, allocations: 238.4 kB / 0.8977 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007081/0.4471, allocations: 311.9 kB / 0.898 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.458, allocations: 6.212 MB / 0.904 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.78e-05/0.4581, allocations: 15.78 kB / 0.904 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/0.4585, allocations: 143.9 kB / 0.9042 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004898/0.4589, allocations: 402.3 kB / 0.9046 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5502/1.009, allocations: 4.665 MB / 0.9091 GB, free: 68.8 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03752/1.047, allocations: 28.91 MB / 0.9374 GB, free: 45.76 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/1.049, allocations: 1.417 MB / 0.9387 GB, free: 45.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/1.052, allocations: 1.483 MB / 0.9402 GB, free: 44.72 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/1.052, allocations: 15.14 kB / 0.9402 GB, free: 44.72 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.052, allocations: 43.77 kB / 0.9402 GB, free: 44.67 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 4.167e-06/1.052, allocations: 1.375 kB / 0.9402 GB, free: 44.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.1928/1.245, allocations: 37.26 MB / 0.9766 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.245, allocations: 69.41 kB / 0.9767 GB, free: 21.17 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/1.246, allocations: 1.419 MB / 0.9781 GB, free: 19.74 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003996/1.247, allocations: 57.7 kB / 0.9781 GB, free: 19.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/1.248, allocations: 1.534 MB / 0.9796 GB, free: 18.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/1.248, allocations: 0.6114 MB / 0.9802 GB, free: 17.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006407/1.249, allocations: 379.3 kB / 0.9806 GB, free: 17.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.202e-05/1.249, allocations: 305.1 kB / 0.9809 GB, free: 16.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/1.251, allocations: 1.78 MB / 0.9826 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/1.253, allocations: 2.354 MB / 0.9849 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/1.257, allocations: 4.391 MB / 0.9892 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.257, allocations: 4 kB / 0.9892 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0165/1.274, allocations: 8.571 MB / 0.9976 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/1.274, allocations: 12 kB / 0.9976 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/1.274, allocations: 20 kB / 0.9976 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01575/1.29, allocations: 4.638 MB / 1.002 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.291, allocations: 303.4 kB / 1.002 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05214/1.343, allocations: 32.59 MB / 1.034 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/1.346, allocations: 151.8 kB / 1.034 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/1.347, allocations: 85.08 kB / 1.034 GB, free: 8.594 MB / 0.7637 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003163/1.35, allocations: 1.332 MB / 1.036 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006802/1.351, allocations: 193.7 kB / 1.036 GB, free: 7.062 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.37, allocations: 8.438 MB / 1.044 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/1.37, allocations: 20 kB / 1.044 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-05/1.37, allocations: 27.94 kB / 1.044 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.857e-05/1.37, allocations: 11.95 kB / 1.044 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/1.397, allocations: 12.84 MB / 1.057 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/1.397, allocations: 8 kB / 1.057 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/1.398, allocations: 164.5 kB / 1.057 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01526/1.413, allocations: 4.491 MB / 1.061 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004617/1.413, allocations: 36 kB / 1.061 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04943/1.463, allocations: 32.19 MB / 1.093 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/1.463, allocations: 12.78 kB / 1.093 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/1.481, allocations: 8.236 MB / 1.101 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.483, allocations: 0.6118 MB / 1.101 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/1.483, allocations: 47.92 kB / 1.102 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.485, allocations: 139.8 kB / 1.102 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009728/1.486, allocations: 172.8 kB / 1.102 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.486, allocations: 47.98 kB / 1.102 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00152/1.487, allocations: 0.9588 MB / 1.103 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/1.487, allocations: 0 / 1.103 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004187/1.492, allocations: 1.109 MB / 1.104 GB, free: 360 kB / 0.8262 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004/1.492, allocations: 159.7 kB / 1.104 GB, free: 192 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01397/1.506, allocations: 6.539 MB / 1.11 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.506, allocations: 0 / 1.11 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0104/1.517, allocations: 4.36 MB / 1.115 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/1.52, allocations: 0.519 MB / 1.115 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.533, allocations: 6.803 MB / 1.122 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/1.537, allocations: 2.727 MB / 1.124 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001408/1.538, allocations: 392.5 kB / 1.125 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/1.538, allocations: 99.44 kB / 1.125 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of SimCode: time 1.623e-06/1.538, allocations: 0 / 1.125 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of Templates: time 0.1108/1.649, allocations: 61.04 MB / 1.185 GB, free: 13.82 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)