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.001492/0.001492, allocations: 93.06 kB / 19.65 MB, free: 280 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.001877/0.001877, allocations: 169 kB / 23.02 MB, free: 1.555 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.04128/0.04128, allocations: 4.211 MB / 264.2 MB, free: 8.965 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 1.883e-06/1.883e-06, allocations: 0 / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.071e-05, allocations: 6.25 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005335/0.005366, allocations: 6.216 MB / 345.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.01017, allocations: 2.534 MB / 347.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.01124, allocations: 16 kB / 347.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.0133, allocations: 1.147 MB / 349 MB, free: 284 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.01558, allocations: 0.6328 MB / 349.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.01647, allocations: 359.1 kB / 350 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.01827, allocations: 1.183 MB / 351.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.01958, allocations: 0.8637 MB / 352 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.02094, allocations: 0.7094 MB / 352.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/0.02186, allocations: 478.7 kB / 353.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.0221, allocations: 128 kB / 353.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007409/0.02284, allocations: 283.8 kB / 353.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.02302, allocations: 263 kB / 353.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.02343, allocations: 383.1 kB / 354.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.02524, allocations: 0.9809 MB / 355.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.02525, allocations: 0 / 355.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.02525, allocations: 0 / 355.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.543e-05/0.02529, allocations: 4 kB / 355.2 MB, free: 10 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.002784/0.02807, allocations: 1.561 MB / 356.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.02811, allocations: 12.03 kB / 356.8 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.02943, allocations: 471.8 kB / 357.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.03079, allocations: 0.6195 MB / 357.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/0.03087, allocations: 74.38 kB / 357.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.03103, allocations: 92.33 kB / 358 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.03278, allocations: 0.8236 MB / 358.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.03281, allocations: 0 / 358.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.0329, allocations: 40 kB / 358.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.03293, allocations: 24 kB / 358.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.03384, allocations: 489.2 kB / 359.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006051/0.03989, allocations: 3.394 MB / 362.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.0409, allocations: 0.5653 MB / 363.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.04112, allocations: 165.4 kB / 363.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.04118, allocations: 19.98 kB / 363.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/0.04156, allocations: 275.3 kB / 363.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/0.04157, allocations: 0 / 363.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001203/0.04277, allocations: 0.6547 MB / 364.4 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.04283, allocations: 144.5 kB / 364.6 MB, free: 224 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.04326, allocations: 0.5219 MB / 365.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.04329, allocations: 37.7 kB / 365.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.04366, allocations: 0.514 MB / 365.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.04376, allocations: 178.5 kB / 365.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.04392, allocations: 156.2 kB / 366 MB, free: 14.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.04406, allocations: 0.5391 MB / 366.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.04427, allocations: 155.6 kB / 366.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.04458, allocations: 426.4 kB / 367.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.04509, allocations: 0.591 MB / 367.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.04509, allocations: 4 kB / 367.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0008681/0.04596, allocations: 0.7108 MB / 368.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.04599, allocations: 33.7 kB / 368.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.046, allocations: 8 kB / 368.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.04625, allocations: 83.8 kB / 368.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.0466, allocations: 179.7 kB / 368.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.04788, allocations: 1.963 MB / 370.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.04818, allocations: 75.5 kB / 370.7 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.04822, allocations: 39.98 kB / 370.8 MB, free: 9.578 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.0001825/0.0484, allocations: 234.8 kB / 371 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.04848, allocations: 83.56 kB / 371.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.04909, allocations: 0.5361 MB / 371.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.04909, allocations: 4 kB / 371.6 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.04909, allocations: 0 / 371.6 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.0491, allocations: 7.984 kB / 371.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.05046, allocations: 1.273 MB / 372.9 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.05047, allocations: 4 kB / 372.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.05063, allocations: 71.91 kB / 373 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.0509, allocations: 222.8 kB / 373.2 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.05092, allocations: 8 kB / 373.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005154/0.05144, allocations: 1.051 MB / 374.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.05144, allocations: 3.938 kB / 374.3 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.05231, allocations: 0.8577 MB / 375.1 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.05244, allocations: 99.48 kB / 375.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.05249, allocations: 19.94 kB / 375.2 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.05267, allocations: 28.05 kB / 375.3 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.05273, allocations: 27.94 kB / 375.3 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.05275, allocations: 23.98 kB / 375.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002272/0.05298, allocations: 326.8 kB / 375.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05298, allocations: 0 / 375.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004856/0.05346, allocations: 247.3 kB / 375.9 MB, free: 4.246 MB / 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.0005027/0.05397, allocations: 159.1 kB / 376 MB, free: 4.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.05469, allocations: 0.6998 MB / 376.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.05469, allocations: 0 / 376.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.05495, allocations: 258.5 kB / 377 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.05533, allocations: 115.4 kB / 377.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.05695, allocations: 1.268 MB / 378.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.554e-05/0.05705, allocations: 150 kB / 378.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.05722, allocations: 80.89 kB / 378.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.05732, allocations: 56.42 kB / 378.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05732, allocations: 0 / 378.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of Templates: time 0.01053/0.06786, allocations: 7.683 MB / 386.3 MB, free: 9.742 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: 3.3394726859405637]