Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") 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.355 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.001455/0.001455, allocations: 188.3 kB / 371.4 MB, free: 10.66 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 1.995/1.995, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001045/0.001045, allocations: 96.3 kB / 0.7434 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 11.22 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006532/0.1609, allocations: 5.776 MB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.1656, allocations: 2.922 MB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.1662, allocations: 27.81 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.1666, allocations: 123.1 kB / 0.9874 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.1678, allocations: 414.7 kB / 0.9878 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1689, allocations: 342.4 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.17, allocations: 0.7389 MB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.1719, allocations: 0.9249 MB / 0.9897 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.1725, allocations: 354.7 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.173, allocations: 394.5 kB / 0.9905 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-05/0.1731, allocations: 39.94 kB / 0.9905 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.1736, allocations: 147.8 kB / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.1738, allocations: 247.3 kB / 0.9909 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.174, allocations: 181.2 kB / 0.991 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008358/0.1748, allocations: 0.869 MB / 0.9919 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.601e-06/0.1748, allocations: 0 / 0.9919 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.286e-06/0.1749, allocations: 0 / 0.9919 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.1749, allocations: 0 / 0.9919 GB, free: 14.64 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00161/0.1765, allocations: 1.009 MB / 0.9929 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1765, allocations: 8.031 kB / 0.9929 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.1781, allocations: 226.6 kB / 0.9931 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009092/0.1791, allocations: 0.5327 MB / 0.9936 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.1791, allocations: 49.3 kB / 0.9937 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1793, allocations: 63.98 kB / 0.9937 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.181, allocations: 1.073 MB / 0.9948 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.181, allocations: 4 kB / 0.9948 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.1811, allocations: 31.98 kB / 0.9948 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/0.1813, allocations: 89.19 kB / 0.9949 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1827, allocations: 0.7464 MB / 0.9956 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005597/0.1883, allocations: 5.897 MB / 1.001 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.1895, allocations: 0.5563 MB / 1.002 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.1896, allocations: 4.438 kB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1896, allocations: 46.98 kB / 1.002 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 4.118e-06/0.1896, allocations: 0 / 1.002 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.004422/0.1941, allocations: 1.98 MB / 1.004 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1941, allocations: 55.84 kB / 1.004 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.1949, allocations: 0.5625 MB / 1.005 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.195, allocations: 37.7 kB / 1.005 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.1952, allocations: 414.9 kB / 1.005 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.1953, allocations: 173.6 kB / 1.005 GB, free: 328 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.1954, allocations: 8 kB / 1.005 GB, free: 320 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1955, allocations: 374.8 kB / 1.005 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.1962, allocations: 273.8 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007885/0.197, allocations: 0.4892 MB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.1977, allocations: 338 kB / 1.007 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.1977, allocations: 7.984 kB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002643/0.2004, allocations: 1.079 MB / 1.008 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.2004, allocations: 8 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.2005, allocations: 8 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.2016, allocations: 275.7 kB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.2023, allocations: 127.8 kB / 1.008 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008904/0.2112, allocations: 6.701 MB / 1.015 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.212, allocations: 40.03 kB / 1.015 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.2121, allocations: 32 kB / 1.015 GB, free: 5.926 MB / 0.6355 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004907/0.2126, allocations: 245.6 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.2128, allocations: 79.28 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.2149, allocations: 0.8925 MB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.215, allocations: 7.984 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.461e-06/0.215, allocations: 4 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.215, allocations: 3.984 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.2187, allocations: 1.72 MB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.777e-06/0.2187, allocations: 192 / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.2191, allocations: 71.84 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.2202, allocations: 259.7 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.2203, allocations: 12 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009702/0.23, allocations: 6.689 MB / 1.024 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.23, allocations: 7.969 kB / 1.024 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.2323, allocations: 1.048 MB / 1.025 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.2328, allocations: 200.2 kB / 1.026 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.2329, allocations: 8 kB / 1.026 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.2334, allocations: 31.92 kB / 1.026 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.2336, allocations: 47.88 kB / 1.026 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.2336, allocations: 12 kB / 1.026 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006149/0.2343, allocations: 383.1 kB / 1.026 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.48e-07/0.2343, allocations: 0 / 1.026 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00106/0.2354, allocations: 228 kB / 1.026 GB, free: 9.234 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002144/0.2356, allocations: 120.6 kB / 1.026 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.2382, allocations: 1.26 MB / 1.028 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.131e-06/0.2382, allocations: 4.125 kB / 1.028 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.24, allocations: 0.9051 MB / 1.028 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2412, allocations: 196.1 kB / 1.029 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.2442, allocations: 1.578 MB / 1.03 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/0.2451, allocations: 1.028 MB / 1.031 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006589/0.2458, allocations: 122 kB / 1.031 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.246, allocations: 39.44 kB / 1.031 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of SimCode: time 3.756e-06/0.246, allocations: 0 / 1.031 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of Templates: time 0.02635/0.2724, allocations: 10.28 MB / 1.041 GB, free: 9.648 MB / 0.6667 GB