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/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.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.186/4.186, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.063e-05, allocations: 4 kB / 0.5325 GB, free: 1.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5057, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.7281, allocations: 147 MB / 0.7725 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.7285, allocations: 95.94 kB / 0.7726 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06553/0.794, allocations: 17.47 MB / 0.7897 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.851e-06/0.7941, allocations: 0 / 0.7897 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.7941, allocations: 4 kB / 0.7897 GB, free: 10.74 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.001313/0.7954, allocations: 0.6094 MB / 0.7903 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7955, allocations: 12.02 kB / 0.7903 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.7966, allocations: 107.5 kB / 0.7904 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.7971, allocations: 282.2 kB / 0.7906 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.7971, allocations: 4 kB / 0.7906 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.7972, allocations: 16 kB / 0.7907 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006214/0.7978, allocations: 244.9 kB / 0.7909 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.7986, allocations: 341.8 kB / 0.7912 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.7986, allocations: 0 / 0.7912 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.7987, allocations: 0 / 0.7912 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.7987, allocations: 24.36 kB / 0.7912 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.8017, allocations: 1.607 MB / 0.7928 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.8029, allocations: 377.5 kB / 0.7932 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.8033, allocations: 154.1 kB / 0.7933 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.8036, allocations: 92.95 kB / 0.7934 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.804, allocations: 237.5 kB / 0.7936 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 3.575e-06/0.8041, allocations: 0 / 0.7936 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.001323/0.8054, allocations: 418.8 kB / 0.794 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.8055, allocations: 81.11 kB / 0.7941 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.8059, allocations: 183.2 kB / 0.7943 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.806, allocations: 29.8 kB / 0.7943 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.8061, allocations: 176 kB / 0.7945 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.8063, allocations: 90.66 kB / 0.7946 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.8063, allocations: 0 / 0.7946 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.8065, allocations: 330.8 kB / 0.7949 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.8068, allocations: 132.2 kB / 0.795 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.8072, allocations: 197.4 kB / 0.7952 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.8077, allocations: 160.1 kB / 0.7954 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.915e-06/0.8077, allocations: 7.953 kB / 0.7954 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00143/0.8091, allocations: 415.2 kB / 0.7958 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005246/0.8097, allocations: 0.9058 MB / 0.7966 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.8097, allocations: 4 kB / 0.7966 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.81, allocations: 44.81 kB / 0.7967 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.8106, allocations: 91.86 kB / 0.7968 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.8126, allocations: 1.426 MB / 0.7982 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.8132, allocations: 51.78 kB / 0.7982 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.8132, allocations: 15.94 kB / 0.7982 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8133, allocations: 4 kB / 0.7982 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/0.8145, allocations: 372.5 kB / 0.7986 GB, free: 1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.52e-06/0.8145, allocations: 0 / 0.7986 GB, free: 1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.8147, allocations: 36.83 kB / 0.7986 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.8153, allocations: 100.1 kB / 0.7987 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5029/1.318, allocations: 1.409 MB / 0.8001 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/1.319, allocations: 45.94 kB / 0.8001 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/1.319, allocations: 14 kB / 0.8002 GB, free: 157.2 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.0001586/1.319, allocations: 116.1 kB / 0.8003 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/1.319, allocations: 24.7 kB / 0.8003 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/1.32, allocations: 388.8 kB / 0.8007 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.32, allocations: 3.469 kB / 0.8007 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.666e-06/1.32, allocations: 3.125 kB / 0.8007 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.852e-06/1.32, allocations: 1.922 kB / 0.8007 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000898/1.321, allocations: 0.5114 MB / 0.8012 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.833e-06/1.321, allocations: 2.688 kB / 0.8012 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/1.322, allocations: 82.28 kB / 0.8012 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/1.322, allocations: 36.38 kB / 0.8013 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/1.322, allocations: 3.609 kB / 0.8013 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/1.323, allocations: 1.35 MB / 0.8026 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.323, allocations: 1 kB / 0.8026 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/1.325, allocations: 0.4958 MB / 0.8031 GB, free: 155.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/1.325, allocations: 136.7 kB / 0.8032 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/1.325, allocations: 4.656 kB / 0.8032 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/1.325, allocations: 35.59 kB / 0.8033 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.325, allocations: 41.38 kB / 0.8033 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/1.325, allocations: 7.766 kB / 0.8033 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002088/1.326, allocations: 158.9 kB / 0.8035 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.57e-07/1.326, allocations: 0 / 0.8035 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009336/1.327, allocations: 127.1 kB / 0.8036 GB, free: 155.2 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.0002255/1.327, allocations: 132.9 kB / 0.8037 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001602/1.329, allocations: 0.8328 MB / 0.8045 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.608e-06/1.329, allocations: 1.312 kB / 0.8045 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005696/1.329, allocations: 275.3 kB / 0.8048 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/1.33, allocations: 38.34 kB / 0.8048 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/1.331, allocations: 455.2 kB / 0.8053 GB, free: 154.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.331, allocations: 0.793 MB / 0.806 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005139/1.332, allocations: 104.1 kB / 0.8061 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.332, allocations: 23.28 kB / 0.8061 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.878e-06/1.332, allocations: 0 / 0.8061 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.01203/1.344, allocations: 4.123 MB / 0.8102 GB, free: 153.6 MB / 0.6667 GB