Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.001808/0.001808, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002039/0.002039, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.03312/0.03312, allocations: 4.217 MB / 263.8 MB, free: 8.984 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.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 7.984 kB / 338.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.467e-05, allocations: 6.25 kB / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005682/0.005707, allocations: 6.138 MB / 344.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.009174, allocations: 2.507 MB / 346.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007088/0.009883, allocations: 19.94 kB / 346.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.01232, allocations: 1.15 MB / 348.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.01373, allocations: 0.625 MB / 348.7 MB, free: 168 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.01452, allocations: 359.2 kB / 349.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.01635, allocations: 1.187 MB / 350.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.01801, allocations: 0.8636 MB / 351.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.01915, allocations: 0.7094 MB / 351.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007507/0.0199, allocations: 470.7 kB / 352.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.02009, allocations: 128 kB / 352.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.02071, allocations: 295.6 kB / 352.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.02097, allocations: 263 kB / 352.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.02145, allocations: 383.1 kB / 353.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.02355, allocations: 1.554 MB / 354.9 MB, free: 9.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.02356, allocations: 0 / 354.9 MB, free: 9.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02356, allocations: 0 / 354.9 MB, free: 9.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.02357, allocations: 0 / 354.9 MB, free: 9.949 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003898/0.02747, allocations: 1.639 MB / 356.5 MB, free: 8.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.02751, allocations: 12.03 kB / 356.5 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.02979, allocations: 471.8 kB / 357 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.03125, allocations: 0.6313 MB / 357.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.03132, allocations: 70.38 kB / 357.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.03148, allocations: 96.33 kB / 357.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.03351, allocations: 1.092 MB / 358.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.03354, allocations: 4 kB / 358.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.03363, allocations: 36 kB / 358.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.03366, allocations: 20 kB / 358.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.03543, allocations: 0.8332 MB / 359.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006998/0.04243, allocations: 4.014 MB / 363.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.04435, allocations: 0.6319 MB / 364.4 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.0449, allocations: 261.6 kB / 364.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.834e-05/0.04498, allocations: 23.77 kB / 364.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006463/0.04563, allocations: 359.2 kB / 365 MB, free: 15.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.603e-06/0.04563, allocations: 4 kB / 365 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.002654/0.04828, allocations: 0.8967 MB / 365.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.0484, allocations: 144.5 kB / 366.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.04925, allocations: 0.6507 MB / 366.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.0493, allocations: 41.73 kB / 366.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.04977, allocations: 0.5452 MB / 367.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.04995, allocations: 166.7 kB / 367.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/0.05034, allocations: 184.2 kB / 367.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005986/0.05094, allocations: 0.5742 MB / 368.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007641/0.05171, allocations: 251.6 kB / 368.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.05283, allocations: 0.5242 MB / 369 MB, free: 11.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.05472, allocations: 0.7941 MB / 369.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.05473, allocations: 4 kB / 369.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002904/0.05764, allocations: 0.9023 MB / 370.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.05769, allocations: 37.7 kB / 370.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.0577, allocations: 4 kB / 370.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000713/0.05842, allocations: 87.61 kB / 370.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.05957, allocations: 167.7 kB / 371 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.06242, allocations: 2.014 MB / 373 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.06335, allocations: 79.5 kB / 373.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.06345, allocations: 40.11 kB / 373.1 MB, free: 6.844 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0006249/0.06407, allocations: 322.8 kB / 373.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.06429, allocations: 79.56 kB / 373.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.06647, allocations: 0.7157 MB / 374.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.06648, allocations: 11.94 kB / 374.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.06648, allocations: 0 / 374.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.06649, allocations: 0 / 374.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/0.07103, allocations: 1.632 MB / 375.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.07103, allocations: 0 / 375.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.0715, allocations: 71.89 kB / 375.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008909/0.07239, allocations: 283 kB / 376.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.07245, allocations: 15.98 kB / 376.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.07435, allocations: 1.168 MB / 377.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.07436, allocations: 3.984 kB / 377.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.07771, allocations: 1.166 MB / 378.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.07803, allocations: 103.5 kB / 378.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.07818, allocations: 11.94 kB / 378.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.07874, allocations: 27.98 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.07885, allocations: 31.94 kB / 378.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.07891, allocations: 20.03 kB / 378.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008274/0.07974, allocations: 410.8 kB / 379.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07974, allocations: 0 / 379.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001252/0.08099, allocations: 247.2 kB / 379.4 MB, free: 332 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0003741/0.08136, allocations: 155.1 kB / 379.6 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.08405, allocations: 0.8826 MB / 380.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.08405, allocations: 3.938 kB / 380.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.08508, allocations: 355.8 kB / 380.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.08614, allocations: 108.8 kB / 380.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.09004, allocations: 1.371 MB / 382.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.09064, allocations: 351.9 kB / 382.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004775/0.09112, allocations: 80.89 kB / 382.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.09134, allocations: 56.48 kB / 382.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.09134, allocations: 0 / 382.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Templates: time 0.02021/0.1115, allocations: 7.666 MB / 390.4 MB, free: 5.262 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.875090186018497]