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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.166/2.166, 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.001521/0.001521, allocations: 179.1 kB / 325.6 MB, free: 2.816 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.392/2.392, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001174/0.001173, allocations: 103.8 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004791, allocations: 16.41 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 106.3 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8845/1.095, allocations: 165.1 MB / 1.06 GB, free: 65.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.095, allocations: 95.86 kB / 1.06 GB, free: 65.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9507/2.046, allocations: 202.2 MB / 1.258 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.925e-06/2.046, allocations: 0 / 1.258 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006785/2.047, allocations: 144 kB / 1.258 GB, free: 2.082 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02914/2.076, allocations: 5.246 MB / 1.263 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.076, allocations: 8.031 kB / 1.263 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/2.087, allocations: 1.14 MB / 1.264 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/2.102, allocations: 3.7 MB / 1.268 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006895/2.103, allocations: 439.5 kB / 1.268 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/2.106, allocations: 0.5468 MB / 1.269 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03285/2.139, allocations: 8.819 MB / 1.277 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002762/2.139, allocations: 19.78 kB / 1.277 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001858/2.141, allocations: 255.9 kB / 1.277 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005315/2.141, allocations: 303 kB / 1.278 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/2.165, allocations: 6.437 MB / 1.284 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07827/2.244, allocations: 41.46 MB / 1.324 GB, free: 9.402 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008541/2.252, allocations: 3.102 MB / 1.328 GB, free: 6.297 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/2.253, allocations: 26.78 kB / 1.328 GB, free: 6.273 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.391e-05/2.253, allocations: 68.36 kB / 1.328 GB, free: 6.199 MB / 0.823 GB Notification: Performance of pre-optimization done (n=209): time 5.44e-06/2.253, allocations: 0 / 1.328 GB, free: 6.199 MB / 0.823 GB Notification: Performance of matching and sorting (n=212): time 0.04486/2.298, allocations: 10.47 MB / 1.338 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/2.298, allocations: 77.39 kB / 1.338 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/2.302, allocations: 1.673 MB / 1.34 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005123/2.302, allocations: 61.7 kB / 1.34 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002729/2.305, allocations: 2.369 MB / 1.342 GB, free: 7.383 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/2.306, allocations: 0.7278 MB / 1.343 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/2.307, allocations: 56 kB / 1.343 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000312/2.307, allocations: 415.1 kB / 1.343 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/2.311, allocations: 1.325 MB / 1.344 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004438/2.315, allocations: 2.094 MB / 1.346 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004499/2.32, allocations: 1.681 MB / 1.348 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/2.32, allocations: 8 kB / 1.348 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01603/2.336, allocations: 4.969 MB / 1.353 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/2.336, allocations: 16 kB / 1.353 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.234e-05/2.336, allocations: 24 kB / 1.353 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00653/2.342, allocations: 1.538 MB / 1.354 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/2.346, allocations: 447.2 kB / 1.355 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05218/2.398, allocations: 17.67 MB / 1.372 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004789/2.403, allocations: 143.9 kB / 1.372 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006322/2.404, allocations: 112 kB / 1.372 GB, free: 7.242 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009247/2.413, allocations: 1.941 MB / 1.374 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/2.414, allocations: 296.6 kB / 1.375 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01859/2.433, allocations: 4.435 MB / 1.379 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/2.433, allocations: 23.94 kB / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001112/2.433, allocations: 16 kB / 1.379 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.041e-05/2.433, allocations: 7.969 kB / 1.379 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03347/2.467, allocations: 9.645 MB / 1.388 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/2.467, allocations: 4 kB / 1.388 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/2.469, allocations: 235.6 kB / 1.389 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006328/2.475, allocations: 1.394 MB / 1.39 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000524/2.476, allocations: 43.94 kB / 1.39 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.704/3.18, allocations: 17.69 MB / 1.407 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/3.18, allocations: 11.98 kB / 1.407 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/3.194, allocations: 4.868 MB / 1.412 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/3.197, allocations: 0.6323 MB / 1.413 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009032/3.198, allocations: 38.34 kB / 1.413 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/3.2, allocations: 118.5 kB / 1.413 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009398/3.201, allocations: 178.9 kB / 1.413 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/3.202, allocations: 58.83 kB / 1.413 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003122/3.205, allocations: 1.265 MB / 1.414 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.31e-07/3.205, allocations: 4.406 kB / 1.414 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00618/3.211, allocations: 1.172 MB / 1.415 GB, free: 208.3 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000743/3.212, allocations: 172 kB / 1.416 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01252/3.224, allocations: 4.617 MB / 1.42 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/3.224, allocations: 0 / 1.42 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007744/3.232, allocations: 2.914 MB / 1.423 GB, free: 207 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006121/3.238, allocations: 0.7618 MB / 1.424 GB, free: 207 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/3.264, allocations: 11.18 MB / 1.435 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008626/3.273, allocations: 3.788 MB / 1.438 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003432/3.276, allocations: 0.544 MB / 1.439 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007704/3.277, allocations: 146.1 kB / 1.439 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of SimCode: time 2.675e-06/3.277, allocations: 0.5625 kB / 1.439 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.1546/3.432, allocations: 47.56 MB / 1.485 GB, free: 200.1 MB / 0.8855 GB