Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.419/2.419, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 183.8 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.364/2.364, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 95.62 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006871/0.0006872, allocations: 14.62 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2308, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9593/1.19, allocations: 188.5 MB / 1.083 GB, free: 54.43 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.191, allocations: 101.8 kB / 1.083 GB, free: 54.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5419/1.733, allocations: 146.4 MB / 1.226 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.116e-06/1.733, allocations: 0 / 1.226 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000403/1.733, allocations: 91.83 kB / 1.226 GB, free: 10.77 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01613/1.749, allocations: 3.494 MB / 1.23 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.749, allocations: 15.97 kB / 1.23 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009049/1.758, allocations: 0.8303 MB / 1.23 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.769, allocations: 2.561 MB / 1.233 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004274/1.769, allocations: 274.3 kB / 1.233 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002262/1.771, allocations: 379.2 kB / 1.234 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/1.791, allocations: 5.709 MB / 1.239 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/1.792, allocations: 19.88 kB / 1.239 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/1.793, allocations: 163.4 kB / 1.239 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003926/1.793, allocations: 211 kB / 1.239 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/1.808, allocations: 4.126 MB / 1.244 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05016/1.858, allocations: 27.67 MB / 1.271 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/1.861, allocations: 1.097 MB / 1.272 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/1.862, allocations: 9 kB / 1.272 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/1.862, allocations: 47.56 kB / 1.272 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 6.572e-06/1.862, allocations: 3.938 kB / 1.272 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.03996/1.902, allocations: 9.545 MB / 1.281 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.902, allocations: 72.7 kB / 1.281 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/1.905, allocations: 1.274 MB / 1.282 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003771/1.905, allocations: 49.7 kB / 1.282 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.907, allocations: 1.658 MB / 1.284 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009131/1.908, allocations: 476.3 kB / 1.284 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.908, allocations: 36 kB / 1.284 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002421/1.908, allocations: 377.9 kB / 1.285 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/1.911, allocations: 0.8706 MB / 1.286 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/1.914, allocations: 1.472 MB / 1.287 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/1.917, allocations: 1.115 MB / 1.288 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/1.917, allocations: 8 kB / 1.288 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01143/1.929, allocations: 3.223 MB / 1.291 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/1.929, allocations: 12 kB / 1.291 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/1.929, allocations: 20 kB / 1.291 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/1.933, allocations: 0.7224 MB / 1.292 GB, free: 3.934 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/1.936, allocations: 395.4 kB / 1.292 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/1.961, allocations: 15.86 MB / 1.308 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.963, allocations: 112 kB / 1.308 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/1.964, allocations: 75.98 kB / 1.308 GB, free: 2.305 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004019/1.968, allocations: 1.313 MB / 1.309 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007401/1.969, allocations: 205.6 kB / 1.31 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008722/1.977, allocations: 2.734 MB / 1.312 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/1.977, allocations: 15.94 kB / 1.312 GB, free: 13.99 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.977, allocations: 8 kB / 1.312 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/1.977, allocations: 7.969 kB / 1.312 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.996, allocations: 6.078 MB / 1.318 GB, free: 7.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/1.996, allocations: 11.98 kB / 1.318 GB, free: 7.738 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.998, allocations: 235.7 kB / 1.318 GB, free: 7.508 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003499/2.002, allocations: 0.6401 MB / 1.319 GB, free: 6.84 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/2.002, allocations: 31.98 kB / 1.319 GB, free: 6.809 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/2.024, allocations: 15.59 MB / 1.334 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/2.024, allocations: 11.92 kB / 1.334 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/2.035, allocations: 4.261 MB / 1.339 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/2.037, allocations: 454.6 kB / 1.339 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/2.038, allocations: 32.11 kB / 1.339 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/2.039, allocations: 83.91 kB / 1.339 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00046/2.04, allocations: 120.7 kB / 1.339 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/2.04, allocations: 36 kB / 1.339 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002263/2.042, allocations: 0.9708 MB / 1.34 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/2.042, allocations: 4 kB / 1.34 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003918/2.046, allocations: 0.7069 MB / 1.341 GB, free: 15.13 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004639/2.047, allocations: 156.7 kB / 1.341 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008531/2.055, allocations: 3.432 MB / 1.344 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.055, allocations: 0 / 1.344 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005403/2.061, allocations: 2.257 MB / 1.347 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/2.065, allocations: 0.5733 MB / 1.347 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/2.084, allocations: 7.814 MB / 1.355 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005404/2.09, allocations: 2.734 MB / 1.357 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002803/2.093, allocations: 481 kB / 1.358 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/2.093, allocations: 119.4 kB / 1.358 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/2.093, allocations: 0 / 1.358 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of Templates: time 0.7098/2.803, allocations: 30.22 MB / 1.388 GB, free: 235 MB / 0.8855 GB