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.002155/0.002155, allocations: 85.48 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.002551/0.002551, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.548/1.548, 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.0344/0.0344, allocations: 4.224 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.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 1.432e-06/1.432e-06, allocations: 0 / 338.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.478e-05, allocations: 6.312 kB / 338.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.008328/0.008353, allocations: 9.692 MB / 348 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007208/0.01556, allocations: 3.496 MB / 351.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.01693, allocations: 79.62 kB / 351.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008514/0.02544, allocations: 3.383 MB / 354.9 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.02897, allocations: 0.9044 MB / 355.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.03168, allocations: 1.075 MB / 356.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00629/0.03797, allocations: 4.385 MB / 361.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.04871, allocations: 6.575 MB / 367.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00674/0.05545, allocations: 3.651 MB / 371.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.06064, allocations: 2.534 MB / 374 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001906/0.06255, allocations: 0.7188 MB / 374.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.06557, allocations: 1.034 MB / 375.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.06756, allocations: 1.375 MB / 377.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.07138, allocations: 1.755 MB / 378.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.08516, allocations: 9.37 MB / 388.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.08516, allocations: 0 / 388.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.08516, allocations: 0 / 388.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002363/0.0854, allocations: 0 / 388.3 MB, free: 8.387 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.01735/0.1027, allocations: 6.205 MB / 394.5 MB, free: 2.109 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1028, allocations: 8.031 kB / 394.5 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.1139, allocations: 2.141 MB / 396.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007472/0.1214, allocations: 2.839 MB / 399.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.1217, allocations: 320.5 kB / 399.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.1231, allocations: 416 kB / 400.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.1397, allocations: 6.865 MB / 407.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.273e-05/0.1398, allocations: 0 / 407.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.1402, allocations: 176 kB / 407.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002662/0.1405, allocations: 207.9 kB / 407.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.152, allocations: 4.936 MB / 412.4 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1851/0.3371, allocations: 35.76 MB / 448.1 MB, free: 47.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/0.3421, allocations: 1.959 MB / 450.1 MB, free: 46.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008934/0.343, allocations: 0.6495 MB / 450.7 MB, free: 45.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.3431, allocations: 48.95 kB / 450.8 MB, free: 45.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008735/0.344, allocations: 0.7399 MB / 451.5 MB, free: 44.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 2.766e-06/0.344, allocations: 0 / 451.5 MB, free: 44.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.003447/0.3474, allocations: 1.818 MB / 453.4 MB, free: 42.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.3475, allocations: 141.5 kB / 453.5 MB, free: 42.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.3503, allocations: 2.709 MB / 456.2 MB, free: 39.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.3504, allocations: 45.7 kB / 456.2 MB, free: 39.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.3516, allocations: 2.272 MB / 458.5 MB, free: 37.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.3519, allocations: 424.3 kB / 458.9 MB, free: 37.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008034/0.3527, allocations: 0.7255 MB / 459.7 MB, free: 36.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.3528, allocations: 480.7 kB / 460.1 MB, free: 36.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.3539, allocations: 0.8769 MB / 461 MB, free: 35.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.3555, allocations: 2.627 MB / 463.6 MB, free: 31.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.3582, allocations: 3.651 MB / 467.3 MB, free: 27.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.3582, allocations: 12 kB / 467.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004232/0.3625, allocations: 3.198 MB / 470.5 MB, free: 24.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3625, allocations: 45.7 kB / 470.5 MB, free: 24.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.3625, allocations: 39.98 kB / 470.6 MB, free: 24.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.363, allocations: 127.6 kB / 470.7 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.3649, allocations: 0.6123 MB / 471.3 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.3664, allocations: 2.075 MB / 473.4 MB, free: 21.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.3692, allocations: 365.8 kB / 473.7 MB, free: 20.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/0.3694, allocations: 136 kB / 473.9 MB, free: 20.81 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.002771/0.3722, allocations: 1.637 MB / 475.5 MB, free: 19.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/0.3726, allocations: 206.9 kB / 475.7 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/0.376, allocations: 1.533 MB / 477.3 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002616/0.3787, allocations: 1.222 MB / 478.5 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3787, allocations: 4 kB / 478.5 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3787, allocations: 3.984 kB / 478.5 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00983/0.3885, allocations: 5.672 MB / 484.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3885, allocations: 0 / 484.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.3893, allocations: 203.7 kB / 484.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.3898, allocations: 299 kB / 484.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.3899, allocations: 23.98 kB / 484.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009981/0.3909, allocations: 1.172 MB / 485.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3909, allocations: 0 / 485.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.3942, allocations: 2.223 MB / 488.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006768/0.3948, allocations: 270.6 kB / 488.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.395, allocations: 24 kB / 488.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/0.3958, allocations: 79.84 kB / 488.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3959, allocations: 76.8 kB / 488.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.396, allocations: 39.98 kB / 488.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001597/0.3976, allocations: 1.393 MB / 489.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3976, allocations: 0 / 489.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00231/0.3999, allocations: 0.9652 MB / 490.9 MB, free: 3.484 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.0003389/0.4002, allocations: 195.4 kB / 491.1 MB, free: 3.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.4034, allocations: 2.414 MB / 493.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4034, allocations: 0.5 kB / 493.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00087/0.4043, allocations: 0.6602 MB / 494.2 MB, free: 156 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.406, allocations: 407.7 kB / 494.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.4173, allocations: 6.054 MB / 0.4889 GB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/0.4201, allocations: 2.256 MB / 0.4911 GB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002103/0.4222, allocations: 0.7883 MB / 0.4919 GB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/0.4226, allocations: 148.4 kB / 0.492 GB, free: 6.395 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.4226, allocations: 0 / 0.492 GB, free: 6.395 MB / 346.7 MB Notification: Performance of Templates: time 0.04723/0.4699, allocations: 23.58 MB / 0.515 GB, free: 15.09 MB / 378.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=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.76665075798519]