Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.001381/0.001381, allocations: 88.72 kB / 19.44 MB, free: 356 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.001535/0.001535, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.02924/0.02924, allocations: 4.214 MB / 263.8 MB, free: 8.98 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.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 338.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.843e-05, allocations: 2.312 kB / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.009413/0.009442, allocations: 8.958 MB / 347.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006713/0.01615, allocations: 3.41 MB / 350.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.0177, allocations: 79.62 kB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008565/0.02626, allocations: 3.173 MB / 353.9 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.02954, allocations: 0.9004 MB / 354.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.03231, allocations: 1.055 MB / 355.8 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006343/0.03865, allocations: 4.392 MB / 360.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.05016, allocations: 6.563 MB / 366.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008076/0.05824, allocations: 3.628 MB / 370.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004817/0.06306, allocations: 2.269 MB / 372.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.06483, allocations: 0.7188 MB / 373.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.06781, allocations: 1.031 MB / 374.4 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.06995, allocations: 1.36 MB / 375.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00366/0.07361, allocations: 1.731 MB / 377.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.08641, allocations: 9.311 MB / 386.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.08641, allocations: 0 / 386.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.08641, allocations: 4 kB / 386.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002121/0.08662, allocations: 0 / 386.8 MB, free: 9.844 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01491/0.1015, allocations: 5.322 MB / 392.2 MB, free: 4.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1016, allocations: 8.031 kB / 392.2 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.1123, allocations: 2.149 MB / 394.3 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007902/0.1202, allocations: 3.083 MB / 397.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.1206, allocations: 324.4 kB / 397.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.1221, allocations: 423.9 kB / 398.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.1401, allocations: 6.697 MB / 404.8 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.1402, allocations: 4 kB / 404.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005604/0.1408, allocations: 176 kB / 405 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/0.141, allocations: 203.9 kB / 405.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.1544, allocations: 5.642 MB / 410.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1756/0.3299, allocations: 19.52 MB / 430.4 MB, free: 67.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.3341, allocations: 2.179 MB / 432.6 MB, free: 66.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.3352, allocations: 0.7865 MB / 433.3 MB, free: 66.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.3353, allocations: 48.97 kB / 433.4 MB, free: 65.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.3363, allocations: 0.8152 MB / 434.2 MB, free: 65.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 2.735e-06/0.3363, allocations: 0 / 434.2 MB, free: 65.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.004354/0.3407, allocations: 2.285 MB / 436.5 MB, free: 62.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3407, allocations: 149.5 kB / 436.6 MB, free: 62.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.343, allocations: 1.885 MB / 438.5 MB, free: 60.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.3431, allocations: 41.7 kB / 438.6 MB, free: 60.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.3444, allocations: 2.027 MB / 440.6 MB, free: 58.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.3446, allocations: 401.2 kB / 441 MB, free: 58.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/0.3453, allocations: 0.5474 MB / 441.5 MB, free: 57.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.3453, allocations: 305.1 kB / 441.8 MB, free: 57.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.3467, allocations: 1.111 MB / 442.9 MB, free: 56.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.3484, allocations: 2.21 MB / 445.1 MB, free: 53.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.3515, allocations: 3.384 MB / 448.5 MB, free: 49.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.3516, allocations: 12 kB / 448.5 MB, free: 49.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005099/0.3567, allocations: 3.652 MB / 452.2 MB, free: 46.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.3567, allocations: 45.98 kB / 452.2 MB, free: 46.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/0.3568, allocations: 40 kB / 452.3 MB, free: 45.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.3573, allocations: 124.8 kB / 452.4 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.3592, allocations: 0.6122 MB / 453 MB, free: 45.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.3604, allocations: 1.518 MB / 454.5 MB, free: 43.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.3624, allocations: 365.9 kB / 454.9 MB, free: 43.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.3626, allocations: 140 kB / 455 MB, free: 43.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * 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 (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.002169/0.3648, allocations: 1.716 MB / 456.7 MB, free: 41.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.3652, allocations: 202.9 kB / 456.9 MB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.368, allocations: 1.835 MB / 458.8 MB, free: 39.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001991/0.37, allocations: 1.461 MB / 460.2 MB, free: 37.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.37, allocations: 3.984 kB / 460.2 MB, free: 37.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.37, allocations: 7.984 kB / 460.2 MB, free: 37.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00669/0.3767, allocations: 4.091 MB / 464.3 MB, free: 33.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.3767, allocations: 7.938 kB / 464.3 MB, free: 33.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/0.3775, allocations: 209.4 kB / 464.5 MB, free: 33.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/0.3781, allocations: 288.2 kB / 464.8 MB, free: 33.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.3781, allocations: 31.98 kB / 464.9 MB, free: 33.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008963/0.379, allocations: 0.897 MB / 465.8 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.379, allocations: 0 / 465.8 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/0.3828, allocations: 2.726 MB / 468.5 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.3835, allocations: 286.6 kB / 468.8 MB, free: 29.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.3837, allocations: 27.98 kB / 468.8 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008147/0.3846, allocations: 83.84 kB / 468.9 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.3847, allocations: 72.81 kB / 468.9 MB, free: 28.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.3848, allocations: 35.98 kB / 469 MB, free: 28.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001521/0.3863, allocations: 1.24 MB / 470.2 MB, free: 27.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3863, allocations: 4 kB / 470.2 MB, free: 27.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002658/0.389, allocations: 0.9612 MB / 471.2 MB, free: 26.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_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 (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003724/0.3894, allocations: 186.7 kB / 471.4 MB, free: 26.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.393, allocations: 2.451 MB / 473.8 MB, free: 24.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.393, allocations: 0 / 473.8 MB, free: 24.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.394, allocations: 0.7355 MB / 474.6 MB, free: 23.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.3958, allocations: 401.7 kB / 474.9 MB, free: 22.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.406, allocations: 6.577 MB / 481.5 MB, free: 16.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.4081, allocations: 2.483 MB / 484 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001978/0.4101, allocations: 0.8938 MB / 484.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.4105, allocations: 150 kB / 485 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 3.006e-06/0.4105, allocations: 0 / 485 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Templates: time 0.04419/0.4547, allocations: 23.69 MB / 0.4968 GB, free: 5.293 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.622979281935841]