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.01098/0.01098, allocations: 106.1 kB / 15.05 MB, free: 5.93 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.001163/0.001163, allocations: 186.9 kB / 15.95 MB, free: 5.895 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.013/2.013, 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.334/2.334, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006719/0.000672, allocations: 15.98 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7118/0.7125, allocations: 98.72 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/0.9895, allocations: 146.6 MB / 0.8266 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/0.9899, allocations: 99.92 kB / 0.8267 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05638/1.046, allocations: 14.22 MB / 0.8405 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.044e-06/1.046, allocations: 4 kB / 0.8405 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.673e-05/1.046, allocations: 4 kB / 0.8405 GB, free: 13.11 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009073/1.047, allocations: 486.9 kB / 0.841 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.047, allocations: 8.031 kB / 0.841 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.097e-05/1.047, allocations: 58.53 kB / 0.8411 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/1.048, allocations: 83.58 kB / 0.8412 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/1.049, allocations: 230.8 kB / 0.8414 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/1.049, allocations: 12.33 kB / 0.8414 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/1.049, allocations: 20 kB / 0.8414 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/1.05, allocations: 312 kB / 0.8417 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/1.05, allocations: 3.906 kB / 0.8417 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/1.05, allocations: 8 kB / 0.8417 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/1.05, allocations: 19.98 kB / 0.8417 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006321/1.05, allocations: 251.7 kB / 0.842 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/1.053, allocations: 1.629 MB / 0.8436 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.054, allocations: 414.5 kB / 0.844 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/1.054, allocations: 85.09 kB / 0.844 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.054, allocations: 34.56 kB / 0.8441 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 4.939e-06/1.054, allocations: 7.984 kB / 0.8441 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0009546/1.055, allocations: 316.5 kB / 0.8444 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.055, allocations: 81.11 kB / 0.8445 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/1.055, allocations: 151.9 kB / 0.8446 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.055, allocations: 29.7 kB / 0.8446 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.056, allocations: 147.8 kB / 0.8448 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/1.056, allocations: 51.45 kB / 0.8448 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/1.056, allocations: 4 kB / 0.8448 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.056, allocations: 326.8 kB / 0.8451 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/1.056, allocations: 75.95 kB / 0.8452 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/1.056, allocations: 141.4 kB / 0.8453 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/1.057, allocations: 107.9 kB / 0.8455 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.057, allocations: 0 / 0.8455 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006498/1.057, allocations: 273.2 kB / 0.8457 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004436/1.058, allocations: 0.9602 MB / 0.8466 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.058, allocations: 3.984 kB / 0.8467 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.058, allocations: 4 kB / 0.8467 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/1.058, allocations: 56.09 kB / 0.8467 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.058, allocations: 8 kB / 0.8467 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/1.058, allocations: 23.77 kB / 0.8467 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/1.059, allocations: 15.98 kB / 0.8468 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.059, allocations: 4 kB / 0.8468 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005194/1.059, allocations: 203.7 kB / 0.847 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.059, allocations: 4.312 kB / 0.847 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/1.059, allocations: 8 kB / 0.847 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/1.059, allocations: 55.91 kB / 0.847 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.059, allocations: 3.938 kB / 0.847 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/1.06, allocations: 11.98 kB / 0.847 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/1.06, allocations: 15.95 kB / 0.847 GB, free: 5.918 MB / 0.6667 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.0002374/1.06, allocations: 225 kB / 0.8473 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/1.06, allocations: 19.81 kB / 0.8473 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/1.061, allocations: 199.8 kB / 0.8475 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.061, allocations: 4 kB / 0.8475 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.061, allocations: 0 / 0.8475 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.061, allocations: 0 / 0.8475 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/1.063, allocations: 0.9651 MB / 0.8484 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.063, allocations: 4.438 kB / 0.8484 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/1.063, allocations: 35.92 kB / 0.8485 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/1.063, allocations: 7.984 kB / 0.8485 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/1.063, allocations: 4 kB / 0.8485 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/1.063, allocations: 4 kB / 0.8485 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.063, allocations: 7.938 kB / 0.8485 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/1.064, allocations: 0.581 MB / 0.849 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/1.064, allocations: 120.8 kB / 0.8492 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/1.064, allocations: 4 kB / 0.8492 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/1.064, allocations: 11.98 kB / 0.8492 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/1.064, allocations: 27.88 kB / 0.8492 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/1.064, allocations: 4 kB / 0.8492 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001924/1.065, allocations: 137.5 kB / 0.8493 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.4e-07/1.065, allocations: 0 / 0.8493 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007992/1.065, allocations: 84 kB / 0.8494 GB, free: 3.207 MB / 0.6667 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.001513/1.067, allocations: 2.024 MB / 0.8514 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008271/1.068, allocations: 303.7 kB / 0.8517 GB, free: 0.7734 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.068, allocations: 0 / 0.8517 GB, free: 0.7734 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/1.068, allocations: 81.83 kB / 0.8518 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/1.068, allocations: 39.97 kB / 0.8518 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/1.072, allocations: 2.741 MB / 0.8545 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/1.072, allocations: 0.7597 MB / 0.8552 GB, free: 13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004059/1.073, allocations: 81.61 kB / 0.8553 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/1.073, allocations: 47.42 kB / 0.8553 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/1.073, allocations: 0 / 0.8553 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/1.097, allocations: 3.338 MB / 0.8586 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/1.098, allocations: 210.8 kB / 0.8588 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.491, allocations: 0 / 0.8588 GB, free: 9.445 MB / 0.6823 GB