Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadModel(Buildings): time 3.904/3.904, allocations: 402 MB / 416.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.468e-05, allocations: 4 kB / 0.5009 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 92.69 MB / 0.5915 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00476/0.2039, allocations: 2.567 MB / 0.594 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.2068, allocations: 1.158 MB / 0.5951 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.207, allocations: 4 kB / 0.5951 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.2072, allocations: 35.77 kB / 0.5951 GB, free: 7.578 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.0004431/0.2077, allocations: 95.61 kB / 0.5952 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2082, allocations: 83.8 kB / 0.5953 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.2086, allocations: 127.7 kB / 0.5954 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.2089, allocations: 198.3 kB / 0.5956 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.2091, allocations: 71.83 kB / 0.5957 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.2094, allocations: 75.75 kB / 0.5958 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.2097, allocations: 75.88 kB / 0.5958 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.2098, allocations: 12 kB / 0.5958 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.2099, allocations: 59.81 kB / 0.5959 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.21, allocations: 16 kB / 0.5959 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.2105, allocations: 247.6 kB / 0.5962 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2105, allocations: 4 kB / 0.5962 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2105, allocations: 4 kB / 0.5962 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.2106, allocations: 0 / 0.5962 GB, free: 6.512 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000879/0.2115, allocations: 471.1 kB / 0.5966 GB, free: 6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.2115, allocations: 8.031 kB / 0.5966 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009193/0.2125, allocations: 83.73 kB / 0.5967 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.2129, allocations: 234.7 kB / 0.5969 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.213, allocations: 16.38 kB / 0.5969 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.213, allocations: 19.98 kB / 0.597 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.2138, allocations: 302.9 kB / 0.5972 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2138, allocations: 0 / 0.5972 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.2138, allocations: 12 kB / 0.5973 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.2139, allocations: 12.38 kB / 0.5973 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.2144, allocations: 200.9 kB / 0.5975 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.2165, allocations: 1.112 MB / 0.5985 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.2169, allocations: 167.7 kB / 0.5987 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.217, allocations: 4 kB / 0.5987 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.217, allocations: 38.52 kB / 0.5987 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.635e-06/0.217, allocations: 0 / 0.5987 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0006629/0.2177, allocations: 227.5 kB / 0.599 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2178, allocations: 55.41 kB / 0.599 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.218, allocations: 182.2 kB / 0.5992 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.2181, allocations: 25.7 kB / 0.5992 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.2182, allocations: 167.6 kB / 0.5994 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2183, allocations: 23.59 kB / 0.5994 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.2183, allocations: 12 kB / 0.5994 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2184, allocations: 322.8 kB / 0.5997 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.2185, allocations: 35.97 kB / 0.5998 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.2187, allocations: 100.5 kB / 0.5998 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2189, allocations: 44 kB / 0.5999 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2189, allocations: 4 kB / 0.5999 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005025/0.2194, allocations: 198.1 kB / 0.6001 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2194, allocations: 4 kB / 0.6001 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2195, allocations: 4 kB / 0.6001 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.2197, allocations: 28.78 kB / 0.6001 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.2199, allocations: 28.06 kB / 0.6001 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.2213, allocations: 1.323 MB / 0.6014 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.2216, allocations: 19.78 kB / 0.6015 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.2216, allocations: 11.98 kB / 0.6015 GB, free: 0.6094 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.2218, allocations: 150 kB / 0.6016 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.2219, allocations: 19.84 kB / 0.6016 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.2219, allocations: 17.41 kB / 0.6016 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.222, allocations: 3.984 kB / 0.6016 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.222, allocations: 0 / 0.6016 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.2221, allocations: 89.02 kB / 0.6017 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2221, allocations: 7.984 kB / 0.6017 GB, free: 308 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2223, allocations: 4 kB / 0.6017 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.2223, allocations: 8 kB / 0.6018 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003862/0.2227, allocations: 197.9 kB / 0.6019 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.5391/0.7619, allocations: 280 kB / 0.6022 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.289e-05/0.762, allocations: 29.27 kB / 0.6022 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000183/0.7622, allocations: 145.5 kB / 0.6024 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of Backend: time 4.91e-07/0.7622, allocations: 0 / 0.6024 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009322/0.7632, allocations: 301.5 kB / 0.6027 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001129/0.7643, allocations: 0.8963 MB / 0.6035 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.009189/0.7736, allocations: 2.365 MB / 0.6058 GB, free: 11.1 MB / 0.4948 GB