Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 175.8 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.7 MB / 241.9 MB, free: 396 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007411/0.0007413, allocations: 97.53 kB / 293.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02593/0.02593, allocations: 5.522 MB / 349.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 10.48 kB / 415.4 MB, free: 88.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08235, allocations: 51.63 MB / 467.1 MB, free: 42.18 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.003767/0.08616, allocations: 4.487 MB / 471.5 MB, free: 37.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.08881, allocations: 2.237 MB / 473.8 MB, free: 35.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.0892, allocations: 15.94 kB / 473.8 MB, free: 35.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.08974, allocations: 258.6 kB / 474 MB, free: 35.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.09023, allocations: 242.4 kB / 474.3 MB, free: 34.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.09069, allocations: 283.7 kB / 474.6 MB, free: 34.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007/0.0914, allocations: 1.032 MB / 475.6 MB, free: 33.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.09182, allocations: 382.4 kB / 476 MB, free: 33.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.09216, allocations: 362.4 kB / 476.3 MB, free: 32.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.09259, allocations: 458 kB / 476.8 MB, free: 32.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.126e-05/0.09268, allocations: 52 kB / 476.8 MB, free: 32.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.09288, allocations: 111.9 kB / 476.9 MB, free: 32.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.09298, allocations: 159.2 kB / 477.1 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.09326, allocations: 447.3 kB / 477.5 MB, free: 31.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.0939, allocations: 1.082 MB / 478.6 MB, free: 30.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09391, allocations: 0 / 478.6 MB, free: 30.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.09392, allocations: 0 / 478.6 MB, free: 30.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.09394, allocations: 0 / 478.6 MB, free: 30.45 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002164/0.09611, allocations: 1.153 MB / 479.8 MB, free: 29.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.09615, allocations: 8.031 kB / 479.8 MB, free: 29.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.09628, allocations: 95.81 kB / 479.9 MB, free: 29.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.09733, allocations: 0.6468 MB / 480.5 MB, free: 28.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.09738, allocations: 61.94 kB / 480.6 MB, free: 28.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.09748, allocations: 72 kB / 480.6 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.0986, allocations: 0.7698 MB / 481.4 MB, free: 27.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.09863, allocations: 0 / 481.4 MB, free: 27.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.0987, allocations: 35.94 kB / 481.4 MB, free: 27.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.09872, allocations: 16 kB / 481.5 MB, free: 27.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.09987, allocations: 0.6011 MB / 482.1 MB, free: 26.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.1031, allocations: 2.773 MB / 484.8 MB, free: 23.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.1043, allocations: 0.9058 MB / 485.7 MB, free: 22.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.1048, allocations: 249.9 kB / 486 MB, free: 22.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.94e-05/0.1049, allocations: 93.45 kB / 486.1 MB, free: 22.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.1055, allocations: 389.4 kB / 486.4 MB, free: 22.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.344e-06/0.1055, allocations: 0 / 486.4 MB, free: 22.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.002613/0.1081, allocations: 1.081 MB / 487.5 MB, free: 21.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1082, allocations: 208.3 kB / 487.7 MB, free: 20.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.1086, allocations: 457.9 kB / 488.2 MB, free: 20.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.1086, allocations: 37.7 kB / 488.2 MB, free: 20.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1088, allocations: 367.5 kB / 488.6 MB, free: 19.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.1089, allocations: 177.4 kB / 488.8 MB, free: 19.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1089, allocations: 16 kB / 488.8 MB, free: 19.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.109, allocations: 366.8 kB / 489.1 MB, free: 19.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.1095, allocations: 225.8 kB / 489.3 MB, free: 19.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.11, allocations: 365.9 kB / 489.7 MB, free: 18.77 MB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.1208, allocations: 2.427 MB / 492.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1208, allocations: 4 kB / 492.1 MB, free: 16.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001607/0.1224, allocations: 0.8187 MB / 493 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.1225, allocations: 62.22 kB / 493 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1225, allocations: 4 kB / 493 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/0.123, allocations: 84.94 kB / 493.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.1238, allocations: 175.6 kB / 493.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.1249, allocations: 1.467 MB / 494.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/0.1256, allocations: 75.41 kB / 494.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.1256, allocations: 35.92 kB / 494.8 MB, free: 13.34 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003593/0.126, allocations: 291.3 kB / 495.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.1261, allocations: 63.31 kB / 495.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.1278, allocations: 0.94 MB / 496.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1278, allocations: 11.94 kB / 496.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.1278, allocations: 0 / 496.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1278, allocations: 3.984 kB / 496.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/0.1314, allocations: 1.87 MB / 498 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1314, allocations: 4 kB / 498 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.1318, allocations: 99.88 kB / 498.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.1323, allocations: 266.4 kB / 498.4 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.1324, allocations: 19.98 kB / 498.4 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008477/0.1333, allocations: 0.835 MB / 499.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1333, allocations: 3.984 kB / 499.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.1364, allocations: 1.396 MB / 0.4889 GB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.1367, allocations: 196.2 kB / 0.4891 GB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.1368, allocations: 20 kB / 0.4891 GB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.1373, allocations: 51.95 kB / 0.4892 GB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1374, allocations: 48.48 kB / 0.4892 GB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.1375, allocations: 23.98 kB / 0.4892 GB, free: 7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003072/0.1378, allocations: 318.9 kB / 0.4895 GB, free: 6.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1378, allocations: 0 / 0.4895 GB, free: 6.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006186/0.1384, allocations: 231.3 kB / 0.4898 GB, free: 6.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.integrator.y,battery.energy,battery.capacitor.v) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 13 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/0.1386, allocations: 156.1 kB / 0.4899 GB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.14, allocations: 0.8185 MB / 0.4907 GB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.14, allocations: 0.75 kB / 0.4907 GB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.1406, allocations: 489.8 kB / 0.4912 GB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.1413, allocations: 118.1 kB / 0.4913 GB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1435, allocations: 1.805 MB / 0.493 GB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1438, allocations: 0.9304 MB / 0.494 GB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.1442, allocations: 96.94 kB / 0.494 GB, free: 1.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.1444, allocations: 75.39 kB / 0.4941 GB, free: 1.859 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1444, allocations: 0 / 0.4941 GB, free: 1.859 MB / 330.7 MB Notification: Performance of Templates: time 0.01385/0.1583, allocations: 8.688 MB / 0.5026 GB, free: 9.223 MB / 346.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1)