Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009235/0.0009235, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02273/0.02273, allocations: 4.23 MB / 264.5 MB, free: 8.996 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 339 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.09e-05, allocations: 6.25 kB / 339 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.004117/0.004148, allocations: 5.034 MB / 344 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.006138, allocations: 1.834 MB / 345.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.006441, allocations: 12 kB / 345.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.006947, allocations: 274 kB / 346.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.007381, allocations: 329.5 kB / 346.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.007783, allocations: 331.2 kB / 346.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.008466, allocations: 1.145 MB / 347.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.008819, allocations: 287.4 kB / 348.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000646/0.009465, allocations: 0.651 MB / 348.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.009878, allocations: 442.8 kB / 349.3 MB, free: 272 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.009982, allocations: 112 kB / 349.4 MB, free: 160 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.01019, allocations: 187.9 kB / 349.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.01034, allocations: 239.1 kB / 349.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.01066, allocations: 355.1 kB / 350.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007063/0.01136, allocations: 0.7901 MB / 351 MB, free: 14.6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01137, allocations: 0 / 351 MB, free: 14.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01137, allocations: 0 / 351 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.01138, allocations: 0 / 351 MB, free: 14.6 MB / 282.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.001654/0.01303, allocations: 1.309 MB / 352.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01307, allocations: 8.031 kB / 352.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.01326, allocations: 160.3 kB / 352.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.01404, allocations: 0.5766 MB / 353 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.01408, allocations: 57.94 kB / 353.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.01417, allocations: 79.95 kB / 353.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/0.01504, allocations: 0.7546 MB / 353.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.01506, allocations: 3.938 kB / 353.9 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.01511, allocations: 28 kB / 353.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.01512, allocations: 16 kB / 354 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.01566, allocations: 415 kB / 354.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.01809, allocations: 2.57 MB / 356.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.01884, allocations: 473.1 kB / 357.4 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.01908, allocations: 196.4 kB / 357.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.01916, allocations: 12.36 kB / 357.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.01955, allocations: 429.6 kB / 358 MB, free: 7.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 1.723e-06/0.01956, allocations: 4 kB / 358 MB, free: 7.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.001241/0.0208, allocations: 0.8597 MB / 358.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.02087, allocations: 200.4 kB / 359.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.0212, allocations: 482.5 kB / 359.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.02123, allocations: 41.7 kB / 359.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.02149, allocations: 427.1 kB / 360 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02159, allocations: 182.4 kB / 360.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.02174, allocations: 152.2 kB / 360.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.02187, allocations: 0.5352 MB / 360.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.02207, allocations: 185.3 kB / 361.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.02236, allocations: 380.2 kB / 361.4 MB, free: 3.543 MB / 282.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.001006/0.02337, allocations: 0.9168 MB / 362.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.02337, allocations: 0 / 362.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008686/0.02424, allocations: 0.7453 MB / 363.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.02428, allocations: 59.41 kB / 363.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/0.02442, allocations: 4 kB / 363.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.02465, allocations: 79.61 kB / 363.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.02505, allocations: 175.9 kB / 363.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.02606, allocations: 1.959 MB / 365.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.02633, allocations: 63.73 kB / 365.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.02637, allocations: 43.91 kB / 365.5 MB, free: 15.21 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $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 (irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,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.0002299/0.0266, allocations: 278.4 kB / 365.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.02669, allocations: 83.62 kB / 365.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.02761, allocations: 0.8342 MB / 366.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.02762, allocations: 8 kB / 366.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02762, allocations: 0 / 366.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.02763, allocations: 15.8 kB / 366.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.02916, allocations: 1.415 MB / 368.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.02917, allocations: 4.031 kB / 368.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.02943, allocations: 103.8 kB / 368.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.02969, allocations: 215 kB / 368.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.02973, allocations: 23.98 kB / 368.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005463/0.03028, allocations: 1.035 MB / 369.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.03028, allocations: 7.938 kB / 369.5 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.03161, allocations: 1.153 MB / 370.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.03177, allocations: 119.4 kB / 370.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.03183, allocations: 23.88 kB / 370.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.03206, allocations: 35.97 kB / 370.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.03215, allocations: 48.41 kB / 370.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.03218, allocations: 27.98 kB / 370.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.0324, allocations: 318.8 kB / 371.2 MB, free: 9.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0324, allocations: 4 kB / 371.2 MB, free: 9.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000464/0.03287, allocations: 231.5 kB / 371.4 MB, free: 8.98 MB / 298.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.0001949/0.03306, allocations: 159 kB / 371.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008852/0.03395, allocations: 0.8475 MB / 372.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.03395, allocations: 0 / 372.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.03432, allocations: 426 kB / 372.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.03477, allocations: 130.6 kB / 373 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.03689, allocations: 1.321 MB / 374.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.037, allocations: 150.9 kB / 374.4 MB, free: 5.762 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003205/0.03732, allocations: 88.88 kB / 374.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.03747, allocations: 68.45 kB / 374.6 MB, free: 5.605 MB / 298.7 MB Notification: Performance of SimCode: time 1.903e-06/0.03747, allocations: 0 / 374.6 MB, free: 5.605 MB / 298.7 MB Notification: Performance of Templates: time 0.01156/0.04903, allocations: 9.052 MB / 383.6 MB, free: 12.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile [Timeout 660] (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 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.082021794980392]