Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01063/0.01064, allocations: 108 kB / 15.06 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001159/0.001159, allocations: 179 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.849/1.849, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.47/2.47, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004633, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6808, allocations: 98.69 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004179/0.685, allocations: 3.027 MB / 0.6863 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002812/0.6878, allocations: 1.623 MB / 0.6879 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.688, allocations: 10.97 kB / 0.6879 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.6882, allocations: 40.7 kB / 0.6879 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.6887, allocations: 128.7 kB / 0.6881 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.6893, allocations: 188.3 kB / 0.6882 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.6897, allocations: 224.2 kB / 0.6884 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008429/0.6906, allocations: 371 kB / 0.6888 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.6908, allocations: 119.9 kB / 0.6889 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.6911, allocations: 129.5 kB / 0.689 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.6912, allocations: 16.88 kB / 0.6891 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.6916, allocations: 132.1 kB / 0.6892 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.6917, allocations: 82.89 kB / 0.6893 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.6918, allocations: 67.67 kB / 0.6893 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.6924, allocations: 341.6 kB / 0.6896 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.6924, allocations: 0 / 0.6896 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.248e-06/0.6924, allocations: 1.406 kB / 0.6897 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.743e-06/0.6924, allocations: 0 / 0.6897 GB, free: 12.75 MB / 0.5261 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.001172/0.6936, allocations: 0.6047 MB / 0.6902 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6937, allocations: 9.812 kB / 0.6903 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6947, allocations: 107 kB / 0.6904 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.6951, allocations: 285.9 kB / 0.6906 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.6952, allocations: 13.92 kB / 0.6906 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.6952, allocations: 17.38 kB / 0.6907 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.6963, allocations: 427.4 kB / 0.6911 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6963, allocations: 0.6094 kB / 0.6911 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.6964, allocations: 10.58 kB / 0.6911 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.149e-05/0.6965, allocations: 31.97 kB / 0.6911 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.6979, allocations: 416.5 kB / 0.6915 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/0.7017, allocations: 1.615 MB / 0.6931 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.7042, allocations: 484.2 kB / 0.6935 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.7044, allocations: 90.75 kB / 0.6936 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.7056, allocations: 274.2 kB / 0.6939 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 5.384e-06/0.7056, allocations: 0 / 0.6939 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.003906/0.7095, allocations: 0.7817 MB / 0.6947 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.7096, allocations: 81.98 kB / 0.6947 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.7101, allocations: 224.9 kB / 0.6949 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.7101, allocations: 32.59 kB / 0.695 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.7103, allocations: 171.7 kB / 0.6951 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.7105, allocations: 86.73 kB / 0.6952 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.7106, allocations: 5.656 kB / 0.6952 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7107, allocations: 336.6 kB / 0.6955 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009492/0.7116, allocations: 182.8 kB / 0.6957 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.7127, allocations: 256.9 kB / 0.696 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.7137, allocations: 231.6 kB / 0.6962 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.475e-06/0.7138, allocations: 1.188 kB / 0.6962 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002861/0.7167, allocations: 0.5629 MB / 0.6967 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.7171, allocations: 0.9032 MB / 0.6976 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.7171, allocations: 2.406 kB / 0.6976 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.7177, allocations: 40.16 kB / 0.6977 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.7182, allocations: 94.41 kB / 0.6978 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.7198, allocations: 1.516 MB / 0.6992 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.7202, allocations: 59.78 kB / 0.6993 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.7203, allocations: 12.48 kB / 0.6993 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.259e-06/0.7203, allocations: 2.688 kB / 0.6993 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/0.7217, allocations: 0.4969 MB / 0.6998 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.7218, allocations: 2.75 kB / 0.6998 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.7219, allocations: 39.23 kB / 0.6998 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.7224, allocations: 98.31 kB / 0.6999 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.7237, allocations: 1.493 MB / 0.7014 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.7242, allocations: 51.31 kB / 0.7014 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.7242, allocations: 10.25 kB / 0.7014 GB, free: 4.156 MB / 0.5261 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 () * Number of clocked 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.0002554/0.7245, allocations: 250.8 kB / 0.7017 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.7246, allocations: 22.97 kB / 0.7017 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.726, allocations: 494.9 kB / 0.7022 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.384e-06/0.726, allocations: 8.219 kB / 0.7022 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.839e-06/0.726, allocations: 9.266 kB / 0.7022 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.695e-06/0.726, allocations: 0 / 0.7022 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.7268, allocations: 0.5559 MB / 0.7027 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.636e-06/0.7268, allocations: 1.031 kB / 0.7027 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/0.7274, allocations: 91.38 kB / 0.7028 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.7276, allocations: 38.88 kB / 0.7029 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.7277, allocations: 6.094 kB / 0.7029 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.7288, allocations: 1.432 MB / 0.7043 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.452e-06/0.7289, allocations: 1.094 kB / 0.7043 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.7302, allocations: 0.5925 MB / 0.7048 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.7304, allocations: 136.2 kB / 0.705 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.7304, allocations: 10.95 kB / 0.705 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.7308, allocations: 44.08 kB / 0.705 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.731, allocations: 31.62 kB / 0.7051 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.731, allocations: 15.67 kB / 0.7051 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001906/0.7312, allocations: 175.9 kB / 0.7052 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/0.7312, allocations: 0 / 0.7052 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008168/0.7321, allocations: 128.3 kB / 0.7054 GB, free: 0.9102 MB / 0.5261 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) * Number of clocked states: 0 () * 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.0001639/0.7323, allocations: 118.2 kB / 0.7055 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.7345, allocations: 1.014 MB / 0.7065 GB, free: 144 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.284e-06/0.7345, allocations: 1.125 kB / 0.7065 GB, free: 144 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.7353, allocations: 337.9 kB / 0.7068 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.7358, allocations: 47.53 kB / 0.7068 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.7374, allocations: 0.732 MB / 0.7075 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.7379, allocations: 0.792 MB / 0.7083 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004313/0.7384, allocations: 102.9 kB / 0.7084 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.7385, allocations: 26.75 kB / 0.7084 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of SimCode: time 1.667e-06/0.7385, allocations: 0 / 0.7084 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of Templates: time 0.01409/0.7526, allocations: 4.028 MB / 0.7124 GB, free: 12.57 MB / 0.5417 GB