Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.01781/0.01781, allocations: 225.2 kB / 15.18 MB, free: 5.922 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.002007/0.002007, allocations: 176 kB / 16.06 MB, free: 5.828 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 4.175/4.175, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.163/4.163, allocations: 472.3 MB / 0.9017 GB, free: 18.78 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005112, allocations: 8.219 kB / 1.008 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 98.71 MB / 1.104 GB, free: 10.61 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02949/0.2507, allocations: 15.59 MB / 1.119 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.2647, allocations: 5.539 MB / 1.125 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.2664, allocations: 47.81 kB / 1.125 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.268, allocations: 325.6 kB / 1.125 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.2715, allocations: 0.7759 MB / 1.126 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.2754, allocations: 0.7782 MB / 1.127 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.008303/0.2837, allocations: 4.973 MB / 1.131 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01662/0.3004, allocations: 7.02 MB / 1.138 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.3037, allocations: 1.281 MB / 1.14 GB, free: 6.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/0.3087, allocations: 1.889 MB / 1.141 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.3099, allocations: 192 kB / 1.142 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.3124, allocations: 407.5 kB / 1.142 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003044/0.3155, allocations: 1.392 MB / 1.143 GB, free: 2.285 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.3172, allocations: 0.5589 MB / 1.144 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.5712/0.8885, allocations: 5.335 MB / 1.149 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.8886, allocations: 0 / 1.149 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.055e-06/0.8886, allocations: 1.562 kB / 1.149 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002565/0.8888, allocations: 0 / 1.149 GB, free: 42.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01041/0.8993, allocations: 2.5 MB / 1.152 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.8993, allocations: 10.53 kB / 1.152 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002562/0.9019, allocations: 466.4 kB / 1.152 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.9124, allocations: 1.213 MB / 1.153 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006403/0.9188, allocations: 1.595 MB / 1.155 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.9193, allocations: 223 kB / 1.155 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.9211, allocations: 289 kB / 1.155 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.9399, allocations: 5.276 MB / 1.16 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.9401, allocations: 10.78 kB / 1.16 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009412/0.941, allocations: 123.1 kB / 1.161 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003887/0.9414, allocations: 206.9 kB / 1.161 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.9567, allocations: 4.75 MB / 1.165 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04707/1.004, allocations: 23.21 MB / 1.188 GB, free: 26.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009093/1.013, allocations: 3.179 MB / 1.191 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002677/1.016, allocations: 0.9222 MB / 1.192 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/1.016, allocations: 102.1 kB / 1.192 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/1.016, allocations: 51.22 kB / 1.192 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 4.058e-06/1.016, allocations: 1.25 kB / 1.192 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82): time 0.006392/1.022, allocations: 2.084 MB / 1.194 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.023, allocations: 220.2 kB / 1.194 GB, free: 23.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/1.025, allocations: 1.093 MB / 1.195 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003716/1.026, allocations: 37.58 kB / 1.196 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.027, allocations: 1.278 MB / 1.197 GB, free: 21.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/1.027, allocations: 310.3 kB / 1.197 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/1.027, allocations: 30.06 kB / 1.197 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002121/1.028, allocations: 411.6 kB / 1.197 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/1.03, allocations: 0.8801 MB / 1.198 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002952/1.033, allocations: 1.513 MB / 1.2 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/1.036, allocations: 1.176 MB / 1.201 GB, free: 19.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-05/1.036, allocations: 5.5 kB / 1.201 GB, free: 19.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00707/1.043, allocations: 2.489 MB / 1.203 GB, free: 18.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004649/1.044, allocations: 0.6487 MB / 1.204 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/1.044, allocations: 18.5 kB / 1.204 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.389e-05/1.044, allocations: 33.41 kB / 1.204 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/1.048, allocations: 460.4 kB / 1.205 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.705e-05/1.048, allocations: 42.3 kB / 1.205 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/1.051, allocations: 352.1 kB / 1.205 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/1.051, allocations: 80.22 kB / 1.205 GB, free: 17.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.051, allocations: 3.625 kB / 1.205 GB, free: 17.42 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005954/1.057, allocations: 2.213 MB / 1.207 GB, free: 16.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/1.057, allocations: 18.06 kB / 1.207 GB, free: 16.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-05/1.057, allocations: 30.75 kB / 1.207 GB, free: 16.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/1.061, allocations: 445.5 kB / 1.208 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.16e-05/1.061, allocations: 37.97 kB / 1.208 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.063, allocations: 252.9 kB / 1.208 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005035/1.064, allocations: 77.16 kB / 1.208 GB, free: 16.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.003797/1.068, allocations: 1.278 MB / 1.209 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/1.068, allocations: 104.1 kB / 1.209 GB, free: 16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/1.072, allocations: 1.574 MB / 1.211 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.072, allocations: 9.156 kB / 1.211 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.072, allocations: 2.125 kB / 1.211 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.072, allocations: 8.281 kB / 1.211 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.084, allocations: 4.5 MB / 1.215 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/1.084, allocations: 2.906 kB / 1.215 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.086, allocations: 246.6 kB / 1.216 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/1.086, allocations: 8.297 kB / 1.216 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/1.086, allocations: 22.23 kB / 1.216 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/1.086, allocations: 4.625 kB / 1.216 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.086, allocations: 3.188 kB / 1.216 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/1.089, allocations: 1.911 MB / 1.217 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.09, allocations: 358.7 kB / 1.218 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/1.091, allocations: 25.62 kB / 1.218 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.092, allocations: 124.5 kB / 1.218 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.092, allocations: 48.31 kB / 1.218 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/1.093, allocations: 24.22 kB / 1.218 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001717/1.094, allocations: 0.7946 MB / 1.219 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/1.094, allocations: 0 / 1.219 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005374/1.1, allocations: 1.302 MB / 1.22 GB, free: 10.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.003782/1.103, allocations: 2.495 MB / 1.222 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00696/1.11, allocations: 2.971 MB / 1.225 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.111, allocations: 3.469 kB / 1.225 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.112, allocations: 0.6625 MB / 1.226 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.114, allocations: 178.9 kB / 1.226 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.14, allocations: 11.02 MB / 1.237 GB, free: 292 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003349/1.143, allocations: 2.249 MB / 1.239 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00489/1.148, allocations: 1.108 MB / 1.24 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002375/1.15, allocations: 0.8351 MB / 1.241 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.523e-06/1.15, allocations: 0 / 1.241 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08859/1.239, allocations: 30.64 MB / 1.271 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/1.239, allocations: 213.8 kB / 1.271 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/4.575, allocations: 0 / 1.271 GB, free: 14.75 MB / 0.6511 GB