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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.304/1.304, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 183.2 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007392/0.0007392, allocations: 84.36 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 11.34 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5896/0.7714, allocations: 190.1 MB / 1.087 GB, free: 52.49 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.7717, allocations: 99.59 kB / 1.087 GB, free: 52.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2208/0.9925, allocations: 113.8 MB / 1.198 GB, free: 6.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9926, allocations: 0 / 1.198 GB, free: 6.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001406/0.9927, allocations: 79.84 kB / 1.198 GB, free: 6.234 MB / 0.698 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.005206/0.9979, allocations: 2.851 MB / 1.201 GB, free: 3.539 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.998, allocations: 12.03 kB / 1.201 GB, free: 3.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/1.002, allocations: 0.6676 MB / 1.202 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/1.005, allocations: 2.115 MB / 1.204 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.005, allocations: 218.7 kB / 1.204 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003989/1.006, allocations: 302.8 kB / 1.204 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/1.012, allocations: 4.636 MB / 1.209 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-05/1.012, allocations: 11.94 kB / 1.209 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/1.013, allocations: 127.8 kB / 1.209 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/1.013, allocations: 169.8 kB / 1.209 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/1.018, allocations: 3.411 MB / 1.212 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02082/1.039, allocations: 21.61 MB / 1.233 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/1.041, allocations: 1.291 MB / 1.235 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/1.042, allocations: 1.03 MB / 1.236 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.033e-05/1.042, allocations: 20.98 kB / 1.236 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/1.042, allocations: 43.56 kB / 1.236 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=107): time 2.735e-06/1.042, allocations: 0 / 1.236 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138): time 0.02146/1.063, allocations: 8.636 MB / 1.244 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.063, allocations: 68.72 kB / 1.244 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/1.065, allocations: 1.111 MB / 1.245 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/1.065, allocations: 45.7 kB / 1.245 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/1.066, allocations: 1.307 MB / 1.247 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/1.066, allocations: 484.2 kB / 1.247 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/1.066, allocations: 28 kB / 1.247 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.066, allocations: 377.8 kB / 1.248 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/1.067, allocations: 0.8706 MB / 1.248 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/1.069, allocations: 1.346 MB / 1.25 GB, free: 356 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/1.072, allocations: 2.426 MB / 1.252 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.072, allocations: 4 kB / 1.252 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.0054/1.077, allocations: 3.413 MB / 1.255 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.077, allocations: 15.94 kB / 1.255 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/1.077, allocations: 12 kB / 1.255 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/1.08, allocations: 1.142 MB / 1.257 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/1.081, allocations: 271.5 kB / 1.257 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/1.095, allocations: 12.49 MB / 1.269 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.096, allocations: 83.98 kB / 1.269 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.096, allocations: 71.98 kB / 1.269 GB, free: 11.81 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002049/1.098, allocations: 1.114 MB / 1.27 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/1.099, allocations: 158.1 kB / 1.27 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/1.104, allocations: 3.122 MB / 1.273 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.104, allocations: 16 kB / 1.273 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.104, allocations: 12 kB / 1.273 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.104, allocations: 11.91 kB / 1.274 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009002/1.113, allocations: 6.125 MB / 1.279 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.113, allocations: 4 kB / 1.279 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/1.113, allocations: 151.8 kB / 1.28 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/1.116, allocations: 1.02 MB / 1.281 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/1.116, allocations: 32 kB / 1.281 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/1.129, allocations: 12.19 MB / 1.293 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.129, allocations: 4 kB / 1.293 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/1.134, allocations: 3.088 MB / 1.296 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/1.135, allocations: 419 kB / 1.296 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/1.135, allocations: 28 kB / 1.296 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/1.136, allocations: 79.84 kB / 1.296 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/1.136, allocations: 128.7 kB / 1.296 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/1.136, allocations: 40 kB / 1.296 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009919/1.137, allocations: 0.7436 MB / 1.297 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.71e-07/1.137, allocations: 0 / 1.297 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002015/1.139, allocations: 0.668 MB / 1.298 GB, free: 14.03 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/1.14, allocations: 143 kB / 1.298 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004523/1.144, allocations: 3.062 MB / 1.301 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.144, allocations: 8.062 kB / 1.301 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.147, allocations: 1.936 MB / 1.303 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/1.15, allocations: 452.8 kB / 1.303 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.161, allocations: 6.413 MB / 1.309 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/1.163, allocations: 2.335 MB / 1.312 GB, free: 15.49 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00123/1.165, allocations: 350 kB / 1.312 GB, free: 15.14 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/1.165, allocations: 83.44 kB / 1.312 GB, free: 15.06 MB / 0.823 GB Notification: Performance of SimCode: time 9.62e-07/1.165, allocations: 0 / 1.312 GB, free: 15.06 MB / 0.823 GB Notification: Performance of Templates: time 0.05073/1.216, allocations: 29.39 MB / 1.341 GB, free: 2.012 MB / 0.8386 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)