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.236/2.236, 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.001524/0.001522, allocations: 193.4 kB / 325.6 MB, free: 2.828 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.456/2.456, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001121/0.001121, allocations: 106.4 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004823, allocations: 12.12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9236/1.144, allocations: 164.4 MB / 1.059 GB, free: 64.78 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/1.144, allocations: 95.23 kB / 1.06 GB, free: 64.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6797/1.824, allocations: 182.4 MB / 1.238 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.656e-06/1.824, allocations: 0 / 1.238 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005222/1.824, allocations: 128 kB / 1.238 GB, free: 6.434 MB / 0.7292 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.02137/1.846, allocations: 4.492 MB / 1.242 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.846, allocations: 8.031 kB / 1.242 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/1.856, allocations: 1.02 MB / 1.243 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/1.87, allocations: 3.221 MB / 1.246 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006409/1.871, allocations: 357.7 kB / 1.247 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002866/1.873, allocations: 479.8 kB / 1.247 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/1.901, allocations: 7.507 MB / 1.254 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003386/1.902, allocations: 15.88 kB / 1.254 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002264/1.904, allocations: 219.9 kB / 1.255 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000557/1.904, allocations: 269.2 kB / 1.255 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01932/1.924, allocations: 5.407 MB / 1.26 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06505/1.989, allocations: 36.26 MB / 1.296 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006212/1.995, allocations: 2.132 MB / 1.298 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/1.995, allocations: 21.31 kB / 1.298 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/1.996, allocations: 59.77 kB / 1.298 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=157): time 5.42e-06/1.996, allocations: 0 / 1.298 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of matching and sorting (n=160): time 0.02516/2.021, allocations: 7.532 MB / 1.305 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/2.021, allocations: 76.72 kB / 1.305 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/2.025, allocations: 1.556 MB / 1.307 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004598/2.025, allocations: 53.7 kB / 1.307 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/2.027, allocations: 2.096 MB / 1.309 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009949/2.028, allocations: 0.5585 MB / 1.309 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/2.028, allocations: 40 kB / 1.309 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002248/2.029, allocations: 390.1 kB / 1.31 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/2.031, allocations: 1.011 MB / 1.311 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/2.034, allocations: 1.736 MB / 1.312 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/2.038, allocations: 1.298 MB / 1.314 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/2.038, allocations: 8 kB / 1.314 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01135/2.049, allocations: 3.803 MB / 1.317 GB, free: 232 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/2.049, allocations: 15.98 kB / 1.317 GB, free: 216 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/2.049, allocations: 24 kB / 1.317 GB, free: 192 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004427/2.054, allocations: 0.9199 MB / 1.318 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/2.057, allocations: 415.2 kB / 1.319 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03087/2.088, allocations: 21.41 MB / 1.34 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/2.091, allocations: 116.1 kB / 1.34 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/2.092, allocations: 104 kB / 1.34 GB, free: 7.598 MB / 0.8386 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 () * Number of clocked 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.004995/2.097, allocations: 1.648 MB / 1.341 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009282/2.098, allocations: 253.1 kB / 1.342 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009994/2.108, allocations: 3.26 MB / 1.345 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/2.108, allocations: 16 kB / 1.345 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-05/2.108, allocations: 8 kB / 1.345 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-05/2.108, allocations: 7.969 kB / 1.345 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/2.131, allocations: 7.502 MB / 1.352 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/2.131, allocations: 4.562 kB / 1.352 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/2.133, allocations: 227.6 kB / 1.352 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00426/2.137, allocations: 0.8734 MB / 1.353 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/2.138, allocations: 28 kB / 1.353 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03062/2.168, allocations: 21.36 MB / 1.374 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/2.168, allocations: 8 kB / 1.374 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/2.179, allocations: 3.705 MB / 1.378 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/2.181, allocations: 0.533 MB / 1.378 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008802/2.182, allocations: 32 kB / 1.378 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/2.185, allocations: 91.88 kB / 1.378 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008257/2.186, allocations: 141 kB / 1.379 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/2.186, allocations: 48 kB / 1.379 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003219/2.189, allocations: 1.182 MB / 1.38 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/2.189, allocations: 0 / 1.38 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005357/2.195, allocations: 0.9375 MB / 1.381 GB, free: 11.61 MB / 0.8855 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 () * Number of clocked 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.0006283/2.195, allocations: 160 kB / 1.381 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01113/2.206, allocations: 4.339 MB / 1.385 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/2.206, allocations: 8.125 kB / 1.385 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00773/2.214, allocations: 2.988 MB / 1.388 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/2.22, allocations: 0.7146 MB / 1.389 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7331/2.954, allocations: 9.186 MB / 1.398 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009801/2.963, allocations: 3.291 MB / 1.401 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003945/2.967, allocations: 0.5135 MB / 1.401 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/2.969, allocations: 140.3 kB / 1.402 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.353e-06/2.969, allocations: 0 / 1.402 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.1116/3.08, allocations: 38.85 MB / 1.44 GB, free: 218.8 MB / 0.8855 GB