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.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 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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.225/2.225, 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.001538/0.001538, allocations: 185.2 kB / 325.6 MB, free: 2.828 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.494/2.494, allocations: 205.4 MB / 0.5766 GB, free: 21.15 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.001138/0.001138, allocations: 95.2 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 12.94 kB / 0.7951 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2414, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.02409/0.2656, allocations: 10.44 MB / 0.9091 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.2814, allocations: 5.162 MB / 0.9141 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.2829, allocations: 27.88 kB / 0.9142 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.2852, allocations: 322.2 kB / 0.9145 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.2887, allocations: 0.5491 MB / 0.915 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.2924, allocations: 0.5976 MB / 0.9156 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.296, allocations: 1.199 MB / 0.9168 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.3062, allocations: 3.856 MB / 0.9205 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.3083, allocations: 0.6347 MB / 0.9211 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.3107, allocations: 0.7398 MB / 0.9219 GB, free: 42.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00066/0.3115, allocations: 104 kB / 0.922 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.3137, allocations: 319.6 kB / 0.9223 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001643/0.3154, allocations: 0.6938 MB / 0.9229 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.3163, allocations: 360.8 kB / 0.9233 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.3222, allocations: 3.246 MB / 0.9265 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3223, allocations: 0 / 0.9265 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.098e-06/0.3223, allocations: 0 / 0.9265 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001135/0.3225, allocations: 0 / 0.9265 GB, free: 37.59 MB / 0.6042 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.007803/0.3303, allocations: 1.769 MB / 0.9282 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.3304, allocations: 8.031 kB / 0.9282 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008195/0.3386, allocations: 0.7666 MB / 0.9289 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006807/0.3454, allocations: 1.227 MB / 0.9301 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.3456, allocations: 115.2 kB / 0.9302 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006811/0.3463, allocations: 167.9 kB / 0.9304 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00864/0.355, allocations: 2.925 MB / 0.9333 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.721e-05/0.3551, allocations: 3.906 kB / 0.9333 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.3555, allocations: 68 kB / 0.9333 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006806/0.3562, allocations: 207 kB / 0.9335 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006771/0.363, allocations: 2.503 MB / 0.936 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.382, allocations: 10.9 MB / 0.9466 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.384, allocations: 0.9198 MB / 0.9475 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.3843, allocations: 93.45 kB / 0.9476 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.3843, allocations: 42.88 kB / 0.9476 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 3.446e-06/0.3843, allocations: 0 / 0.9476 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.04875/0.4331, allocations: 8.961 MB / 0.9564 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4332, allocations: 93.67 kB / 0.9565 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.4349, allocations: 0.9376 MB / 0.9574 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.4351, allocations: 41.64 kB / 0.9574 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.4356, allocations: 0.7698 MB / 0.9582 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.4358, allocations: 248.5 kB / 0.9584 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.436, allocations: 24 kB / 0.9585 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4361, allocations: 394.8 kB / 0.9588 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.438, allocations: 0.7989 MB / 0.9596 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.4401, allocations: 1.156 MB / 0.9607 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.4423, allocations: 0.9907 MB / 0.9617 GB, free: 56 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.4424, allocations: 4 kB / 0.9617 GB, free: 52 kB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01808/0.4604, allocations: 3.791 MB / 0.9654 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001804/0.4623, allocations: 4.269 MB / 0.9696 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/0.4624, allocations: 19.89 kB / 0.9696 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.016/0.4784, allocations: 2.158 MB / 0.9717 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.4801, allocations: 223.6 kB / 0.9719 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02881/0.509, allocations: 10.67 MB / 0.9823 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.5113, allocations: 199.7 kB / 0.9825 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.5115, allocations: 44 kB / 0.9826 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5115, allocations: 4 kB / 0.9826 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01442/0.526, allocations: 3.076 MB / 0.9856 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.35e-05/0.5261, allocations: 12 kB / 0.9856 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01489/0.541, allocations: 1.36 MB / 0.9869 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003236/0.5443, allocations: 287.5 kB / 0.9872 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.5655, allocations: 6.389 MB / 0.9934 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.5676, allocations: 171.8 kB / 0.9936 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.5678, allocations: 48 kB / 0.9936 GB, free: 14.59 MB / 0.6511 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.001921/0.5697, allocations: 0.8986 MB / 0.9945 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.5701, allocations: 94.92 kB / 0.9946 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/0.5862, allocations: 3.32 MB / 0.9979 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.5863, allocations: 8 kB / 0.9979 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5863, allocations: 4 kB / 0.9979 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.5864, allocations: 3.984 kB / 0.9979 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/0.6077, allocations: 5.489 MB / 1.003 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.6077, allocations: 3.953 kB / 1.003 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008902/0.6086, allocations: 112.1 kB / 1.003 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/0.6231, allocations: 1.974 MB / 1.005 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.6233, allocations: 12 kB / 1.005 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02639/0.6497, allocations: 10.06 MB / 1.015 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.6498, allocations: 0 / 1.015 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.6657, allocations: 3.297 MB / 1.018 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.6668, allocations: 340 kB / 1.019 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.6671, allocations: 23.94 kB / 1.019 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.6688, allocations: 151.7 kB / 1.019 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/0.6693, allocations: 68.42 kB / 1.019 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6694, allocations: 23.98 kB / 1.019 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001499/0.6709, allocations: 0.6668 MB / 1.02 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/0.6709, allocations: 0 / 1.02 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003563/0.6745, allocations: 0.6797 MB / 1.02 GB, free: 2.848 MB / 0.6667 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.0003911/0.6749, allocations: 127.2 kB / 1.02 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0137/0.6887, allocations: 3.909 MB / 1.024 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.6887, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/0.6927, allocations: 1.313 MB / 1.025 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.6949, allocations: 235.5 kB / 1.026 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.7058, allocations: 4.067 MB / 1.03 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/0.7086, allocations: 1.75 MB / 1.031 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00256/0.7112, allocations: 0.5226 MB / 1.032 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.7116, allocations: 55.42 kB / 1.032 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/0.7116, allocations: 4 kB / 1.032 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of Templates: time 0.7623/1.474, allocations: 29.38 MB / 1.061 GB, free: 142.1 MB / 0.698 GB