Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 4.121/4.121, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.562e-05, allocations: 2.719 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1829, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7658/0.9487, allocations: 146.5 MB / 0.7777 GB, free: 56.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.949, allocations: 89.3 kB / 0.7778 GB, free: 56.58 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.03176/0.9808, allocations: 9.489 MB / 0.7871 GB, free: 55.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.522e-06/0.9809, allocations: 0 / 0.7871 GB, free: 55.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.9809, allocations: 3.094 kB / 0.7871 GB, free: 55.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004493/0.9813, allocations: 409.7 kB / 0.7875 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9814, allocations: 14.44 kB / 0.7875 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.9819, allocations: 51.36 kB / 0.7875 GB, free: 55.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.9822, allocations: 217.7 kB / 0.7878 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.9822, allocations: 10.48 kB / 0.7878 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.9823, allocations: 12.94 kB / 0.7878 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.9827, allocations: 223.2 kB / 0.788 GB, free: 54.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.9827, allocations: 3.938 kB / 0.788 GB, free: 54.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.9828, allocations: 2.5 kB / 0.788 GB, free: 54.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.9828, allocations: 15.17 kB / 0.788 GB, free: 54.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.9831, allocations: 142.8 kB / 0.7881 GB, free: 54.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.9843, allocations: 1.14 MB / 0.7893 GB, free: 53.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.9843, allocations: 30.17 kB / 0.7893 GB, free: 53.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.9844, allocations: 14.44 kB / 0.7893 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.9844, allocations: 1.125 kB / 0.7893 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.9844, allocations: 35.2 kB / 0.7893 GB, free: 53.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 2.917e-06/0.9845, allocations: 1.094 kB / 0.7893 GB, free: 53.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001611/0.9846, allocations: 54.12 kB / 0.7894 GB, free: 53.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.9847, allocations: 51.97 kB / 0.7894 GB, free: 53.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.9848, allocations: 165.4 kB / 0.7896 GB, free: 53.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.63e-06/0.9849, allocations: 33.64 kB / 0.7896 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.9849, allocations: 142.7 kB / 0.7898 GB, free: 53.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.985, allocations: 11.36 kB / 0.7898 GB, free: 53.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-06/0.985, allocations: 3.875 kB / 0.7898 GB, free: 53.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.9851, allocations: 318.2 kB / 0.7901 GB, free: 53.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.9851, allocations: 22.02 kB / 0.7901 GB, free: 53.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.9852, allocations: 93.31 kB / 0.7902 GB, free: 52.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.9853, allocations: 34.28 kB / 0.7902 GB, free: 52.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-06/0.9853, allocations: 1.375 kB / 0.7902 GB, free: 52.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00026/0.9856, allocations: 140.7 kB / 0.7904 GB, free: 52.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.9858, allocations: 0.9604 MB / 0.7913 GB, free: 51.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.608e-06/0.9858, allocations: 2.75 kB / 0.7913 GB, free: 51.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9858, allocations: 7 kB / 0.7913 GB, free: 51.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.986, allocations: 31.23 kB / 0.7913 GB, free: 51.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.986, allocations: 3.812 kB / 0.7913 GB, free: 51.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.9861, allocations: 13.69 kB / 0.7914 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.9862, allocations: 6.625 kB / 0.7914 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.245e-06/0.9862, allocations: 5.469 kB / 0.7914 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001977/0.9864, allocations: 99.38 kB / 0.7915 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.227e-06/0.9864, allocations: 2.469 kB / 0.7915 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.9864, allocations: 4.281 kB / 0.7915 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.9865, allocations: 26.53 kB / 0.7915 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.314e-06/0.9866, allocations: 7.812 kB / 0.7915 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.17e-05/0.9867, allocations: 20.44 kB / 0.7915 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.9867, allocations: 11.02 kB / 0.7915 GB, free: 51.84 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.599e-05/0.9868, allocations: 116 kB / 0.7916 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.9868, allocations: 7.875 kB / 0.7917 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.9869, allocations: 14.77 kB / 0.7917 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.9869, allocations: 1.344 kB / 0.7917 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.9869, allocations: 0 / 0.7917 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-06/0.9869, allocations: 1.766 kB / 0.7917 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.9874, allocations: 461 kB / 0.7921 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-06/0.9874, allocations: 1.125 kB / 0.7921 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.9874, allocations: 5.172 kB / 0.7921 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.771e-06/0.9874, allocations: 1.578 kB / 0.7921 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.9875, allocations: 1.375 kB / 0.7921 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.67e-06/0.9875, allocations: 5.797 kB / 0.7921 GB, free: 51.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.467e-06/0.9875, allocations: 1.219 kB / 0.7921 GB, free: 51.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.9876, allocations: 123.9 kB / 0.7922 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.9877, allocations: 94.69 kB / 0.7923 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.9877, allocations: 3.562 kB / 0.7923 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.9878, allocations: 0 / 0.7923 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.9878, allocations: 4.078 kB / 0.7923 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-06/0.9878, allocations: 5.75 kB / 0.7923 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001123/0.9879, allocations: 126.8 kB / 0.7925 GB, free: 51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.79e-07/0.988, allocations: 0 / 0.7925 GB, free: 51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004876/0.9885, allocations: 54.06 kB / 0.7925 GB, free: 51 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.878e-05/0.9886, allocations: 102.9 kB / 0.7926 GB, free: 50.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.9888, allocations: 105.6 kB / 0.7927 GB, free: 50.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.343e-06/0.9888, allocations: 1.375 kB / 0.7927 GB, free: 50.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.9889, allocations: 16.89 kB / 0.7927 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.9891, allocations: 28.14 kB / 0.7928 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.9895, allocations: 175 kB / 0.7929 GB, free: 50.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.9898, allocations: 0.7262 MB / 0.7936 GB, free: 50.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.9899, allocations: 41.61 kB / 0.7937 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.99, allocations: 12.27 kB / 0.7937 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.534e-06/0.99, allocations: 1.375 kB / 0.7937 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.004034/0.994, allocations: 0.8701 MB / 0.7945 GB, free: 49.96 MB / 0.6511 GB