Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.71/2.71, allocations: 287.9 MB / 302.9 MB, free: 8.227 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.001419/0.001419, allocations: 177 kB / 371.4 MB, free: 10.65 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.027/2.027, allocations: 205.4 MB / 0.6301 GB, free: 10.37 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.001088/0.001087, allocations: 93.86 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004636, allocations: 11.28 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, 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): time 0.0139/0.1701, allocations: 11.88 MB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.1878, allocations: 8.652 MB / 0.9988 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.1901, allocations: 47.62 kB / 0.9989 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.1915, allocations: 250.3 kB / 0.9991 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007351/0.1988, allocations: 1.258 MB / 1 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.2022, allocations: 0.5199 MB / 1.001 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004543/0.2067, allocations: 1.518 MB / 1.002 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006188/0.213, allocations: 1.797 MB / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.2154, allocations: 0.7668 MB / 1.005 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.2179, allocations: 0.8445 MB / 1.006 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000427/0.2184, allocations: 72 kB / 1.006 GB, free: 464 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2199, allocations: 387.5 kB / 1.006 GB, free: 76 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.2206, allocations: 470.6 kB / 1.007 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.2212, allocations: 348.8 kB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.2244, allocations: 2.077 MB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.821e-06/0.2244, allocations: 0 / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.219e-06/0.2245, allocations: 0 / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.2245, allocations: 0 / 1.009 GB, free: 13.18 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.004315/0.2288, allocations: 1.82 MB / 1.011 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2289, allocations: 8.031 kB / 1.011 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.2436, allocations: 2.162 MB / 1.013 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.2468, allocations: 1.15 MB / 1.014 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.247, allocations: 94.28 kB / 1.014 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004292/0.2474, allocations: 120 kB / 1.014 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007846/0.2553, allocations: 2.686 MB / 1.017 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.804e-05/0.2554, allocations: 15.84 kB / 1.017 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.2556, allocations: 55.92 kB / 1.017 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007578/0.2564, allocations: 182.1 kB / 1.017 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.2667, allocations: 2.834 MB / 1.02 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.287, allocations: 10.57 MB / 1.03 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008579/0.2956, allocations: 2.574 MB / 1.033 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2958, allocations: 16.98 kB / 1.033 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.2959, allocations: 43.56 kB / 1.033 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 4.523e-06/0.2959, allocations: 0 / 1.033 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.0561/0.352, allocations: 13.42 MB / 1.046 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3521, allocations: 68.72 kB / 1.046 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.3541, allocations: 1.105 MB / 1.047 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002693/0.3544, allocations: 49.7 kB / 1.047 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007429/0.3552, allocations: 0.7194 MB / 1.048 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006425/0.3558, allocations: 453.4 kB / 1.048 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.356, allocations: 28 kB / 1.048 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3562, allocations: 353.9 kB / 1.048 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004407/0.3606, allocations: 1.35 MB / 1.05 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.3654, allocations: 1.616 MB / 1.051 GB, free: 424 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004624/0.37, allocations: 1.454 MB / 1.053 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.3701, allocations: 11.95 kB / 1.053 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01514/0.3852, allocations: 4.459 MB / 1.057 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.3853, allocations: 8 kB / 1.057 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.3854, allocations: 12.09 kB / 1.057 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007098/0.3925, allocations: 1.431 MB / 1.059 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.3951, allocations: 455.2 kB / 1.059 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5968/0.9919, allocations: 24.99 MB / 1.083 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.9953, allocations: 313.4 kB / 1.084 GB, free: 71.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.9956, allocations: 63.08 kB / 1.084 GB, free: 71.48 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001109/0.9967, allocations: 440.3 kB / 1.084 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.9972, allocations: 160 kB / 1.084 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.013, allocations: 4.473 MB / 1.089 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/1.013, allocations: 18.05 kB / 1.089 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.592e-05/1.013, allocations: 15.25 kB / 1.089 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/1.013, allocations: 6.281 kB / 1.089 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/1.033, allocations: 6.811 MB / 1.095 GB, free: 67.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.033, allocations: 3.141 kB / 1.095 GB, free: 67.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.035, allocations: 392.2 kB / 1.096 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006304/1.042, allocations: 1.302 MB / 1.097 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/1.042, allocations: 37.98 kB / 1.097 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03268/1.075, allocations: 23.99 MB / 1.12 GB, free: 46.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.075, allocations: 7.734 kB / 1.12 GB, free: 46.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.089, allocations: 4.377 MB / 1.125 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.09, allocations: 462.6 kB / 1.125 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/1.09, allocations: 24.12 kB / 1.125 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.093, allocations: 319.4 kB / 1.126 GB, free: 44.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/1.093, allocations: 122.1 kB / 1.126 GB, free: 44.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.093, allocations: 47.78 kB / 1.126 GB, free: 44.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001292/1.095, allocations: 0.7428 MB / 1.126 GB, free: 43.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.854e-06/1.095, allocations: 0 / 1.126 GB, free: 43.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002816/1.098, allocations: 0.5773 MB / 1.127 GB, free: 43.65 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003205/1.098, allocations: 140.5 kB / 1.127 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.111, allocations: 5.146 MB / 1.132 GB, free: 40.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.156e-06/1.111, allocations: 5.25 kB / 1.132 GB, free: 40.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008237/1.119, allocations: 3.499 MB / 1.136 GB, free: 37.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/1.122, allocations: 499.1 kB / 1.136 GB, free: 37.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.132, allocations: 4.536 MB / 1.14 GB, free: 34.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.134, allocations: 1.511 MB / 1.142 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002444/1.136, allocations: 423.8 kB / 1.142 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/1.137, allocations: 116.5 kB / 1.142 GB, free: 33.21 MB / 0.6823 GB Notification: Performance of SimCode: time 1.67e-06/1.137, allocations: 4 kB / 1.142 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.07046/1.207, allocations: 36.13 MB / 1.178 GB, free: 15.91 MB / 0.698 GB