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.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.01578/0.01578, allocations: 106.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.001793/0.001793, allocations: 179.6 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.07/2.07, allocations: 194.6 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.289/2.289, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005048, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7367, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004278/0.741, allocations: 2.594 MB / 0.686 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.7448, allocations: 1.79 MB / 0.6877 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.7451, allocations: 2.906 kB / 0.6877 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.7453, allocations: 34.11 kB / 0.6877 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.7459, allocations: 130.2 kB / 0.6879 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008626/0.7468, allocations: 175.5 kB / 0.688 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.7472, allocations: 184.4 kB / 0.6882 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008206/0.7481, allocations: 308.7 kB / 0.6885 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.7483, allocations: 99.5 kB / 0.6886 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.7487, allocations: 98.3 kB / 0.6887 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.7487, allocations: 10.88 kB / 0.6887 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008279/0.7496, allocations: 241.8 kB / 0.6889 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.7497, allocations: 68.88 kB / 0.689 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.678e-05/0.7498, allocations: 66.89 kB / 0.6891 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000861/0.7507, allocations: 363.6 kB / 0.6894 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7507, allocations: 0 / 0.6894 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7507, allocations: 1.781 kB / 0.6894 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7508, allocations: 0 / 0.6894 GB, free: 13.09 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001004/0.7518, allocations: 0.5209 MB / 0.6899 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.7518, allocations: 9.844 kB / 0.6899 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.371e-05/0.7519, allocations: 56.36 kB / 0.69 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.7534, allocations: 119.2 kB / 0.6901 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.7539, allocations: 265.2 kB / 0.6904 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.754, allocations: 17.06 kB / 0.6904 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.754, allocations: 15.47 kB / 0.6904 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008543/0.7549, allocations: 345.2 kB / 0.6907 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7549, allocations: 3.938 kB / 0.6907 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.755, allocations: 10.64 kB / 0.6907 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-05/0.7551, allocations: 25.5 kB / 0.6908 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.7559, allocations: 298.7 kB / 0.691 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.759, allocations: 1.736 MB / 0.6927 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.7598, allocations: 320 kB / 0.693 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.7599, allocations: 86.27 kB / 0.6931 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.76, allocations: 41.2 kB / 0.6932 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.76, allocations: 0 / 0.6932 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.004097/0.7641, allocations: 0.9739 MB / 0.6941 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.7642, allocations: 80.12 kB / 0.6942 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.7645, allocations: 214 kB / 0.6944 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.7645, allocations: 35.48 kB / 0.6944 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.7646, allocations: 174.8 kB / 0.6946 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.7647, allocations: 76.45 kB / 0.6947 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.7648, allocations: 9 kB / 0.6947 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.7649, allocations: 335.3 kB / 0.695 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.7652, allocations: 129.3 kB / 0.6951 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.7656, allocations: 201.4 kB / 0.6953 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.766, allocations: 164.2 kB / 0.6955 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.766, allocations: 0 / 0.6955 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001494/0.7675, allocations: 0.5075 MB / 0.696 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.7676, allocations: 5.312 kB / 0.696 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7676, allocations: 3.031 kB / 0.696 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008069/0.7684, allocations: 154.6 kB / 0.6961 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.7689, allocations: 56.89 kB / 0.6962 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.7723, allocations: 3.995 MB / 0.7001 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.7728, allocations: 22.14 kB / 0.7001 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.7729, allocations: 16.12 kB / 0.7001 GB, free: 4.535 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002483/0.7731, allocations: 164.7 kB / 0.7003 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.7732, allocations: 23.06 kB / 0.7003 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.7746, allocations: 480.5 kB / 0.7007 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.7747, allocations: 2.75 kB / 0.7007 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7747, allocations: 2.031 kB / 0.7007 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7747, allocations: 0.9844 kB / 0.7007 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.7771, allocations: 1.011 MB / 0.7017 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7772, allocations: 2.625 kB / 0.7017 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.7774, allocations: 35.78 kB / 0.7018 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007042/0.7782, allocations: 146.5 kB / 0.7019 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.7782, allocations: 17.14 kB / 0.7019 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/0.7815, allocations: 3.97 MB / 0.7058 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7815, allocations: 2.625 kB / 0.7058 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.783, allocations: 0.7324 MB / 0.7065 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.7833, allocations: 131.8 kB / 0.7066 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.7833, allocations: 15.86 kB / 0.7067 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.7837, allocations: 18.27 kB / 0.7067 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.7838, allocations: 30.83 kB / 0.7067 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.7838, allocations: 7.5 kB / 0.7067 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002388/0.7841, allocations: 153.2 kB / 0.7069 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.395e-06/0.7841, allocations: 0 / 0.7069 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007697/0.7849, allocations: 97.3 kB / 0.707 GB, free: 14.56 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/0.7871, allocations: 1.918 MB / 0.7088 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.7887, allocations: 0.5642 MB / 0.7094 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7887, allocations: 0 / 0.7094 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008694/0.7896, allocations: 406.9 kB / 0.7098 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.7902, allocations: 33.91 kB / 0.7098 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.7952, allocations: 3.311 MB / 0.713 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.7957, allocations: 0.7886 MB / 0.7138 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003561/0.7961, allocations: 58.94 kB / 0.7139 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.7963, allocations: 70.84 kB / 0.7139 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/0.7963, allocations: 1.312 kB / 0.7139 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.833, allocations: 6.211 MB / 0.72 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/0.8334, allocations: 212.6 kB / 0.7202 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.472, allocations: 0 / 0.7202 GB, free: 5.168 MB / 0.5417 GB