Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadModel(Buildings): time 4.341/4.341, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.116e-05, allocations: 3.375 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2534, allocations: 98.72 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7734/1.027, allocations: 147.7 MB / 0.779 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.027, allocations: 90.25 kB / 0.7791 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0659/1.093, allocations: 17.55 MB / 0.7962 GB, free: 54.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.366e-06/1.093, allocations: 0 / 0.7962 GB, free: 54.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.688e-05/1.093, allocations: 12.97 kB / 0.7962 GB, free: 54.78 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001159/1.094, allocations: 0.6048 MB / 0.7968 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.094, allocations: 13.94 kB / 0.7968 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/1.096, allocations: 97.89 kB / 0.7969 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/1.096, allocations: 280.3 kB / 0.7972 GB, free: 54.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/1.096, allocations: 14.84 kB / 0.7972 GB, free: 54.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/1.096, allocations: 27.72 kB / 0.7972 GB, free: 54.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008104/1.097, allocations: 376.2 kB / 0.7976 GB, free: 53.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/1.097, allocations: 1.344 kB / 0.7976 GB, free: 53.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/1.097, allocations: 6 kB / 0.7976 GB, free: 53.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/1.097, allocations: 24.17 kB / 0.7976 GB, free: 53.94 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/1.098, allocations: 317.7 kB / 0.7979 GB, free: 53.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/1.1, allocations: 1.654 MB / 0.7995 GB, free: 52.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/1.101, allocations: 398.9 kB / 0.7999 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/1.102, allocations: 158 kB / 0.8 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/1.102, allocations: 98.27 kB / 0.8001 GB, free: 52.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004609/1.102, allocations: 229.4 kB / 0.8004 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 4e-06/1.102, allocations: 0 / 0.8004 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001256/1.104, allocations: 424.9 kB / 0.8008 GB, free: 52.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/1.104, allocations: 90.84 kB / 0.8008 GB, free: 52.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/1.104, allocations: 195.2 kB / 0.801 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/1.104, allocations: 30.73 kB / 0.8011 GB, free: 52.26 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/1.104, allocations: 166.5 kB / 0.8012 GB, free: 52.13 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.33e-05/1.104, allocations: 92.92 kB / 0.8013 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/1.104, allocations: 8.438 kB / 0.8013 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/1.104, allocations: 336.6 kB / 0.8016 GB, free: 51.76 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/1.105, allocations: 134.9 kB / 0.8018 GB, free: 51.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/1.105, allocations: 206 kB / 0.802 GB, free: 51.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/1.106, allocations: 180.9 kB / 0.8021 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.342e-06/1.106, allocations: 1.406 kB / 0.8021 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00117/1.107, allocations: 483.6 kB / 0.8026 GB, free: 51.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/1.107, allocations: 0.9029 MB / 0.8035 GB, free: 50.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.414e-06/1.107, allocations: 1.75 kB / 0.8035 GB, free: 50.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/1.107, allocations: 40.73 kB / 0.8035 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/1.108, allocations: 95.38 kB / 0.8036 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/1.109, allocations: 1.492 MB / 0.8051 GB, free: 49.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/1.11, allocations: 56.03 kB / 0.8051 GB, free: 49.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/1.11, allocations: 16.94 kB / 0.8051 GB, free: 49.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.11, allocations: 5.812 kB / 0.8051 GB, free: 49.25 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009745/1.111, allocations: 412.5 kB / 0.8055 GB, free: 49.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-06/1.111, allocations: 3.812 kB / 0.8055 GB, free: 49.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/1.111, allocations: 37.72 kB / 0.8056 GB, free: 49.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/1.112, allocations: 85.64 kB / 0.8057 GB, free: 49.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/1.113, allocations: 1.486 MB / 0.8071 GB, free: 47.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/1.113, allocations: 50.7 kB / 0.8072 GB, free: 47.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/1.113, allocations: 17.38 kB / 0.8072 GB, free: 47.85 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/1.114, allocations: 129.8 kB / 0.8073 GB, free: 47.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/1.114, allocations: 24.38 kB / 0.8073 GB, free: 47.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/1.115, allocations: 396.8 kB / 0.8077 GB, free: 47.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.116e-06/1.115, allocations: 3.312 kB / 0.8077 GB, free: 47.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.266e-06/1.115, allocations: 1.562 kB / 0.8077 GB, free: 47.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/1.115, allocations: 1.469 kB / 0.8077 GB, free: 47.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008151/1.115, allocations: 0.563 MB / 0.8083 GB, free: 47.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.321e-06/1.116, allocations: 1.719 kB / 0.8083 GB, free: 47.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/1.116, allocations: 89.3 kB / 0.8083 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/1.116, allocations: 35.67 kB / 0.8084 GB, free: 47.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/1.116, allocations: 6.875 kB / 0.8084 GB, free: 47.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/1.117, allocations: 1.418 MB / 0.8098 GB, free: 46.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.117, allocations: 0 / 0.8098 GB, free: 46.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/1.118, allocations: 0.4999 MB / 0.8103 GB, free: 45.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/1.118, allocations: 138.6 kB / 0.8104 GB, free: 45.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/1.119, allocations: 9.875 kB / 0.8104 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/1.119, allocations: 43.72 kB / 0.8104 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.119, allocations: 30.12 kB / 0.8105 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.009e-05/1.119, allocations: 18.78 kB / 0.8105 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002005/1.119, allocations: 164.7 kB / 0.8106 GB, free: 45.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.41e-07/1.119, allocations: 0 / 0.8106 GB, free: 45.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008689/1.12, allocations: 144.8 kB / 0.8108 GB, free: 45.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/1.121, allocations: 137.1 kB / 0.8109 GB, free: 45.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.122, allocations: 0.8722 MB / 0.8118 GB, free: 45.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/1.122, allocations: 1.562 kB / 0.8118 GB, free: 45.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/1.123, allocations: 297.7 kB / 0.8121 GB, free: 44.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/1.123, allocations: 47.19 kB / 0.8121 GB, free: 44.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/1.124, allocations: 469 kB / 0.8125 GB, free: 44.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/1.125, allocations: 0.795 MB / 0.8133 GB, free: 44.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004751/1.125, allocations: 103.2 kB / 0.8134 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.125, allocations: 28.12 kB / 0.8134 GB, free: 44.08 MB / 0.6511 GB Notification: Performance of SimCode: time 1.704e-06/1.125, allocations: 4 kB / 0.8134 GB, free: 44.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.01125/1.137, allocations: 4.312 MB / 0.8177 GB, free: 43.79 MB / 0.6511 GB