Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0112/0.01121, allocations: 108.6 kB / 15.06 MB, free: 5.555 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.001247/0.001247, allocations: 181 kB / 15.95 MB, free: 5.52 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 2.083/2.083, allocations: 194.5 MB / 211.3 MB, free: 10.99 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.391/2.391, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 8 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.6698, allocations: 98.73 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004243/0.6741, allocations: 2.543 MB / 0.6859 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003503/0.6777, allocations: 1.619 MB / 0.6875 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.678, allocations: 3.125 kB / 0.6875 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.6782, allocations: 36.77 kB / 0.6876 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007047/0.679, allocations: 136.1 kB / 0.6877 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.68, allocations: 188.9 kB / 0.6879 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.6805, allocations: 224 kB / 0.6881 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6816, allocations: 378.2 kB / 0.6884 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.6819, allocations: 113.1 kB / 0.6885 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.6823, allocations: 133.8 kB / 0.6887 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.6824, allocations: 12.47 kB / 0.6887 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.6829, allocations: 140.1 kB / 0.6888 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.6831, allocations: 78.62 kB / 0.6889 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.6832, allocations: 67.27 kB / 0.689 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.684, allocations: 343.2 kB / 0.6893 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.684, allocations: 0 / 0.6893 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/0.684, allocations: 0 / 0.6893 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.684, allocations: 0 / 0.6893 GB, free: 13.1 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.001649/0.6857, allocations: 0.6049 MB / 0.6899 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6858, allocations: 9.656 kB / 0.6899 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.6859, allocations: 61.94 kB / 0.6899 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.687, allocations: 106.5 kB / 0.69 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.6876, allocations: 278.4 kB / 0.6903 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.6876, allocations: 13.22 kB / 0.6903 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.6877, allocations: 25.88 kB / 0.6903 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.689, allocations: 418.2 kB / 0.6907 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.6891, allocations: 5.609 kB / 0.6907 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.6891, allocations: 10.23 kB / 0.6908 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/0.6892, allocations: 30.53 kB / 0.6908 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.6908, allocations: 413.6 kB / 0.6912 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.6935, allocations: 1.619 MB / 0.6928 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.6956, allocations: 484.5 kB / 0.6932 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.6958, allocations: 86.33 kB / 0.6933 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009853/0.6968, allocations: 278.5 kB / 0.6936 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.036e-06/0.6969, allocations: 0 / 0.6936 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.003232/0.7001, allocations: 0.7793 MB / 0.6943 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.7002, allocations: 84.8 kB / 0.6944 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.7005, allocations: 234.1 kB / 0.6946 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.7006, allocations: 30.95 kB / 0.6947 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.7007, allocations: 165 kB / 0.6948 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.7009, allocations: 89.66 kB / 0.6949 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.7009, allocations: 6.219 kB / 0.6949 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.701, allocations: 336.9 kB / 0.6952 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/0.7018, allocations: 181.9 kB / 0.6954 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.7026, allocations: 249.6 kB / 0.6957 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/0.7034, allocations: 239.2 kB / 0.6959 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7034, allocations: 1.281 kB / 0.6959 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002077/0.7055, allocations: 0.5614 MB / 0.6964 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.7058, allocations: 0.9041 MB / 0.6973 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.7058, allocations: 2.969 kB / 0.6973 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.7062, allocations: 47.25 kB / 0.6974 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/0.707, allocations: 85.67 kB / 0.6974 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.7088, allocations: 1.521 MB / 0.6989 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.7095, allocations: 51.02 kB / 0.699 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.7096, allocations: 19.95 kB / 0.699 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7096, allocations: 6.156 kB / 0.699 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001833/0.7115, allocations: 0.4949 MB / 0.6995 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.7115, allocations: 2.281 kB / 0.6995 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.7118, allocations: 47.12 kB / 0.6995 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.7125, allocations: 86.97 kB / 0.6996 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.714, allocations: 1.493 MB / 0.7011 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.7147, allocations: 52.05 kB / 0.7011 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.7148, allocations: 19.84 kB / 0.7011 GB, free: 4.445 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.0003448/0.7152, allocations: 239.7 kB / 0.7014 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.7153, allocations: 24.42 kB / 0.7014 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.7171, allocations: 498.4 kB / 0.7019 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.7171, allocations: 8.141 kB / 0.7019 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7171, allocations: 1.25 kB / 0.7019 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.7172, allocations: 3.984 kB / 0.7019 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.7182, allocations: 0.5562 MB / 0.7024 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7182, allocations: 1.375 kB / 0.7024 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.7189, allocations: 87.73 kB / 0.7025 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.7191, allocations: 45.77 kB / 0.7026 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.7192, allocations: 6.438 kB / 0.7026 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.7206, allocations: 1.423 MB / 0.7039 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.7206, allocations: 1.781 kB / 0.7039 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.7224, allocations: 0.5974 MB / 0.7045 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.7227, allocations: 132 kB / 0.7047 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.7228, allocations: 10.91 kB / 0.7047 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.7233, allocations: 47.95 kB / 0.7047 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.7235, allocations: 36.28 kB / 0.7047 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.7235, allocations: 7.281 kB / 0.7048 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002279/0.7238, allocations: 171.8 kB / 0.7049 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7238, allocations: 4 kB / 0.7049 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009594/0.7248, allocations: 124.5 kB / 0.705 GB, free: 1.227 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.002088/0.7269, allocations: 1.363 MB / 0.7064 GB, free: 72 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003252/0.7302, allocations: 1.006 MB / 0.7074 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7302, allocations: 0 / 0.7074 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.7313, allocations: 342.8 kB / 0.7077 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.732, allocations: 42.3 kB / 0.7077 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.7385, allocations: 3.324 MB / 0.711 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.7391, allocations: 0.7919 MB / 0.7117 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000604/0.7397, allocations: 94.89 kB / 0.7118 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.74, allocations: 82.16 kB / 0.7119 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.233e-06/0.74, allocations: 1.031 kB / 0.7119 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.7738, allocations: 6.569 MB / 0.7183 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.7741, allocations: 229.9 kB / 0.7185 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.465, allocations: 7.938 kB / 0.7186 GB, free: 8.25 MB / 0.5417 GB