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.286/2.286, allocations: 253.2 MB / 260.6 MB, free: 7.477 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.001457/0.001456, allocations: 168.9 kB / 319.9 MB, free: 3.039 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.191/2.191, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001119/0.001119, allocations: 82.7 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.969e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9176/1.133, allocations: 164.6 MB / 1.049 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/1.133, allocations: 98.31 kB / 1.049 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.7793/1.913, allocations: 180.8 MB / 1.226 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.376e-06/1.913, allocations: 0 / 1.226 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006402/1.913, allocations: 127.9 kB / 1.226 GB, free: 10.1 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.0259/1.939, allocations: 4.152 MB / 1.23 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/1.939, allocations: 12.03 kB / 1.23 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/1.955, allocations: 1.012 MB / 1.231 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01957/1.975, allocations: 3.206 MB / 1.234 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004937/1.975, allocations: 156 kB / 1.234 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002835/1.978, allocations: 287.9 kB / 1.235 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01776/1.996, allocations: 4.709 MB / 1.239 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/2.02, allocations: 6.708 MB / 1.246 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/2.02, allocations: 23.83 kB / 1.246 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/2.022, allocations: 12 kB / 1.246 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005382/2.023, allocations: 269.2 kB / 1.246 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7368/2.759, allocations: 35.2 MB / 1.281 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008181/2.768, allocations: 2.045 MB / 1.283 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004668/2.772, allocations: 1.413 MB / 1.284 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/2.773, allocations: 17.77 kB / 1.284 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/2.773, allocations: 53.97 kB / 1.284 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 7.233e-06/2.773, allocations: 0 / 1.284 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.02012/2.793, allocations: 4.758 MB / 1.289 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/2.793, allocations: 74.34 kB / 1.289 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/2.797, allocations: 1.241 MB / 1.29 GB, free: 175 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005379/2.798, allocations: 26.77 kB / 1.29 GB, free: 175 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/2.801, allocations: 2.107 MB / 1.292 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/2.802, allocations: 0.5308 MB / 1.293 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/2.803, allocations: 0 / 1.293 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002954/2.803, allocations: 392.2 kB / 1.293 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/2.806, allocations: 0.9507 MB / 1.294 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/2.811, allocations: 1.66 MB / 1.295 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/2.816, allocations: 1.244 MB / 1.297 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.146e-05/2.816, allocations: 9.281 kB / 1.297 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01531/2.831, allocations: 3.494 MB / 1.3 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/2.831, allocations: 15.31 kB / 1.3 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.338e-05/2.832, allocations: 28.06 kB / 1.3 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006065/2.838, allocations: 0.8807 MB / 1.301 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/2.842, allocations: 417.9 kB / 1.301 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03518/2.877, allocations: 20.18 MB / 1.321 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/2.882, allocations: 80.12 kB / 1.321 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/2.882, allocations: 97.86 kB / 1.321 GB, free: 157.9 MB / 0.8542 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.0008052/2.883, allocations: 169.2 kB / 1.321 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009845/2.884, allocations: 240.3 kB / 1.322 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/2.895, allocations: 3.059 MB / 1.325 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/2.895, allocations: 14.06 kB / 1.325 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/2.896, allocations: 9.906 kB / 1.325 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/2.896, allocations: 7.219 kB / 1.325 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/2.918, allocations: 6.579 MB / 1.331 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/2.918, allocations: 3.906 kB / 1.331 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/2.92, allocations: 219.4 kB / 1.331 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003724/2.924, allocations: 0.8608 MB / 1.332 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003439/2.924, allocations: 7.375 kB / 1.332 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02266/2.947, allocations: 20.16 MB / 1.352 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/2.947, allocations: 7.531 kB / 1.352 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008291/2.955, allocations: 3.496 MB / 1.355 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/2.957, allocations: 0.5008 MB / 1.356 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007127/2.958, allocations: 8.453 kB / 1.356 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/2.96, allocations: 69.06 kB / 1.356 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004928/2.961, allocations: 138.8 kB / 1.356 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/2.961, allocations: 48.09 kB / 1.356 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001705/2.963, allocations: 0.9119 MB / 1.357 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.51e-07/2.963, allocations: 0 / 1.357 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004868/2.968, allocations: 0.8522 MB / 1.358 GB, free: 140.9 MB / 0.8542 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.0004847/2.968, allocations: 126.9 kB / 1.358 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008608/2.977, allocations: 4.07 MB / 1.362 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/2.977, allocations: 3.406 kB / 1.362 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005879/2.983, allocations: 2.823 MB / 1.365 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/2.988, allocations: 0.6428 MB / 1.365 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/3.008, allocations: 5.919 MB / 1.371 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/3.015, allocations: 3.295 MB / 1.374 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004015/3.019, allocations: 0.4908 MB / 1.375 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008258/3.02, allocations: 129.7 kB / 1.375 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/3.02, allocations: 0 / 1.375 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.1062/3.126, allocations: 35.28 MB / 1.409 GB, free: 131.9 MB / 0.8542 GB