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.OnePhase.Sources.Examples.VariablePowerSource.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadModel(Buildings): time 3.961/3.961, allocations: 433.3 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.023e-05, allocations: 4 kB / 0.5325 GB, free: 1.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.506, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.7284, allocations: 145.6 MB / 0.7711 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.7288, allocations: 91.94 kB / 0.7712 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06378/0.7926, allocations: 16.82 MB / 0.7877 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.881e-06/0.7926, allocations: 0 / 0.7877 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.7926, allocations: 7.938 kB / 0.7877 GB, free: 12.8 MB / 0.6667 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.001309/0.794, allocations: 0.6171 MB / 0.7883 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.794, allocations: 8.031 kB / 0.7883 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.7952, allocations: 99.58 kB / 0.7884 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.7957, allocations: 282.2 kB / 0.7886 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7957, allocations: 4 kB / 0.7886 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.7958, allocations: 12 kB / 0.7887 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006173/0.7965, allocations: 244.9 kB / 0.7889 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007254/0.7972, allocations: 345.8 kB / 0.7892 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.7972, allocations: 0 / 0.7892 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.7973, allocations: 0 / 0.7892 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.7974, allocations: 24.36 kB / 0.7892 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.8001, allocations: 1.607 MB / 0.7908 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.8012, allocations: 377.5 kB / 0.7912 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.8015, allocations: 154.1 kB / 0.7913 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.8018, allocations: 96.89 kB / 0.7914 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/0.8022, allocations: 219.5 kB / 0.7916 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 3.814e-06/0.8023, allocations: 4 kB / 0.7916 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.001343/0.8036, allocations: 422.8 kB / 0.792 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.8037, allocations: 85.11 kB / 0.7921 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.804, allocations: 187.1 kB / 0.7923 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.804, allocations: 29.7 kB / 0.7923 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.8042, allocations: 160.1 kB / 0.7925 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.8043, allocations: 90.69 kB / 0.7926 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.8044, allocations: 4.031 kB / 0.7926 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.8046, allocations: 338.8 kB / 0.7929 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.8049, allocations: 124.3 kB / 0.793 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.8052, allocations: 197.4 kB / 0.7932 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.8057, allocations: 160.1 kB / 0.7933 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.038e-06/0.8057, allocations: 7.953 kB / 0.7933 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001162/0.8069, allocations: 419.2 kB / 0.7937 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005315/0.8075, allocations: 0.9057 MB / 0.7946 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8075, allocations: 4 kB / 0.7946 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.8078, allocations: 44.81 kB / 0.7947 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.8083, allocations: 91.86 kB / 0.7948 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.8102, allocations: 1.442 MB / 0.7962 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.8107, allocations: 43.8 kB / 0.7962 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.8108, allocations: 19.98 kB / 0.7962 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.8108, allocations: 8.875 kB / 0.7962 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/0.8119, allocations: 360.6 kB / 0.7966 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.997e-06/0.8119, allocations: 0 / 0.7966 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.8121, allocations: 44.75 kB / 0.7966 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.8126, allocations: 83.88 kB / 0.7967 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.8143, allocations: 1.426 MB / 0.7981 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.8148, allocations: 47.86 kB / 0.7981 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.8148, allocations: 11.98 kB / 0.7982 GB, free: 1.336 MB / 0.6667 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.0001801/0.815, allocations: 116.4 kB / 0.7983 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.8151, allocations: 27.67 kB / 0.7983 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.8162, allocations: 388 kB / 0.7987 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-06/0.8162, allocations: 4 kB / 0.7987 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.311e-06/0.8162, allocations: 0 / 0.7987 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.103e-06/0.8162, allocations: 144 / 0.7987 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.8171, allocations: 0.5198 MB / 0.7992 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-06/0.8171, allocations: 0 / 0.7992 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.8176, allocations: 87.94 kB / 0.7993 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.8178, allocations: 36.83 kB / 0.7993 GB, free: 108 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.8179, allocations: 3.984 kB / 0.7993 GB, free: 104 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4346/1.252, allocations: 1.338 MB / 0.8006 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.585e-06/1.253, allocations: 1.438 kB / 0.8006 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.254, allocations: 0.4939 MB / 0.8011 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/1.254, allocations: 130.5 kB / 0.8012 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/1.254, allocations: 7.453 kB / 0.8012 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/1.254, allocations: 36.42 kB / 0.8013 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.255, allocations: 37.53 kB / 0.8013 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/1.255, allocations: 10.02 kB / 0.8013 GB, free: 157 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002302/1.255, allocations: 158.6 kB / 0.8015 GB, free: 157 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.85e-07/1.255, allocations: 0 / 0.8015 GB, free: 157 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009443/1.256, allocations: 126.1 kB / 0.8016 GB, free: 157 MB / 0.6667 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.0002273/1.256, allocations: 130.6 kB / 0.8017 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00187/1.258, allocations: 0.8309 MB / 0.8025 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.789e-06/1.258, allocations: 0.625 kB / 0.8025 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/1.259, allocations: 280.9 kB / 0.8028 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/1.259, allocations: 38.77 kB / 0.8028 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.26, allocations: 447.1 kB / 0.8032 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/1.261, allocations: 0.7992 MB / 0.804 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005392/1.261, allocations: 104.3 kB / 0.8041 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.262, allocations: 22.59 kB / 0.8041 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.689e-06/1.262, allocations: 1.094 kB / 0.8041 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.01219/1.274, allocations: 4.107 MB / 0.8082 GB, free: 155.5 MB / 0.6667 GB