Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01413/0.01413, allocations: 89.55 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001854/0.001854, allocations: 172.2 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.21/2.21, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.491/2.491, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006735/0.0006738, allocations: 10.84 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2202, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004095/0.2243, allocations: 2.239 MB / 0.7303 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.2275, allocations: 1.389 MB / 0.7316 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2276, allocations: 4 kB / 0.7316 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.2278, allocations: 31.77 kB / 0.7317 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00053/0.2283, allocations: 115.6 kB / 0.7318 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.2288, allocations: 119.7 kB / 0.7319 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.2291, allocations: 135.7 kB / 0.732 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.2299, allocations: 298.5 kB / 0.7323 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.2301, allocations: 67.75 kB / 0.7324 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.2304, allocations: 71.75 kB / 0.7324 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2304, allocations: 4 kB / 0.7324 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.2308, allocations: 131.8 kB / 0.7326 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.2309, allocations: 59.83 kB / 0.7326 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.231, allocations: 53.64 kB / 0.7327 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.2314, allocations: 243.6 kB / 0.7329 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2314, allocations: 0 / 0.7329 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2314, allocations: 0 / 0.7329 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.2315, allocations: 0 / 0.7329 GB, free: 5.172 MB / 0.5573 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.0008665/0.2323, allocations: 459 kB / 0.7333 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.2324, allocations: 12.03 kB / 0.7333 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.2325, allocations: 54.5 kB / 0.7334 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00093/0.2334, allocations: 83.72 kB / 0.7335 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.2338, allocations: 238.7 kB / 0.7337 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2338, allocations: 12.33 kB / 0.7337 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.2339, allocations: 16 kB / 0.7337 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.2347, allocations: 315.8 kB / 0.734 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2347, allocations: 0 / 0.734 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.2348, allocations: 11.94 kB / 0.734 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-05/0.2348, allocations: 28.22 kB / 0.7341 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.2355, allocations: 252.6 kB / 0.7343 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.238, allocations: 1.634 MB / 0.7359 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2391, allocations: 403.2 kB / 0.7363 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.2393, allocations: 97.08 kB / 0.7364 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2393, allocations: 34.5 kB / 0.7364 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.2393, allocations: 0 / 0.7364 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.0009604/0.2403, allocations: 308.6 kB / 0.7367 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.2404, allocations: 81.11 kB / 0.7368 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.2406, allocations: 168.2 kB / 0.7369 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2407, allocations: 37.7 kB / 0.737 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2408, allocations: 151.9 kB / 0.7371 GB, free: 440 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.2408, allocations: 47.3 kB / 0.7372 GB, free: 392 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.2409, allocations: 4 kB / 0.7372 GB, free: 388 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2411, allocations: 326.8 kB / 0.7375 GB, free: 52 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.2413, allocations: 75.95 kB / 0.7376 GB, free: 15.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.2416, allocations: 153.3 kB / 0.7377 GB, free: 15.79 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.2418, allocations: 95.97 kB / 0.7378 GB, free: 15.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2419, allocations: 0 / 0.7378 GB, free: 15.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006602/0.2425, allocations: 277.1 kB / 0.7381 GB, free: 15.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.243, allocations: 0.9524 MB / 0.739 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.243, allocations: 8 kB / 0.739 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.243, allocations: 4 kB / 0.739 GB, free: 14.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.2435, allocations: 55.89 kB / 0.7391 GB, free: 14.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.2435, allocations: 4 kB / 0.7391 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.2438, allocations: 15.98 kB / 0.7391 GB, free: 14.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.2438, allocations: 15.98 kB / 0.7391 GB, free: 14.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2438, allocations: 4 kB / 0.7391 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005734/0.2444, allocations: 203.9 kB / 0.7393 GB, free: 14.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2444, allocations: 4 kB / 0.7393 GB, free: 14.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.2445, allocations: 7.938 kB / 0.7393 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.2448, allocations: 51.86 kB / 0.7394 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2448, allocations: 7.938 kB / 0.7394 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.2451, allocations: 27.83 kB / 0.7394 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.2451, allocations: 12 kB / 0.7394 GB, free: 13.98 MB / 0.573 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.0002349/0.2453, allocations: 221.2 kB / 0.7396 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.2454, allocations: 15.91 kB / 0.7396 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/0.246, allocations: 199.8 kB / 0.7398 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.246, allocations: 8.141 kB / 0.7398 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.246, allocations: 0 / 0.7398 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.246, allocations: 3.938 kB / 0.7398 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.248, allocations: 0.973 MB / 0.7408 GB, free: 12.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.248, allocations: 0 / 0.7408 GB, free: 12.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.2483, allocations: 31.98 kB / 0.7408 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.2483, allocations: 4 kB / 0.7408 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2483, allocations: 4 kB / 0.7408 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/0.2483, allocations: 11.92 kB / 0.7408 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.2484, allocations: 7.938 kB / 0.7408 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.249, allocations: 0.5815 MB / 0.7414 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.2492, allocations: 105 kB / 0.7415 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.2492, allocations: 11.98 kB / 0.7415 GB, free: 11.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.2495, allocations: 15.98 kB / 0.7415 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.2496, allocations: 23.88 kB / 0.7415 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.2496, allocations: 4 kB / 0.7416 GB, free: 11.49 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001616/0.2498, allocations: 132 kB / 0.7417 GB, free: 11.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2498, allocations: 0 / 0.7417 GB, free: 11.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000734/0.2506, allocations: 72 kB / 0.7417 GB, free: 11.29 MB / 0.573 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.001301/0.2519, allocations: 2.032 MB / 0.7437 GB, free: 9.145 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007706/0.2527, allocations: 292.7 kB / 0.744 GB, free: 8.859 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.2527, allocations: 4 kB / 0.744 GB, free: 8.855 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.2529, allocations: 88.06 kB / 0.7441 GB, free: 8.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.2534, allocations: 23.34 kB / 0.7441 GB, free: 8.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.2566, allocations: 2.731 MB / 0.7468 GB, free: 5.887 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2571, allocations: 0.7479 MB / 0.7475 GB, free: 5.113 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004277/0.2576, allocations: 77.47 kB / 0.7476 GB, free: 5.035 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2577, allocations: 51.42 kB / 0.7476 GB, free: 4.984 MB / 0.573 GB Notification: Performance of SimCode: time 1.512e-06/0.2578, allocations: 7.938 kB / 0.7476 GB, free: 4.977 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.2839, allocations: 3.337 MB / 0.7509 GB, free: 1.781 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.2843, allocations: 217.4 kB / 0.7511 GB, free: 1.539 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.613, allocations: 0 / 0.7511 GB, free: 1.539 MB / 0.573 GB