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.301/2.301, allocations: 253.1 MB / 260.6 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 179 kB / 319.9 MB, free: 3.105 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.083/2.083, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.002928/0.002927, allocations: 85.38 kB / 0.6751 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.276e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.23, allocations: 203.3 MB / 1.087 GB, free: 1.316 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/1.23, allocations: 98.5 kB / 1.087 GB, free: 1.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3972/1.628, allocations: 84.84 MB / 1.17 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.953e-06/1.628, allocations: 0 / 1.17 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001739/1.628, allocations: 43.92 kB / 1.17 GB, free: 4.832 MB / 0.7761 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.005554/1.633, allocations: 1.622 MB / 1.172 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.634, allocations: 12.03 kB / 1.172 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02159/1.655, allocations: 1.952 MB / 1.174 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00891/1.664, allocations: 2.067 MB / 1.176 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/1.664, allocations: 36 kB / 1.176 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005662/1.665, allocations: 64 kB / 1.176 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005388/1.67, allocations: 1.649 MB / 1.177 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006537/1.677, allocations: 2.053 MB / 1.179 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.657e-05/1.677, allocations: 15.62 kB / 1.179 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/1.677, allocations: 8 kB / 1.179 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/1.677, allocations: 90.28 kB / 1.18 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/1.709, allocations: 10.44 MB / 1.19 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/1.715, allocations: 1.475 MB / 1.191 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/1.717, allocations: 0.8666 MB / 1.192 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/1.717, allocations: 16.64 kB / 1.192 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/1.717, allocations: 51.28 kB / 1.192 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.597e-06/1.717, allocations: 0 / 1.192 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.03181/1.749, allocations: 6.903 MB / 1.199 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.749, allocations: 230.9 kB / 1.199 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/1.751, allocations: 0.8052 MB / 1.2 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004183/1.751, allocations: 25.7 kB / 1.2 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008487/1.752, allocations: 0.7464 MB / 1.201 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000874/1.753, allocations: 0.4926 MB / 1.201 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/1.753, allocations: 7.938 kB / 1.201 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.754, allocations: 365.9 kB / 1.201 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/1.756, allocations: 1.089 MB / 1.203 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/1.76, allocations: 1.368 MB / 1.204 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/1.763, allocations: 1.264 MB / 1.205 GB, free: 15.98 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/1.764, allocations: 4 kB / 1.205 GB, free: 15.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02169/1.785, allocations: 4.446 MB / 1.209 GB, free: 11.49 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/1.785, allocations: 9.406 kB / 1.209 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/1.785, allocations: 4 kB / 1.209 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02581/1.811, allocations: 2.08 MB / 1.211 GB, free: 9.379 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00598/1.817, allocations: 419.3 kB / 1.212 GB, free: 8.969 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07331/1.891, allocations: 21.74 MB / 1.233 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007498/1.898, allocations: 299.5 kB / 1.233 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006666/1.899, allocations: 71.91 kB / 1.233 GB, free: 1.945 MB / 0.8386 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 () * 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.000806/1.9, allocations: 120.8 kB / 1.234 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.901, allocations: 166.1 kB / 1.234 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03007/1.931, allocations: 4.515 MB / 1.238 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-05/1.931, allocations: 20 kB / 1.238 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.029e-05/1.931, allocations: 19.95 kB / 1.238 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.593e-05/1.931, allocations: 11.97 kB / 1.238 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04187/1.973, allocations: 6.552 MB / 1.245 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.973, allocations: 4 kB / 1.245 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004403/1.978, allocations: 367.7 kB / 1.245 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0188/1.997, allocations: 1.947 MB / 1.247 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003167/1.997, allocations: 19.97 kB / 1.247 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6569/2.654, allocations: 20.89 MB / 1.267 GB, free: 259 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/2.654, allocations: 6.188 kB / 1.267 GB, free: 259 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02771/2.682, allocations: 4.303 MB / 1.271 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/2.685, allocations: 0.4918 MB / 1.272 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000848/2.686, allocations: 12.77 kB / 1.272 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007047/2.693, allocations: 301.3 kB / 1.272 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/2.694, allocations: 149.4 kB / 1.272 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004597/2.694, allocations: 53.09 kB / 1.272 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002246/2.697, allocations: 0.6072 MB / 1.273 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.663e-06/2.697, allocations: 2.625 kB / 1.273 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005909/2.703, allocations: 0.6274 MB / 1.274 GB, free: 258.4 MB / 0.8698 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 () * 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.001224/2.704, allocations: 190 kB / 1.274 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01897/2.723, allocations: 4.178 MB / 1.278 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/2.723, allocations: 1.344 kB / 1.278 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/2.736, allocations: 2.815 MB / 1.281 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/2.742, allocations: 433.5 kB / 1.281 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/2.753, allocations: 3.101 MB / 1.284 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/2.755, allocations: 1.602 MB / 1.286 GB, free: 255 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003146/2.759, allocations: 386.3 kB / 1.286 GB, free: 255 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/2.759, allocations: 109.2 kB / 1.286 GB, free: 255 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/2.759, allocations: 2.312 kB / 1.286 GB, free: 255 MB / 0.8698 GB Notification: Performance of Templates: time 0.1261/2.885, allocations: 40.84 MB / 1.326 GB, free: 253.4 MB / 0.8698 GB