Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.589/2.589, allocations: 287.9 MB / 302.9 MB, free: 8.359 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.001418/0.001418, allocations: 177.1 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.058/2.058, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001034/0.001033, allocations: 96.72 kB / 0.7434 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.000465, allocations: 12.38 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1924, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01189/0.2043, allocations: 10.42 MB / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008302/0.2127, allocations: 5.158 MB / 0.994 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.2137, allocations: 27.88 kB / 0.994 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.2148, allocations: 322.2 kB / 0.9943 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.2167, allocations: 0.553 MB / 0.9949 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.2189, allocations: 0.5998 MB / 0.9954 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001889/0.2208, allocations: 1.197 MB / 0.9966 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005924/0.2267, allocations: 3.855 MB / 1 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.2278, allocations: 0.6425 MB / 1.001 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.2289, allocations: 0.7359 MB / 1.002 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.2291, allocations: 104 kB / 1.002 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009512/0.2301, allocations: 323.6 kB / 1.002 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006077/0.2307, allocations: 0.6782 MB / 1.003 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.2311, allocations: 364.9 kB / 1.003 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.2342, allocations: 3.249 MB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.307e-06/0.2343, allocations: 0 / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.861e-06/0.2343, allocations: 0 / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.701e-05/0.2344, allocations: 0 / 1.006 GB, free: 15.86 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004498/0.2389, allocations: 1.765 MB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2389, allocations: 12.02 kB / 1.008 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/0.2433, allocations: 0.7743 MB / 1.009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.2466, allocations: 1.227 MB / 1.01 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.2468, allocations: 123.2 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005067/0.2473, allocations: 152 kB / 1.01 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007887/0.2552, allocations: 2.94 MB / 1.013 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-05/0.2553, allocations: 3.984 kB / 1.013 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/0.2557, allocations: 67.98 kB / 1.013 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006741/0.2564, allocations: 203 kB / 1.013 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006087/0.2625, allocations: 2.507 MB / 1.016 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.2815, allocations: 10.89 MB / 1.026 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.2833, allocations: 0.9137 MB / 1.027 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.2835, allocations: 97.47 kB / 1.027 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.2836, allocations: 42.88 kB / 1.028 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.364e-06/0.2836, allocations: 0 / 1.028 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.03479/0.3184, allocations: 8.963 MB / 1.036 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.3185, allocations: 85.61 kB / 1.036 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.3203, allocations: 0.9492 MB / 1.037 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3205, allocations: 37.7 kB / 1.037 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007412/0.3213, allocations: 0.7697 MB / 1.038 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.3216, allocations: 248.5 kB / 1.038 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3217, allocations: 24 kB / 1.038 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002716/0.322, allocations: 394.7 kB / 1.039 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.3238, allocations: 0.795 MB / 1.039 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.3259, allocations: 1.156 MB / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.328, allocations: 0.9946 MB / 1.042 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.328, allocations: 4 kB / 1.042 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01284/0.3409, allocations: 3.787 MB / 1.045 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002395/0.3433, allocations: 4.269 MB / 1.049 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/0.3434, allocations: 12 kB / 1.049 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01927/0.3627, allocations: 2.157 MB / 1.052 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.364, allocations: 231.6 kB / 1.052 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/0.3872, allocations: 10.66 MB / 1.062 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.389, allocations: 203.7 kB / 1.062 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.3892, allocations: 47.98 kB / 1.062 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3892, allocations: 5.094 kB / 1.062 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01012/0.3993, allocations: 3.072 MB / 1.065 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.435e-05/0.3994, allocations: 16.03 kB / 1.065 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5921/0.9915, allocations: 1.354 MB / 1.067 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.9932, allocations: 291.5 kB / 1.067 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/1.008, allocations: 6.377 MB / 1.073 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.01, allocations: 171.9 kB / 1.073 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.01, allocations: 47 kB / 1.073 GB, free: 80.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001684/1.012, allocations: 0.8962 MB / 1.074 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/1.012, allocations: 86.78 kB / 1.074 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.024, allocations: 3.329 MB / 1.078 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.025, allocations: 6.406 kB / 1.078 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.025, allocations: 4.719 kB / 1.078 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/1.025, allocations: 11.05 kB / 1.078 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.041, allocations: 5.483 MB / 1.083 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.041, allocations: 2.75 kB / 1.083 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/1.041, allocations: 113.2 kB / 1.083 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009759/1.051, allocations: 1.976 MB / 1.085 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/1.051, allocations: 18.31 kB / 1.085 GB, free: 77.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/1.07, allocations: 10.05 MB / 1.095 GB, free: 72.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.038e-06/1.07, allocations: 9.312 kB / 1.095 GB, free: 72.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.081, allocations: 3.291 MB / 1.098 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007789/1.081, allocations: 337.3 kB / 1.098 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.082, allocations: 18 kB / 1.099 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.083, allocations: 149.7 kB / 1.099 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.083, allocations: 69.61 kB / 1.099 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/1.083, allocations: 19.72 kB / 1.099 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001116/1.085, allocations: 0.6694 MB / 1.099 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.89e-07/1.085, allocations: 0 / 1.099 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002924/1.087, allocations: 0.6796 MB / 1.1 GB, free: 70.37 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/1.088, allocations: 131.5 kB / 1.1 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009246/1.097, allocations: 3.926 MB / 1.104 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.106e-06/1.097, allocations: 0 / 1.104 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.1, allocations: 1.305 MB / 1.105 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/1.101, allocations: 236.7 kB / 1.106 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/1.109, allocations: 4.083 MB / 1.109 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.111, allocations: 1.752 MB / 1.111 GB, free: 63.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001867/1.112, allocations: 0.5126 MB / 1.112 GB, free: 63.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/1.113, allocations: 58.95 kB / 1.112 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.582e-06/1.113, allocations: 0 / 1.112 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of Templates: time 0.05542/1.168, allocations: 29.41 MB / 1.14 GB, free: 39.75 MB / 0.6823 GB