Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, 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.001595/0.001595, allocations: 186.2 kB / 325.6 MB, free: 2.852 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.444/2.444, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.00121/0.00121, allocations: 98.28 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004662, allocations: 12.19 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.252, allocations: 203.1 MB / 1.097 GB, free: 54.24 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/1.252, allocations: 100.5 kB / 1.097 GB, free: 54.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3718/1.624, allocations: 85.74 MB / 1.181 GB, free: 22.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.471e-06/1.624, allocations: 4 kB / 1.181 GB, free: 22.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002809/1.625, allocations: 43.88 kB / 1.181 GB, free: 22.84 MB / 0.698 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.00925/1.634, allocations: 1.856 MB / 1.183 GB, free: 21.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/1.634, allocations: 12.03 kB / 1.183 GB, free: 21.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03064/1.665, allocations: 1.967 MB / 1.185 GB, free: 19.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.676, allocations: 2.08 MB / 1.187 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/1.677, allocations: 89.3 kB / 1.187 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00091/1.678, allocations: 123.1 kB / 1.187 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/1.692, allocations: 2.722 MB / 1.19 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.475e-05/1.692, allocations: 4 kB / 1.19 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004516/1.692, allocations: 64.22 kB / 1.19 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/1.692, allocations: 85.84 kB / 1.19 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02097/1.713, allocations: 2.84 MB / 1.193 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03661/1.75, allocations: 10.74 MB / 1.203 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.765, allocations: 2.385 MB / 1.206 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/1.765, allocations: 16.95 kB / 1.206 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.765, allocations: 47 kB / 1.206 GB, free: 1.168 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 4.067e-06/1.765, allocations: 0 / 1.206 GB, free: 1.168 MB / 0.698 GB Notification: Performance of matching and sorting (n=153): time 0.1411/1.906, allocations: 17.33 MB / 1.222 GB, free: 240 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/1.907, allocations: 226.9 kB / 1.223 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/1.911, allocations: 1.016 MB / 1.224 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006254/1.911, allocations: 53.7 kB / 1.224 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.913, allocations: 0.7283 MB / 1.224 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.914, allocations: 0.5141 MB / 1.225 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/1.915, allocations: 32 kB / 1.225 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002838/1.915, allocations: 361.9 kB / 1.225 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01114/1.926, allocations: 1.538 MB / 1.227 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/1.938, allocations: 1.828 MB / 1.229 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.95, allocations: 1.673 MB / 1.23 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.95, allocations: 0 / 1.23 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03642/1.986, allocations: 5.401 MB / 1.236 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.987, allocations: 6.781 kB / 1.236 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/1.987, allocations: 8 kB / 1.236 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/2.003, allocations: 2.138 MB / 1.238 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/2.007, allocations: 415.3 kB / 1.238 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05199/2.059, allocations: 23.3 MB / 1.261 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/2.064, allocations: 327.5 kB / 1.261 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005484/2.064, allocations: 67.92 kB / 1.261 GB, free: 7.348 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001826/2.066, allocations: 465.4 kB / 1.262 GB, free: 6.883 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009311/2.067, allocations: 181.9 kB / 1.262 GB, free: 6.703 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02861/2.096, allocations: 5.468 MB / 1.267 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/2.096, allocations: 16 kB / 1.267 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.477e-05/2.096, allocations: 20 kB / 1.267 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/2.096, allocations: 7.969 kB / 1.267 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03516/2.131, allocations: 7.686 MB / 1.275 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/2.131, allocations: 4 kB / 1.275 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003474/2.135, allocations: 359.7 kB / 1.275 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/2.15, allocations: 2 MB / 1.277 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004286/2.15, allocations: 39.97 kB / 1.277 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04823/2.199, allocations: 22.49 MB / 1.299 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.199, allocations: 4 kB / 1.299 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/2.224, allocations: 5.234 MB / 1.304 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/2.226, allocations: 0.5066 MB / 1.305 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/2.227, allocations: 35.95 kB / 1.305 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004716/2.232, allocations: 331.5 kB / 1.305 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008638/2.233, allocations: 145 kB / 1.305 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003028/2.233, allocations: 51.97 kB / 1.305 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001903/2.235, allocations: 0.7977 MB / 1.306 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.21e-07/2.235, allocations: 0 / 1.306 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003983/2.239, allocations: 0.7186 MB / 1.307 GB, free: 7.402 MB / 0.8073 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,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/2.24, allocations: 227.8 kB / 1.307 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02432/2.264, allocations: 5.201 MB / 1.312 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/2.264, allocations: 4 kB / 1.312 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/2.278, allocations: 3.39 MB / 1.315 GB, free: 14.37 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/2.282, allocations: 0.5018 MB / 1.316 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/2.299, allocations: 4.873 MB / 1.32 GB, free: 8.953 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/2.301, allocations: 1.6 MB / 1.322 GB, free: 7.316 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003119/2.304, allocations: 414.6 kB / 1.322 GB, free: 6.906 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/2.305, allocations: 115.4 kB / 1.323 GB, free: 6.793 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/2.305, allocations: 0 / 1.323 GB, free: 6.793 MB / 0.823 GB Notification: Performance of Templates: time 0.1222/2.427, allocations: 44.24 MB / 1.366 GB, free: 10.93 MB / 0.8698 GB