Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 3.762/3.762, allocations: 402 MB / 416.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.322e-05, allocations: 7.938 kB / 0.5009 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2022, allocations: 92.69 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003967/0.2062, allocations: 2.084 MB / 0.5935 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2079, allocations: 0.678 MB / 0.5942 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.2081, allocations: 7.938 kB / 0.5942 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2082, allocations: 23.83 kB / 0.5942 GB, free: 8.555 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.2085, allocations: 55.83 kB / 0.5942 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.2089, allocations: 79.77 kB / 0.5943 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.2091, allocations: 87.83 kB / 0.5944 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.2095, allocations: 161.8 kB / 0.5946 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.2096, allocations: 43.91 kB / 0.5946 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2098, allocations: 51.83 kB / 0.5947 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.21, allocations: 43.91 kB / 0.5947 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.21, allocations: 8 kB / 0.5947 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.2101, allocations: 43.89 kB / 0.5947 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.2102, allocations: 12 kB / 0.5948 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.2105, allocations: 167.8 kB / 0.5949 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2105, allocations: 0 / 0.5949 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2106, allocations: 0 / 0.5949 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.2106, allocations: 0 / 0.5949 GB, free: 7.793 MB / 0.4948 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.0007016/0.2113, allocations: 415.2 kB / 0.5953 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2113, allocations: 8.031 kB / 0.5953 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005435/0.2119, allocations: 51.72 kB / 0.5954 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.2122, allocations: 210.8 kB / 0.5956 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2123, allocations: 20.27 kB / 0.5956 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2123, allocations: 8 kB / 0.5956 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.2128, allocations: 234.7 kB / 0.5958 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2129, allocations: 0 / 0.5958 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.2129, allocations: 8 kB / 0.5958 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.213, allocations: 12.23 kB / 0.5958 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.2134, allocations: 156.7 kB / 0.596 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.2148, allocations: 0.8717 MB / 0.5968 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2149, allocations: 46.5 kB / 0.5969 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2149, allocations: 0 / 0.5969 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.215, allocations: 34.56 kB / 0.5969 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.215, allocations: 0 / 0.5969 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002601/0.2153, allocations: 77.67 kB / 0.597 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.2153, allocations: 55.34 kB / 0.597 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.2155, allocations: 158.1 kB / 0.5972 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2156, allocations: 29.7 kB / 0.5972 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2157, allocations: 143.4 kB / 0.5974 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2157, allocations: 15.75 kB / 0.5974 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.2158, allocations: 4 kB / 0.5974 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2159, allocations: 322.8 kB / 0.5977 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.216, allocations: 19.98 kB / 0.5977 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2161, allocations: 85.44 kB / 0.5978 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.2163, allocations: 43.92 kB / 0.5978 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2163, allocations: 0 / 0.5978 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003376/0.2166, allocations: 137.6 kB / 0.598 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004869/0.2171, allocations: 0.9598 MB / 0.5989 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2171, allocations: 4 kB / 0.5989 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2172, allocations: 4 kB / 0.5989 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.2174, allocations: 24 kB / 0.5989 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.2174, allocations: 11.92 kB / 0.5989 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2176, allocations: 11.84 kB / 0.599 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.2176, allocations: 12 kB / 0.599 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.2176, allocations: 8 kB / 0.599 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002457/0.2179, allocations: 95.72 kB / 0.5991 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2179, allocations: 0 / 0.5991 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.2179, allocations: 4 kB / 0.5991 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.2181, allocations: 23.98 kB / 0.5991 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2181, allocations: 7.938 kB / 0.5991 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.2182, allocations: 16.16 kB / 0.5991 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2182, allocations: 11.95 kB / 0.5991 GB, free: 3.125 MB / 0.4948 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 0.0001704/0.2184, allocations: 137.8 kB / 0.5993 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.2184, allocations: 11.89 kB / 0.5993 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.2185, allocations: 12.94 kB / 0.5993 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2185, allocations: 0 / 0.5993 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2185, allocations: 0 / 0.5993 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.2186, allocations: 93 kB / 0.5994 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.2187, allocations: 3.953 kB / 0.5994 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.2188, allocations: 4.281 kB / 0.5994 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.2188, allocations: 4 kB / 0.5994 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001822/0.219, allocations: 148.8 kB / 0.5995 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000201/0.2192, allocations: 234.6 kB / 0.5997 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.782e-05/0.2193, allocations: 15.98 kB / 0.5998 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001332/0.2194, allocations: 121.4 kB / 0.5999 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of Backend: time 6.31e-07/0.2194, allocations: 3.938 kB / 0.5999 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.22, allocations: 154.2 kB / 0.6 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0009832/0.221, allocations: 0.7456 MB / 0.6008 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of Templates: time 0.00583/0.2268, allocations: 1.248 MB / 0.602 GB, free: 100 kB / 0.4948 GB