Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.383/2.383, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 181.2 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 103 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006973/0.0006974, allocations: 11.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2815, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04015/0.3217, allocations: 28.78 MB / 0.927 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02762/0.3494, allocations: 13.81 MB / 0.9405 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003818/0.3533, allocations: 123.2 kB / 0.9406 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.3568, allocations: 0.6987 MB / 0.9413 GB, free: 21.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009563/0.3664, allocations: 2.272 MB / 0.9435 GB, free: 19.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006341/0.3728, allocations: 1.41 MB / 0.9449 GB, free: 18.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.3829, allocations: 4.557 MB / 0.9493 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02072/0.4037, allocations: 9.823 MB / 0.9589 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006364/0.4101, allocations: 2.605 MB / 0.9615 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006055/0.4162, allocations: 2.429 MB / 0.9638 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001973/0.4182, allocations: 292 kB / 0.9641 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.4228, allocations: 0.6945 MB / 0.9648 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004666/0.4276, allocations: 2.089 MB / 0.9668 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.4311, allocations: 1.128 MB / 0.9679 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01612/0.4473, allocations: 9.027 MB / 0.9768 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4474, allocations: 4 kB / 0.9768 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.753e-06/0.4474, allocations: 4 kB / 0.9768 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003993/0.4478, allocations: 0 / 0.9768 GB, free: 1.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01819/0.466, allocations: 4.858 MB / 0.9815 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4661, allocations: 8.031 kB / 0.9815 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.4768, allocations: 1.125 MB / 0.9826 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.4888, allocations: 3.228 MB / 0.9858 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005832/0.4894, allocations: 374 kB / 0.9861 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002351/0.4918, allocations: 499.8 kB / 0.9866 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/0.5189, allocations: 7.923 MB / 0.9943 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.5192, allocations: 31.77 kB / 0.9944 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/0.5211, allocations: 212 kB / 0.9946 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001989/0.5232, allocations: 437.6 kB / 0.995 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.5434, allocations: 6.053 MB / 1.001 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06628/0.6098, allocations: 35.2 MB / 1.035 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005219/0.615, allocations: 2.015 MB / 1.037 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.6154, allocations: 21.98 kB / 1.037 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.91e-05/0.6154, allocations: 68.39 kB / 1.037 GB, free: 15.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 4.468e-06/0.6155, allocations: 0 / 1.037 GB, free: 15.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 1.015/1.63, allocations: 38.98 MB / 1.075 GB, free: 135.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/1.631, allocations: 81.02 kB / 1.075 GB, free: 135.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/1.636, allocations: 2.255 MB / 1.078 GB, free: 135 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006412/1.636, allocations: 72.23 kB / 1.078 GB, free: 135 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002348/1.639, allocations: 2.275 MB / 1.08 GB, free: 133.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/1.64, allocations: 0.9288 MB / 1.081 GB, free: 133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/1.641, allocations: 60.34 kB / 1.081 GB, free: 133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002188/1.641, allocations: 426.8 kB / 1.081 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005082/1.646, allocations: 1.965 MB / 1.083 GB, free: 131.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005356/1.651, allocations: 2.573 MB / 1.086 GB, free: 129.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005598/1.657, allocations: 2.383 MB / 1.088 GB, free: 128.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/1.657, allocations: 7.734 kB / 1.088 GB, free: 128.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0255/1.683, allocations: 7.714 MB / 1.096 GB, free: 122.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/1.683, allocations: 12 kB / 1.096 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/1.683, allocations: 20.86 kB / 1.096 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02715/1.71, allocations: 3.212 MB / 1.099 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/1.715, allocations: 400.6 kB / 1.099 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09009/1.805, allocations: 32.34 MB / 1.131 GB, free: 85.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/1.81, allocations: 164.7 kB / 1.131 GB, free: 85.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006888/1.811, allocations: 112 kB / 1.131 GB, free: 85.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004763/1.816, allocations: 1.793 MB / 1.133 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.817, allocations: 336.7 kB / 1.133 GB, free: 83.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02429/1.841, allocations: 7.33 MB / 1.14 GB, free: 75.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/1.841, allocations: 24 kB / 1.14 GB, free: 75.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001182/1.841, allocations: 33.09 kB / 1.14 GB, free: 75.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.726e-05/1.841, allocations: 15.94 kB / 1.14 GB, free: 75.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03703/1.879, allocations: 12.9 MB / 1.153 GB, free: 62.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/1.879, allocations: 12.47 kB / 1.153 GB, free: 62.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/1.88, allocations: 229 kB / 1.153 GB, free: 62.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01417/1.895, allocations: 2.854 MB / 1.156 GB, free: 59.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005222/1.895, allocations: 56.73 kB / 1.156 GB, free: 59.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06221/1.957, allocations: 31.18 MB / 1.186 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.957, allocations: 11.94 kB / 1.186 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/1.978, allocations: 7.416 MB / 1.194 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.98, allocations: 0.7864 MB / 1.194 GB, free: 19.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009543/1.981, allocations: 52 kB / 1.195 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/1.985, allocations: 175.8 kB / 1.195 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/1.986, allocations: 253.5 kB / 1.195 GB, free: 18.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/1.987, allocations: 76 kB / 1.195 GB, free: 18.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003054/1.99, allocations: 1.509 MB / 1.196 GB, free: 16.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.99, allocations: 0 / 1.196 GB, free: 16.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006035/1.996, allocations: 1.352 MB / 1.198 GB, free: 15.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007082/1.996, allocations: 179 kB / 1.198 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01805/2.014, allocations: 6.902 MB / 1.205 GB, free: 8.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.015, allocations: 4.875 kB / 1.205 GB, free: 8.438 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01252/2.027, allocations: 4.405 MB / 1.209 GB, free: 3.949 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007366/2.034, allocations: 0.9913 MB / 1.21 GB, free: 2.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/2.064, allocations: 11.95 MB / 1.222 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008048/2.072, allocations: 3.743 MB / 1.225 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00385/2.076, allocations: 0.5595 MB / 1.226 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/2.077, allocations: 155.4 kB / 1.226 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/2.077, allocations: 0 / 1.226 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.1972/2.274, allocations: 71.56 MB / 1.296 GB, free: 11.61 MB / 0.7917 GB