Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.683/2.683, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001399/0.001399, allocations: 182.5 kB / 371.4 MB, free: 10.66 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.21/2.21, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001543/0.001543, allocations: 106 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007608/0.0007611, allocations: 20.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1844, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01968/0.2041, allocations: 17.63 MB / 0.996 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2147, allocations: 6.215 MB / 1.002 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.2164, allocations: 71.56 kB / 1.002 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.2177, allocations: 405.4 kB / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.2206, allocations: 0.8645 MB / 1.003 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.2232, allocations: 0.7754 MB / 1.004 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.2268, allocations: 2.315 MB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01351/0.2403, allocations: 6.376 MB / 1.013 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.243, allocations: 1.316 MB / 1.014 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.2456, allocations: 1.374 MB / 1.015 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005179/0.2461, allocations: 176 kB / 1.015 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.2475, allocations: 411.6 kB / 1.016 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.2492, allocations: 1.239 MB / 1.017 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009989/0.2502, allocations: 0.6369 MB / 1.018 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007102/0.2573, allocations: 5.306 MB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.811e-06/0.2573, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2574, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001051/0.2575, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.6511 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.006913/0.2644, allocations: 2.828 MB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2645, allocations: 16.02 kB / 1.026 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.2687, allocations: 0.6207 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/0.2736, allocations: 1.896 MB / 1.028 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.2739, allocations: 218 kB / 1.028 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009725/0.2749, allocations: 292 kB / 1.029 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.287, allocations: 4.851 MB / 1.033 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.2872, allocations: 15.78 kB / 1.033 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004651/0.2876, allocations: 131.9 kB / 1.033 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005393/0.2882, allocations: 229.7 kB / 1.034 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00963/0.2978, allocations: 3.723 MB / 1.037 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.3296, allocations: 21.6 MB / 1.058 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.3322, allocations: 1.304 MB / 1.06 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.3323, allocations: 13 kB / 1.06 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.3324, allocations: 55.5 kB / 1.06 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 4.57e-06/0.3324, allocations: 0 / 1.06 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.6608/0.9932, allocations: 8.646 MB / 1.068 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.9933, allocations: 72.39 kB / 1.068 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004963/0.9983, allocations: 1.117 MB / 1.069 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003227/0.9987, allocations: 51.52 kB / 1.069 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1, allocations: 1.299 MB / 1.071 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008485/1.001, allocations: 483.9 kB / 1.071 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.001, allocations: 33.62 kB / 1.071 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002585/1.002, allocations: 368.4 kB / 1.071 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003827/1.006, allocations: 0.9078 MB / 1.072 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/1.01, allocations: 1.313 MB / 1.074 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/1.013, allocations: 1.133 MB / 1.075 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/1.013, allocations: 3.75 kB / 1.075 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008628/1.021, allocations: 3.453 MB / 1.078 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.021, allocations: 15 kB / 1.078 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/1.021, allocations: 13.31 kB / 1.078 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004593/1.026, allocations: 1.182 MB / 1.079 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.027, allocations: 260.7 kB / 1.08 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/1.049, allocations: 13.19 MB / 1.092 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.051, allocations: 90.28 kB / 1.092 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/1.051, allocations: 64.69 kB / 1.093 GB, free: 70.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002314/1.053, allocations: 1.116 MB / 1.094 GB, free: 69.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/1.054, allocations: 159.6 kB / 1.094 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007388/1.061, allocations: 3.161 MB / 1.097 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/1.061, allocations: 14.39 kB / 1.097 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/1.061, allocations: 16.06 kB / 1.097 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/1.061, allocations: 6.328 kB / 1.097 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/1.078, allocations: 6.228 MB / 1.103 GB, free: 65.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.078, allocations: 4.094 kB / 1.103 GB, free: 65.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/1.079, allocations: 149.7 kB / 1.103 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004118/1.083, allocations: 1.075 MB / 1.104 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/1.083, allocations: 33.52 kB / 1.104 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/1.103, allocations: 12.91 MB / 1.117 GB, free: 56.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.718e-06/1.103, allocations: 8.562 kB / 1.117 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006727/1.11, allocations: 3.393 MB / 1.12 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.111, allocations: 429.5 kB / 1.121 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/1.111, allocations: 26.16 kB / 1.121 GB, free: 53.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.113, allocations: 83.67 kB / 1.121 GB, free: 53.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/1.113, allocations: 119.8 kB / 1.121 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.113, allocations: 41.34 kB / 1.121 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001303/1.114, allocations: 0.7567 MB / 1.122 GB, free: 53.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.59e-07/1.114, allocations: 0 / 1.122 GB, free: 53.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002706/1.117, allocations: 0.662 MB / 1.122 GB, free: 53.02 MB / 0.6823 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,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002762/1.117, allocations: 143.4 kB / 1.122 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005984/1.123, allocations: 3.122 MB / 1.125 GB, free: 51.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.522e-06/1.123, allocations: 3.875 kB / 1.125 GB, free: 51.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/1.127, allocations: 1.961 MB / 1.127 GB, free: 49.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.13, allocations: 443 kB / 1.128 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.14, allocations: 6.461 MB / 1.134 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/1.143, allocations: 2.398 MB / 1.136 GB, free: 42.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001457/1.145, allocations: 342.1 kB / 1.137 GB, free: 41.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/1.145, allocations: 91.42 kB / 1.137 GB, free: 41.76 MB / 0.6823 GB Notification: Performance of SimCode: time 1.559e-06/1.145, allocations: 0 / 1.137 GB, free: 41.76 MB / 0.6823 GB Notification: Performance of Templates: time 0.06321/1.208, allocations: 30.17 MB / 1.166 GB, free: 12.03 MB / 0.6823 GB