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_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.389/2.389, allocations: 252.6 MB / 265.2 MB, free: 5.832 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.005531/0.005531, allocations: 183.8 kB / 324.5 MB, free: 14.41 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.159/2.159, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001055/0.001055, allocations: 86.45 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.112e-05, allocations: 4 kB / 0.7911 GB, free: 96.46 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2457, allocations: 106.3 MB / 0.8949 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9446/1.19, allocations: 178.4 MB / 1.069 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/1.191, allocations: 102 kB / 1.069 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.774/2.964, allocations: 267.4 MB / 1.33 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.765e-06/2.965, allocations: 0 / 1.33 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006008/2.965, allocations: 149.5 kB / 1.331 GB, free: 205.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02169/2.987, allocations: 4.626 MB / 1.335 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/2.987, allocations: 10.81 kB / 1.335 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/3.004, allocations: 1.486 MB / 1.336 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01905/3.024, allocations: 4.208 MB / 1.341 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000522/3.024, allocations: 380.7 kB / 1.341 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/3.027, allocations: 0.4944 MB / 1.341 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/3.055, allocations: 8.291 MB / 1.35 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/3.056, allocations: 22.06 kB / 1.35 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002224/3.058, allocations: 241.4 kB / 1.35 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005345/3.059, allocations: 321.3 kB / 1.35 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/3.079, allocations: 6.334 MB / 1.356 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07177/3.15, allocations: 40 MB / 1.395 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/3.157, allocations: 2.786 MB / 1.398 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005271/3.162, allocations: 2.551 MB / 1.401 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000369/3.162, allocations: 25.28 kB / 1.401 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/3.162, allocations: 60.44 kB / 1.401 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 5.891e-06/3.162, allocations: 0 / 1.401 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.4863/3.649, allocations: 60.08 MB / 1.459 GB, free: 135 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/3.649, allocations: 98.72 kB / 1.459 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/3.653, allocations: 1.908 MB / 1.461 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/3.654, allocations: 93.7 kB / 1.461 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/3.656, allocations: 2.334 MB / 1.464 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002374/3.659, allocations: 1.443 MB / 1.465 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006653/3.659, allocations: 88 kB / 1.465 GB, free: 129 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003187/3.66, allocations: 483.4 kB / 1.466 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007079/3.667, allocations: 2.734 MB / 1.468 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0082/3.675, allocations: 3.692 MB / 1.472 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008308/3.683, allocations: 3.33 MB / 1.475 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-05/3.684, allocations: 8 kB / 1.475 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04602/3.73, allocations: 11.69 MB / 1.487 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/3.73, allocations: 20 kB / 1.487 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.414e-05/3.73, allocations: 31.94 kB / 1.487 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03068/3.76, allocations: 4.988 MB / 1.491 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/3.764, allocations: 0.5069 MB / 1.492 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1088/3.873, allocations: 64.68 MB / 1.555 GB, free: 33.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/3.88, allocations: 187.8 kB / 1.555 GB, free: 32.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007207/3.88, allocations: 160 kB / 1.555 GB, free: 32.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001229/3.882, allocations: 348.1 kB / 1.556 GB, free: 32.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/3.883, allocations: 388.1 kB / 1.556 GB, free: 32.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04255/3.925, allocations: 11.47 MB / 1.567 GB, free: 20.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/3.925, allocations: 40 kB / 1.567 GB, free: 20.46 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/3.926, allocations: 48 kB / 1.567 GB, free: 20.42 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.103e-05/3.926, allocations: 19.92 kB / 1.567 GB, free: 20.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05688/3.983, allocations: 17.82 MB / 1.585 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.854e-05/3.983, allocations: 8 kB / 1.585 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/3.986, allocations: 298.4 kB / 1.585 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02831/4.014, allocations: 4.495 MB / 1.59 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/4.015, allocations: 81.03 kB / 1.59 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7592/4.774, allocations: 62.22 MB / 1.65 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/4.774, allocations: 14.44 kB / 1.65 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05275/4.827, allocations: 15.18 MB / 1.665 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003945/4.831, allocations: 0.9714 MB / 1.666 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001939/4.833, allocations: 82.77 kB / 1.666 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005678/4.839, allocations: 177.9 kB / 1.666 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002809/4.842, allocations: 402.9 kB / 1.667 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001118/4.843, allocations: 106.6 kB / 1.667 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003647/4.847, allocations: 1.439 MB / 1.668 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.91e-07/4.847, allocations: 3.875 kB / 1.668 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01114/4.858, allocations: 1.751 MB / 1.67 GB, free: 171.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/4.859, allocations: 216.9 kB / 1.67 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03266/4.892, allocations: 11.45 MB / 1.681 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/4.892, allocations: 0 / 1.681 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.02304/4.915, allocations: 7.945 MB / 1.689 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008024/4.923, allocations: 0.9657 MB / 1.69 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/4.952, allocations: 9.967 MB / 1.7 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/4.962, allocations: 4.194 MB / 1.704 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005782/4.968, allocations: 0.6727 MB / 1.705 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/4.969, allocations: 175.9 kB / 1.705 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.462e-06/4.97, allocations: 0 / 1.705 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.2826/5.252, allocations: 94.85 MB / 1.797 GB, free: 130.1 MB / 0.8855 GB