Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.652/2.652, allocations: 287.9 MB / 302.9 MB, free: 8.258 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.001422/0.001422, allocations: 181.1 kB / 371.4 MB, free: 10.67 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.077/2.077, 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.001048/0.001048, allocations: 91.91 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004635, allocations: 16.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01499/0.1757, allocations: 12.48 MB / 0.9909 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.1905, allocations: 9.427 MB / 1 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.192, allocations: 51.62 kB / 1 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.1927, allocations: 266.2 kB / 1 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.1977, allocations: 1.459 MB / 1.002 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1996, allocations: 0.5276 MB / 1.002 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.2027, allocations: 1.747 MB / 1.004 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/0.2064, allocations: 1.813 MB / 1.006 GB, free: 328 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.2088, allocations: 1.196 MB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.2106, allocations: 0.8444 MB / 1.008 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.2109, allocations: 68 kB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.2122, allocations: 395.4 kB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006232/0.2128, allocations: 462.6 kB / 1.009 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.2135, allocations: 356.7 kB / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.2169, allocations: 2.077 MB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.581e-06/0.217, allocations: 0 / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.217, allocations: 4 kB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.25e-05/0.217, allocations: 0 / 1.011 GB, free: 10.93 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004404/0.2214, allocations: 1.843 MB / 1.013 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2215, allocations: 12.02 kB / 1.013 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.2355, allocations: 2.193 MB / 1.015 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.2387, allocations: 1.159 MB / 1.016 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.2388, allocations: 86.31 kB / 1.016 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.2392, allocations: 120 kB / 1.016 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007765/0.247, allocations: 2.674 MB / 1.019 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.247, allocations: 4 kB / 1.019 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.2473, allocations: 63.91 kB / 1.019 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000767/0.2481, allocations: 190.1 kB / 1.019 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009998/0.2581, allocations: 2.834 MB / 1.022 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.2785, allocations: 10.56 MB / 1.032 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008346/0.2869, allocations: 2.391 MB / 1.035 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.287, allocations: 9 kB / 1.035 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.2871, allocations: 43.5 kB / 1.035 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 4.473e-06/0.2871, allocations: 0 / 1.035 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.08183/0.3689, allocations: 16.5 MB / 1.051 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.369, allocations: 64.72 kB / 1.051 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.3713, allocations: 1.16 MB / 1.052 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003025/0.3716, allocations: 49.7 kB / 1.052 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007911/0.3724, allocations: 0.7397 MB / 1.053 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007745/0.3732, allocations: 0.516 MB / 1.053 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.3734, allocations: 28 kB / 1.053 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.3737, allocations: 369.9 kB / 1.054 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004841/0.3785, allocations: 1.522 MB / 1.055 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005149/0.3837, allocations: 1.788 MB / 1.057 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005051/0.3888, allocations: 1.646 MB / 1.059 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.3889, allocations: 4 kB / 1.059 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01789/0.4068, allocations: 5.296 MB / 1.064 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.4068, allocations: 8 kB / 1.064 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.4069, allocations: 4 kB / 1.064 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009455/0.4163, allocations: 1.9 MB / 1.066 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/0.4191, allocations: 427.3 kB / 1.066 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.669/1.088, allocations: 22.84 MB / 1.088 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.091, allocations: 320.3 kB / 1.089 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/1.092, allocations: 67.81 kB / 1.089 GB, free: 70.56 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001144/1.093, allocations: 472.4 kB / 1.089 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/1.093, allocations: 173.7 kB / 1.089 GB, free: 70.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/1.111, allocations: 5.339 MB / 1.094 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/1.111, allocations: 14.31 kB / 1.094 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.568e-05/1.111, allocations: 23.42 kB / 1.095 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/1.111, allocations: 8.203 kB / 1.095 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/1.134, allocations: 7.454 MB / 1.102 GB, free: 65.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.134, allocations: 7.125 kB / 1.102 GB, free: 65.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/1.136, allocations: 356.7 kB / 1.102 GB, free: 65.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007916/1.144, allocations: 1.706 MB / 1.104 GB, free: 65.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/1.144, allocations: 43.84 kB / 1.104 GB, free: 65.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0327/1.177, allocations: 22.06 MB / 1.125 GB, free: 49.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.551e-06/1.177, allocations: 3.094 kB / 1.125 GB, free: 49.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/1.192, allocations: 5.066 MB / 1.13 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.193, allocations: 494.4 kB / 1.131 GB, free: 45.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/1.194, allocations: 36.45 kB / 1.131 GB, free: 45.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.197, allocations: 327.7 kB / 1.131 GB, free: 45.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/1.197, allocations: 154.5 kB / 1.131 GB, free: 45.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.197, allocations: 54.75 kB / 1.131 GB, free: 45.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001474/1.199, allocations: 0.7775 MB / 1.132 GB, free: 44.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.66e-07/1.199, allocations: 0 / 1.132 GB, free: 44.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003071/1.202, allocations: 0.6544 MB / 1.133 GB, free: 44.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004304/1.203, allocations: 144.6 kB / 1.133 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01889/1.221, allocations: 5.188 MB / 1.138 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/1.222, allocations: 3.812 kB / 1.138 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01511/1.237, allocations: 3.367 MB / 1.141 GB, free: 39.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.239, allocations: 0.492 MB / 1.142 GB, free: 38.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.25, allocations: 4.866 MB / 1.146 GB, free: 33.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.252, allocations: 1.603 MB / 1.148 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002172/1.254, allocations: 386.4 kB / 1.148 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/1.255, allocations: 103.4 kB / 1.149 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of SimCode: time 2.154e-06/1.255, allocations: 0 / 1.149 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.08248/1.337, allocations: 41.42 MB / 1.189 GB, free: 6.527 MB / 0.698 GB