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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009285/0.009291, allocations: 111.6 kB / 15.06 MB, free: 5.562 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.001148/0.001148, allocations: 179.7 kB / 15.95 MB, free: 5.523 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.947/1.947, allocations: 194.6 MB / 211.3 MB, free: 11.28 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.144/2.144, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 11.98 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5538, allocations: 98.72 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003454/0.5573, allocations: 2.219 MB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.5598, allocations: 1.372 MB / 0.6869 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.56, allocations: 2.688 kB / 0.6869 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.5602, allocations: 29.56 kB / 0.6869 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.5607, allocations: 121.2 kB / 0.687 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.5611, allocations: 116.2 kB / 0.6871 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.5614, allocations: 131.4 kB / 0.6872 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.5621, allocations: 309.3 kB / 0.6875 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.5623, allocations: 66.55 kB / 0.6876 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.5625, allocations: 74.5 kB / 0.6877 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.5626, allocations: 7.094 kB / 0.6877 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.563, allocations: 124.3 kB / 0.6878 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/0.5631, allocations: 54.25 kB / 0.6878 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.5631, allocations: 57.27 kB / 0.6879 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.5635, allocations: 236.8 kB / 0.6881 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.9e-06/0.5636, allocations: 0 / 0.6881 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.66e-06/0.5636, allocations: 2.062 kB / 0.6881 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.5636, allocations: 0 / 0.6881 GB, free: 13.74 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.0006291/0.5642, allocations: 459.5 kB / 0.6886 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5643, allocations: 9.812 kB / 0.6886 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.5651, allocations: 88.84 kB / 0.6887 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.5654, allocations: 228 kB / 0.6889 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5654, allocations: 18.78 kB / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.5655, allocations: 19.42 kB / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.5661, allocations: 316.1 kB / 0.6892 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.5662, allocations: 1.891 kB / 0.6892 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.5662, allocations: 6.812 kB / 0.6892 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.5663, allocations: 27.05 kB / 0.6892 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.5668, allocations: 251.4 kB / 0.6895 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.5686, allocations: 1.628 MB / 0.6911 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.5694, allocations: 418.1 kB / 0.6915 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.5695, allocations: 85.88 kB / 0.6916 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5696, allocations: 32.8 kB / 0.6916 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 3.052e-06/0.5696, allocations: 0 / 0.6916 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0008416/0.5704, allocations: 307.7 kB / 0.6919 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.5705, allocations: 83.44 kB / 0.692 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.5707, allocations: 166.9 kB / 0.6921 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5707, allocations: 34.77 kB / 0.6922 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.5708, allocations: 149.4 kB / 0.6923 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.5709, allocations: 50.72 kB / 0.6923 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.5709, allocations: 4 kB / 0.6923 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.571, allocations: 327.8 kB / 0.6927 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.5711, allocations: 75.62 kB / 0.6927 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.5714, allocations: 150.6 kB / 0.6929 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.5716, allocations: 108.9 kB / 0.693 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5716, allocations: 0 / 0.693 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005452/0.5721, allocations: 275 kB / 0.6932 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.5724, allocations: 0.9645 MB / 0.6942 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.64e-06/0.5724, allocations: 2.25 kB / 0.6942 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5724, allocations: 8.688 kB / 0.6942 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.5728, allocations: 53.42 kB / 0.6942 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.5728, allocations: 4.453 kB / 0.6942 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.573, allocations: 17.38 kB / 0.6943 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.573, allocations: 12.61 kB / 0.6943 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5731, allocations: 4.625 kB / 0.6943 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004256/0.5735, allocations: 210.6 kB / 0.6945 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.075e-06/0.5735, allocations: 2.625 kB / 0.6945 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.761e-06/0.5735, allocations: 3.969 kB / 0.6945 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.5738, allocations: 53.38 kB / 0.6945 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.5738, allocations: 9.016 kB / 0.6945 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.574, allocations: 13.33 kB / 0.6946 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.574, allocations: 20.73 kB / 0.6946 GB, free: 8.531 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.0001718/0.5742, allocations: 218.8 kB / 0.6948 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.5743, allocations: 14.83 kB / 0.6948 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.5748, allocations: 206 kB / 0.695 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5748, allocations: 2.281 kB / 0.695 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.561e-06/0.5748, allocations: 5.391 kB / 0.695 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.5748, allocations: 5.5 kB / 0.695 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.5764, allocations: 0.9577 MB / 0.6959 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.111e-06/0.5764, allocations: 3.828 kB / 0.696 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.5766, allocations: 39.03 kB / 0.696 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.5767, allocations: 4.812 kB / 0.696 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5767, allocations: 5.344 kB / 0.696 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.5767, allocations: 4.5 kB / 0.696 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.228e-06/0.5767, allocations: 12.25 kB / 0.696 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.5772, allocations: 0.5749 MB / 0.6966 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5773, allocations: 109.4 kB / 0.6967 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.5774, allocations: 9.875 kB / 0.6967 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.5777, allocations: 11.2 kB / 0.6967 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.5777, allocations: 24.12 kB / 0.6967 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.5778, allocations: 5.5 kB / 0.6967 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001363/0.5779, allocations: 134.1 kB / 0.6969 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.23e-07/0.5779, allocations: 4 kB / 0.6969 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007502/0.5787, allocations: 71.59 kB / 0.6969 GB, free: 6.656 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.0001531/0.5788, allocations: 124.1 kB / 0.697 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006402/0.5795, allocations: 298.7 kB / 0.6973 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.193e-06/0.5795, allocations: 0 / 0.6973 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.5797, allocations: 85.08 kB / 0.6974 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.5801, allocations: 32.72 kB / 0.6974 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5812, allocations: 0.5722 MB / 0.698 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5814, allocations: 0.7473 MB / 0.6987 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003947/0.5818, allocations: 74.22 kB / 0.6988 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.5819, allocations: 17.81 kB / 0.6988 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of SimCode: time 1.492e-06/0.5819, allocations: 4 kB / 0.6988 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of Templates: time 0.00596/0.5879, allocations: 1.674 MB / 0.7005 GB, free: 4.957 MB / 0.5261 GB