Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.569/2.569, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001475, allocations: 173.4 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.4 MB / 0.6301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 91.7 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.000455, allocations: 12.38 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03748/0.19, allocations: 33.02 MB / 1.011 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.2118, allocations: 10.72 MB / 1.021 GB, free: 324 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.2151, allocations: 127.2 kB / 1.022 GB, free: 196 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.2179, allocations: 0.757 MB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006658/0.2246, allocations: 1.713 MB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005375/0.23, allocations: 1.293 MB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008767/0.2388, allocations: 4.439 MB / 1.03 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02761/0.2664, allocations: 12.65 MB / 1.042 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.272, allocations: 2.499 MB / 1.044 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005408/0.2774, allocations: 2.647 MB / 1.047 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.2789, allocations: 348 kB / 1.047 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.2816, allocations: 0.5855 MB / 1.048 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003901/0.2856, allocations: 2.315 MB / 1.05 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.2882, allocations: 1.198 MB / 1.051 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.3028, allocations: 10.02 MB / 1.061 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3028, allocations: 0 / 1.061 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3028, allocations: 0 / 1.061 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002473/0.3031, allocations: 0 / 1.061 GB, free: 7.578 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01367/0.3168, allocations: 5.109 MB / 1.066 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3168, allocations: 12.02 kB / 1.066 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006321/0.3232, allocations: 1.019 MB / 1.067 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5192/0.8425, allocations: 3.34 MB / 1.07 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/0.843, allocations: 428.1 kB / 1.071 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.8446, allocations: 0.537 MB / 1.071 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/0.8692, allocations: 9.284 MB / 1.08 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.8695, allocations: 17.38 kB / 1.08 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/0.8707, allocations: 245.6 kB / 1.081 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008317/0.8716, allocations: 421 kB / 1.081 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.8902, allocations: 7.083 MB / 1.088 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05033/0.9406, allocations: 41.37 MB / 1.128 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00608/0.9467, allocations: 3.089 MB / 1.131 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.9469, allocations: 22.94 kB / 1.131 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.947, allocations: 62.59 kB / 1.131 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 6.39e-06/0.947, allocations: 0 / 1.131 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.03061/0.9776, allocations: 10.45 MB / 1.142 GB, free: 28.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9777, allocations: 72.94 kB / 1.142 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.9811, allocations: 1.978 MB / 1.144 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004005/0.9815, allocations: 61.58 kB / 1.144 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.983, allocations: 2.402 MB / 1.146 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008184/0.9838, allocations: 0.7338 MB / 1.147 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.9841, allocations: 55.25 kB / 1.147 GB, free: 24.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.9842, allocations: 413.4 kB / 1.147 GB, free: 23.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/0.9869, allocations: 1.368 MB / 1.149 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/0.99, allocations: 2.078 MB / 1.151 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.9932, allocations: 1.728 MB / 1.152 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.9933, allocations: 8 kB / 1.152 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01023/1.003, allocations: 5.042 MB / 1.157 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/1.004, allocations: 16 kB / 1.157 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.004, allocations: 30.06 kB / 1.157 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/1.008, allocations: 1.559 MB / 1.159 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/1.01, allocations: 451.3 kB / 1.159 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/1.038, allocations: 17.73 MB / 1.176 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/1.041, allocations: 143.9 kB / 1.177 GB, free: 9.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/1.041, allocations: 108 kB / 1.177 GB, free: 9.727 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004621/1.046, allocations: 1.945 MB / 1.179 GB, free: 7.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00082/1.047, allocations: 288.6 kB / 1.179 GB, free: 7.484 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.065, allocations: 4.432 MB / 1.183 GB, free: 3.023 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.894e-05/1.065, allocations: 20 kB / 1.183 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.049e-05/1.065, allocations: 19.98 kB / 1.183 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.184e-05/1.065, allocations: 7.969 kB / 1.183 GB, free: 2.977 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03848/1.104, allocations: 9.643 MB / 1.193 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.104, allocations: 7.938 kB / 1.193 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.105, allocations: 227.7 kB / 1.193 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004828/1.11, allocations: 1.425 MB / 1.194 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/1.11, allocations: 36 kB / 1.194 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03291/1.143, allocations: 17.74 MB / 1.212 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/1.143, allocations: 11.92 kB / 1.212 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.154, allocations: 4.867 MB / 1.216 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.156, allocations: 0.6344 MB / 1.217 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007572/1.157, allocations: 40 kB / 1.217 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.159, allocations: 123.5 kB / 1.217 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000658/1.16, allocations: 177.5 kB / 1.217 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/1.16, allocations: 60 kB / 1.217 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002756/1.163, allocations: 1.295 MB / 1.219 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.186e-06/1.163, allocations: 0 / 1.219 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004835/1.168, allocations: 1.141 MB / 1.22 GB, free: 12.69 MB / 0.7448 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005106/1.168, allocations: 167 kB / 1.22 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.179, allocations: 4.678 MB / 1.225 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.179, allocations: 0 / 1.225 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.006962/1.186, allocations: 2.93 MB / 1.227 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/1.19, allocations: 0.7977 MB / 1.228 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.213, allocations: 11.21 MB / 1.239 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007588/1.221, allocations: 3.788 MB / 1.243 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00294/1.224, allocations: 0.5556 MB / 1.243 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/1.224, allocations: 147.4 kB / 1.244 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of SimCode: time 1.895e-06/1.225, allocations: 0 / 1.244 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of Templates: time 0.1236/1.348, allocations: 48.77 MB / 1.291 GB, free: 4.059 MB / 0.8073 GB