Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadModel(Buildings): time 3.721/3.721, allocations: 402 MB / 416.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.259e-05, allocations: 4 kB / 0.501 GB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 92.68 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.01128/0.2124, allocations: 6.173 MB / 0.5975 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.7012/0.9136, allocations: 124.2 MB / 0.7188 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.9148, allocations: 55.88 kB / 0.7189 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.9154, allocations: 130.9 kB / 0.719 GB, free: 11.87 MB / 0.5886 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.002294/0.9177, allocations: 0.5303 MB / 0.7195 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.9206, allocations: 0.713 MB / 0.7202 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.9232, allocations: 1.071 MB / 0.7212 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.9257, allocations: 1.139 MB / 0.7224 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.927, allocations: 498.5 kB / 0.7228 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.9282, allocations: 0.5176 MB / 0.7233 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.9297, allocations: 351.6 kB / 0.7237 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0004656/0.9302, allocations: 56 kB / 0.7237 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004485/0.9306, allocations: 298.8 kB / 0.724 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.9311, allocations: 112 kB / 0.7241 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.9345, allocations: 1.855 MB / 0.7259 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9345, allocations: 0 / 0.7259 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.086e-06/0.9346, allocations: 0 / 0.7259 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.813e-05/0.9346, allocations: 0 / 0.7259 GB, free: 4.711 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.00522/0.9398, allocations: 1.616 MB / 0.7275 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.9399, allocations: 8.031 kB / 0.7275 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.9531, allocations: 1.051 MB / 0.7285 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.9558, allocations: 0.9117 MB / 0.7294 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.9559, allocations: 115.1 kB / 0.7295 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/0.9564, allocations: 156 kB / 0.7297 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008154/0.9646, allocations: 2.063 MB / 0.7317 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.9647, allocations: 4 kB / 0.7317 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.965, allocations: 67.98 kB / 0.7318 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.9651, allocations: 70.95 kB / 0.7318 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/0.9768, allocations: 2.529 MB / 0.7343 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/0.9952, allocations: 5.996 MB / 0.7402 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009096/1.004, allocations: 1.702 MB / 0.7418 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/1.006, allocations: 490.5 kB / 0.7423 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00424/1.01, allocations: 0.9678 MB / 0.7432 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=128): time 4.799e-06/1.01, allocations: 0 / 0.7432 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of matching and sorting (n=128): time 0.0123/1.022, allocations: 2.294 MB / 0.7455 GB, free: 244 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/1.022, allocations: 226.5 kB / 0.7457 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/1.024, allocations: 0.6527 MB / 0.7463 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004045/1.024, allocations: 49.7 kB / 0.7464 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/1.025, allocations: 0.5856 MB / 0.747 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007694/1.026, allocations: 433.8 kB / 0.7474 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/1.026, allocations: 20 kB / 0.7474 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002661/1.026, allocations: 406.7 kB / 0.7478 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/1.03, allocations: 0.6505 MB / 0.7484 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/1.034, allocations: 0.8053 MB / 0.7492 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00383/1.038, allocations: 0.7515 MB / 0.7499 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.038, allocations: 0 / 0.7499 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008599/1.046, allocations: 1.823 MB / 0.7517 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006066/1.047, allocations: 1.197 MB / 0.7529 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.047, allocations: 0 / 0.7529 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/1.047, allocations: 28.84 kB / 0.7529 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/1.051, allocations: 351.5 kB / 0.7532 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005025/1.052, allocations: 0.5406 MB / 0.7538 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/1.054, allocations: 190.8 kB / 0.754 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/1.055, allocations: 59.95 kB / 0.754 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.055, allocations: 6.344 kB / 0.754 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008131/1.063, allocations: 1.709 MB / 0.7557 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.063, allocations: 4 kB / 0.7557 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.063, allocations: 8 kB / 0.7557 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/1.066, allocations: 347.7 kB / 0.756 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/1.066, allocations: 15.98 kB / 0.756 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/1.069, allocations: 182.8 kB / 0.7562 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/1.069, allocations: 55.95 kB / 0.7563 GB, free: 4.871 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00109/1.07, allocations: 370.4 kB / 0.7566 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/1.071, allocations: 110.7 kB / 0.7567 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009899/1.081, allocations: 1.97 MB / 0.7587 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/1.081, allocations: 7.969 kB / 0.7587 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.081, allocations: 0 / 0.7587 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.082, allocations: 415.1 kB / 0.7591 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/1.082, allocations: 24 kB / 0.7591 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/1.085, allocations: 131.9 kB / 0.7592 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/1.085, allocations: 89.14 kB / 0.7593 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01033/1.095, allocations: 1.961 MB / 0.7612 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01242/1.108, allocations: 2.863 MB / 0.764 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003665/1.111, allocations: 0.7676 MB / 0.7648 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00118/1.113, allocations: 0.5302 MB / 0.7653 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of Backend: time 5.21e-07/1.113, allocations: 7.938 kB / 0.7653 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007359/1.12, allocations: 1.71 MB / 0.7669 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of SimCode: time 0.007141/1.127, allocations: 3.305 MB / 0.7702 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of Templates: time 0.0649/1.192, allocations: 23.23 MB / 0.7929 GB, free: 15.52 MB / 0.6667 GB