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.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.01126/0.01126, allocations: 108.3 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.001191/0.001191, allocations: 186.5 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 1.85/1.85, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.372/2.372, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006662, allocations: 16 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6948, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003775/0.6987, allocations: 2.215 MB / 0.6856 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.7017, allocations: 1.372 MB / 0.6869 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.7019, allocations: 7.094 kB / 0.687 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.7021, allocations: 24.58 kB / 0.687 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006021/0.7027, allocations: 120.3 kB / 0.6871 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.7033, allocations: 121.7 kB / 0.6872 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.7036, allocations: 126.3 kB / 0.6873 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.7044, allocations: 309.3 kB / 0.6876 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.7046, allocations: 66.14 kB / 0.6877 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.7049, allocations: 76.19 kB / 0.6878 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.7049, allocations: 6.812 kB / 0.6878 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.7053, allocations: 127 kB / 0.6879 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.7055, allocations: 54.52 kB / 0.6879 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.7055, allocations: 60.77 kB / 0.688 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.706, allocations: 239.2 kB / 0.6882 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.706, allocations: 0 / 0.6882 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/0.706, allocations: 0 / 0.6882 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.7061, allocations: 0 / 0.6882 GB, free: 13.72 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007745/0.7068, allocations: 457.6 kB / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7069, allocations: 8.562 kB / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.612e-05/0.707, allocations: 54.2 kB / 0.6887 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009482/0.708, allocations: 85.36 kB / 0.6888 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.7083, allocations: 235.9 kB / 0.689 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.7083, allocations: 11.11 kB / 0.689 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.7084, allocations: 14.83 kB / 0.6891 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.7091, allocations: 320.2 kB / 0.6894 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.7092, allocations: 1.594 kB / 0.6894 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.7092, allocations: 6.125 kB / 0.6894 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-05/0.7093, allocations: 27.45 kB / 0.6894 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.71, allocations: 250.1 kB / 0.6896 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.7122, allocations: 1.63 MB / 0.6912 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.7133, allocations: 410 kB / 0.6916 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.7134, allocations: 90.86 kB / 0.6917 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.7135, allocations: 31.53 kB / 0.6917 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 3.076e-06/0.7135, allocations: 0 / 0.6917 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.001011/0.7145, allocations: 308 kB / 0.692 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.7146, allocations: 78.83 kB / 0.6921 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.7148, allocations: 169.4 kB / 0.6923 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.7148, allocations: 33.83 kB / 0.6923 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.7149, allocations: 154.4 kB / 0.6924 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.715, allocations: 50.12 kB / 0.6925 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.715, allocations: 5.094 kB / 0.6925 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.7151, allocations: 326.6 kB / 0.6928 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.7153, allocations: 75.97 kB / 0.6929 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.7156, allocations: 154.4 kB / 0.693 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.7158, allocations: 104 kB / 0.6931 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7158, allocations: 4.906 kB / 0.6931 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006528/0.7165, allocations: 275.2 kB / 0.6934 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.7167, allocations: 0.9561 MB / 0.6943 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7167, allocations: 2.688 kB / 0.6943 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.7168, allocations: 12.03 kB / 0.6943 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.7172, allocations: 53.98 kB / 0.6944 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.7173, allocations: 3.938 kB / 0.6944 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.7175, allocations: 16.88 kB / 0.6944 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.7176, allocations: 14.06 kB / 0.6944 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.7176, allocations: 3.719 kB / 0.6944 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004977/0.7181, allocations: 210.2 kB / 0.6946 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7181, allocations: 6.172 kB / 0.6946 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.7181, allocations: 5 kB / 0.6946 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.7185, allocations: 57.31 kB / 0.6947 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7185, allocations: 5.25 kB / 0.6947 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7187, allocations: 13.89 kB / 0.6947 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.7188, allocations: 11.45 kB / 0.6947 GB, free: 8.484 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.719, allocations: 223.8 kB / 0.6949 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.7191, allocations: 18.16 kB / 0.6949 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.7196, allocations: 206.4 kB / 0.6951 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7196, allocations: 5.297 kB / 0.6952 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7197, allocations: 1.125 kB / 0.6952 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.7197, allocations: 2.391 kB / 0.6952 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.7215, allocations: 0.9655 MB / 0.6961 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7215, allocations: 3.219 kB / 0.6961 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.7218, allocations: 35.64 kB / 0.6961 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.7218, allocations: 4.25 kB / 0.6961 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.7218, allocations: 5.625 kB / 0.6961 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.7218, allocations: 5.078 kB / 0.6961 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.7219, allocations: 7.281 kB / 0.6962 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.7225, allocations: 0.5796 MB / 0.6967 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.7226, allocations: 112.9 kB / 0.6968 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.7227, allocations: 5.875 kB / 0.6968 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.723, allocations: 19.78 kB / 0.6969 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.723, allocations: 26.88 kB / 0.6969 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.7231, allocations: 7.578 kB / 0.6969 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001514/0.7232, allocations: 132.5 kB / 0.697 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7232, allocations: 0 / 0.697 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007415/0.724, allocations: 75.42 kB / 0.6971 GB, free: 6.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009647/0.725, allocations: 2.022 MB / 0.6991 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007826/0.7258, allocations: 298 kB / 0.6993 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7258, allocations: 1.25 kB / 0.6993 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.726, allocations: 89 kB / 0.6994 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.7265, allocations: 25.25 kB / 0.6995 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.7293, allocations: 2.746 MB / 0.7021 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.7296, allocations: 0.7473 MB / 0.7029 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004125/0.7301, allocations: 73.98 kB / 0.7029 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.7302, allocations: 50.41 kB / 0.703 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.7302, allocations: 0 / 0.703 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.7539, allocations: 3.349 MB / 0.7063 GB, free: 200 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.7543, allocations: 215.3 kB / 0.7065 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.219, allocations: 0 / 0.7065 GB, free: 15.96 MB / 0.5417 GB