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.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 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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.376/2.376, allocations: 252.6 MB / 265.2 MB, free: 5.738 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.001506/0.001506, allocations: 186.1 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.01081/0.01081, allocations: 102.6 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.003e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1979, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.131, allocations: 164.3 MB / 1.055 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.131, allocations: 97.41 kB / 1.055 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.7649/1.896, allocations: 181.6 MB / 1.233 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.505e-06/1.896, allocations: 0 / 1.233 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006276/1.897, allocations: 128 kB / 1.233 GB, free: 2.707 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.05527/1.952, allocations: 4.151 MB / 1.237 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/1.952, allocations: 8.031 kB / 1.237 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/1.966, allocations: 1.009 MB / 1.238 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/1.982, allocations: 3.214 MB / 1.241 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006111/1.982, allocations: 361.7 kB / 1.241 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/1.985, allocations: 475.9 kB / 1.242 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/2.012, allocations: 7.414 MB / 1.249 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/2.012, allocations: 23.8 kB / 1.249 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002064/2.014, allocations: 227.9 kB / 1.249 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005578/2.015, allocations: 265.2 kB / 1.25 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/2.034, allocations: 5.303 MB / 1.255 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7453/2.78, allocations: 36.26 MB / 1.29 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/2.786, allocations: 2.117 MB / 1.292 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/2.79, allocations: 1.457 MB / 1.294 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/2.79, allocations: 20.55 kB / 1.294 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/2.79, allocations: 50.47 kB / 1.294 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 4.929e-06/2.79, allocations: 0 / 1.294 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.01542/2.806, allocations: 4.973 MB / 1.299 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/2.806, allocations: 67.84 kB / 1.299 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/2.809, allocations: 1.539 MB / 1.3 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004603/2.81, allocations: 56.33 kB / 1.3 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/2.812, allocations: 2.1 MB / 1.302 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/2.813, allocations: 0.5562 MB / 1.303 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/2.813, allocations: 43.34 kB / 1.303 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002096/2.814, allocations: 394.8 kB / 1.303 GB, free: 182 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/2.816, allocations: 0.9931 MB / 1.304 GB, free: 182 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/2.82, allocations: 1.711 MB / 1.306 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/2.824, allocations: 1.295 MB / 1.307 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.096e-05/2.824, allocations: 6.281 kB / 1.307 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01279/2.837, allocations: 3.764 MB / 1.311 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/2.837, allocations: 15.3 kB / 1.311 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/2.837, allocations: 23.53 kB / 1.311 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004601/2.842, allocations: 0.9147 MB / 1.312 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/2.845, allocations: 424.8 kB / 1.312 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/2.873, allocations: 21 MB / 1.333 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/2.876, allocations: 121.5 kB / 1.333 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000594/2.877, allocations: 95.12 kB / 1.333 GB, free: 165.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006556/2.878, allocations: 235.9 kB / 1.333 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/2.879, allocations: 255.3 kB / 1.333 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009468/2.888, allocations: 3.225 MB / 1.337 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/2.888, allocations: 15.25 kB / 1.337 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.171e-05/2.888, allocations: 15.28 kB / 1.337 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/2.888, allocations: 7.453 kB / 1.337 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/2.909, allocations: 7.485 MB / 1.344 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/2.909, allocations: 7.562 kB / 1.344 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/2.911, allocations: 221.3 kB / 1.344 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/2.915, allocations: 0.8725 MB / 1.345 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/2.916, allocations: 32.59 kB / 1.345 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02465/2.94, allocations: 20.95 MB / 1.365 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/2.941, allocations: 6.969 kB / 1.365 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008742/2.949, allocations: 3.672 MB / 1.369 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/2.952, allocations: 0.5306 MB / 1.37 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009436/2.953, allocations: 33.56 kB / 1.37 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/2.955, allocations: 89.8 kB / 1.37 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006037/2.956, allocations: 142.9 kB / 1.37 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/2.956, allocations: 49.34 kB / 1.37 GB, free: 148 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00237/2.958, allocations: 1.156 MB / 1.371 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.41e-07/2.958, allocations: 0 / 1.371 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005318/2.964, allocations: 0.9413 MB / 1.372 GB, free: 147.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006754/2.965, allocations: 164.1 kB / 1.372 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0099/2.974, allocations: 4.275 MB / 1.376 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-05/2.975, allocations: 3.906 kB / 1.376 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006798/2.981, allocations: 2.951 MB / 1.379 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006131/2.988, allocations: 0.7109 MB / 1.38 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/3.005, allocations: 5.986 MB / 1.386 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006553/3.012, allocations: 3.292 MB / 1.389 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003358/3.015, allocations: 0.5157 MB / 1.389 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/3.016, allocations: 138 kB / 1.389 GB, free: 140 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/3.016, allocations: 0 / 1.389 GB, free: 140 MB / 0.8698 GB Notification: Performance of Templates: time 0.1053/3.121, allocations: 38.85 MB / 1.427 GB, free: 138.6 MB / 0.8698 GB