Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.468/2.468, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.001397/0.001397, allocations: 173.1 kB / 371.4 MB, free: 10.69 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.168/2.168, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001028/0.001028, allocations: 88.36 kB / 0.7434 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004706, allocations: 10.22 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.016/0.1712, allocations: 14.07 MB / 0.9925 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007755/0.179, allocations: 4.605 MB / 0.997 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.1802, allocations: 55.62 kB / 0.9971 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.1809, allocations: 286.2 kB / 0.9973 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.1829, allocations: 0.6348 MB / 0.998 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.1849, allocations: 0.5836 MB / 0.9985 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.1871, allocations: 1.64 MB / 1 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007833/0.195, allocations: 4.93 MB / 1.005 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.1964, allocations: 0.95 MB / 1.006 GB, free: 336 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.1978, allocations: 0.9967 MB / 1.007 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.1981, allocations: 144 kB / 1.007 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009813/0.1991, allocations: 347.7 kB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.2004, allocations: 0.9823 MB / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.201, allocations: 496.5 kB / 1.009 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.2064, allocations: 4.212 MB / 1.013 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2065, allocations: 0 / 1.013 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.349e-06/0.2065, allocations: 0 / 1.013 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.315e-05/0.2066, allocations: 0 / 1.013 GB, free: 9.148 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00506/0.2116, allocations: 2.19 MB / 1.015 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2117, allocations: 15.95 kB / 1.015 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.2171, allocations: 0.8671 MB / 1.016 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/0.2207, allocations: 1.473 MB / 1.017 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.2209, allocations: 176.8 kB / 1.017 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005588/0.2215, allocations: 232 kB / 1.018 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009922/0.2314, allocations: 4.13 MB / 1.022 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.342e-05/0.2316, allocations: 3.938 kB / 1.022 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.2319, allocations: 99.98 kB / 1.022 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/0.2322, allocations: 172.5 kB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009658/0.2419, allocations: 3.628 MB / 1.026 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/0.2686, allocations: 16.54 MB / 1.042 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004454/0.2731, allocations: 2.304 MB / 1.044 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.2733, allocations: 93.66 kB / 1.044 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.2734, allocations: 47.06 kB / 1.044 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.92e-06/0.2734, allocations: 4 kB / 1.044 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.007454/0.2809, allocations: 3.45 MB / 1.047 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.281, allocations: 111.5 kB / 1.048 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.2828, allocations: 1.01 MB / 1.049 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.2829, allocations: 33.7 kB / 1.049 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009748/0.2839, allocations: 1.103 MB / 1.05 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.2842, allocations: 276.2 kB / 1.05 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2843, allocations: 28 kB / 1.05 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003074/0.2846, allocations: 414.7 kB / 1.05 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.2859, allocations: 0.6167 MB / 1.051 GB, free: 44 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.2878, allocations: 1.186 MB / 1.052 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.2895, allocations: 0.8657 MB / 1.053 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.2896, allocations: 11.94 kB / 1.053 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004402/0.294, allocations: 2.019 MB / 1.055 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.294, allocations: 12 kB / 1.055 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/0.2941, allocations: 20 kB / 1.055 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/0.2946, allocations: 167.3 kB / 1.055 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.2962, allocations: 347.6 kB / 1.055 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-05/0.2962, allocations: 39.86 kB / 1.055 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.2976, allocations: 135.7 kB / 1.056 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.2978, allocations: 71.98 kB / 1.056 GB, free: 10.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00219/0.3, allocations: 0.978 MB / 1.057 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.3004, allocations: 106.7 kB / 1.057 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.3034, allocations: 1.245 MB / 1.058 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.3034, allocations: 11.95 kB / 1.058 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.051e-06/0.3035, allocations: 0 / 1.058 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.3035, allocations: 7.984 kB / 1.058 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007926/0.3114, allocations: 3.69 MB / 1.062 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.3115, allocations: 4 kB / 1.062 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.3123, allocations: 159.8 kB / 1.062 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.3128, allocations: 139.7 kB / 1.062 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.3129, allocations: 20 kB / 1.062 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.3129, allocations: 11.88 kB / 1.062 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.746e-06/0.313, allocations: 7.984 kB / 1.062 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/0.3158, allocations: 1.592 MB / 1.063 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.3167, allocations: 287.8 kB / 1.064 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.3169, allocations: 19.98 kB / 1.064 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.3182, allocations: 79.86 kB / 1.064 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.3185, allocations: 52.48 kB / 1.064 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.3186, allocations: 20 kB / 1.064 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001547/0.3202, allocations: 0.6913 MB / 1.065 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.03e-06/0.3202, allocations: 0 / 1.065 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002033/0.3223, allocations: 388 kB / 1.065 GB, free: 1.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.3225, allocations: 135 kB / 1.065 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.6091/0.9317, allocations: 1.709 MB / 1.067 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.779e-06/0.9317, allocations: 0.75 kB / 1.067 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.9333, allocations: 0.8653 MB / 1.068 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.935, allocations: 238.7 kB / 1.068 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00847/0.9435, allocations: 4.615 MB / 1.072 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/0.9464, allocations: 1.961 MB / 1.074 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002233/0.9487, allocations: 460.5 kB / 1.075 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.9493, allocations: 81.88 kB / 1.075 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of SimCode: time 2.004e-06/0.9493, allocations: 0 / 1.075 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of Templates: time 0.05385/1.003, allocations: 12.33 MB / 1.087 GB, free: 81.5 MB / 0.6823 GB