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.001352/0.001352, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001678/0.001678, allocations: 158.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.02886/0.02886, allocations: 4.22 MB / 263.4 MB, free: 12.58 MB / 254.1 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.674e-06/1.674e-06, allocations: 0 / 392.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.703e-05, allocations: 2.281 kB / 392.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01448/0.0145, allocations: 8.952 MB / 401.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008803/0.02331, allocations: 3.402 MB / 404.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.0251, allocations: 79.56 kB / 404.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009857/0.03496, allocations: 3.178 MB / 407.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.03896, allocations: 0.8888 MB / 408.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.04228, allocations: 1.059 MB / 409.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007076/0.04936, allocations: 4.398 MB / 414.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.06144, allocations: 6.563 MB / 420.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006496/0.06794, allocations: 3.624 MB / 424.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004571/0.07251, allocations: 2.269 MB / 426.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.07437, allocations: 0.7188 MB / 427.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.07869, allocations: 1.038 MB / 428.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.0809, allocations: 1.356 MB / 429.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003917/0.08482, allocations: 1.731 MB / 431.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.09927, allocations: 9.308 MB / 440.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.09927, allocations: 0 / 440.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.09928, allocations: 7.984 kB / 440.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002792/0.09956, allocations: 0 / 440.8 MB, free: 9.316 MB / 366.1 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.01864/0.1182, allocations: 5.318 MB / 446.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.1183, allocations: 15.97 kB / 446.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.1301, allocations: 1.637 MB / 447.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1849/0.315, allocations: 2.937 MB / 450.7 MB, free: 62.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.3153, allocations: 321.2 kB / 451 MB, free: 62.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.3171, allocations: 415.3 kB / 451.4 MB, free: 62.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.3321, allocations: 6.705 MB / 458.1 MB, free: 60 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.579e-05/0.3322, allocations: 10.08 kB / 458.1 MB, free: 60 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.3327, allocations: 174.7 kB / 458.3 MB, free: 59.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/0.3329, allocations: 204.6 kB / 458.5 MB, free: 59.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.343, allocations: 5.645 MB / 464.1 MB, free: 57.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/0.3665, allocations: 18.93 MB / 483.1 MB, free: 41.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/0.3711, allocations: 2.167 MB / 485.2 MB, free: 39.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.3722, allocations: 0.7783 MB / 486 MB, free: 38.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.3724, allocations: 48.84 kB / 486.1 MB, free: 38.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.3734, allocations: 0.8113 MB / 486.9 MB, free: 37.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 4.448e-06/0.3734, allocations: 2.203 kB / 486.9 MB, free: 37.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.00423/0.3777, allocations: 2.238 MB / 489.1 MB, free: 35.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3777, allocations: 149.5 kB / 489.3 MB, free: 35.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.3803, allocations: 1.884 MB / 491.1 MB, free: 33.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.3804, allocations: 41.7 kB / 491.2 MB, free: 33.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.3818, allocations: 2.029 MB / 493.2 MB, free: 31.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.3821, allocations: 400.5 kB / 493.6 MB, free: 30.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000862/0.383, allocations: 0.5436 MB / 494.1 MB, free: 30.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.3831, allocations: 301.1 kB / 494.4 MB, free: 30.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.3846, allocations: 1.111 MB / 495.5 MB, free: 28.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.3865, allocations: 2.21 MB / 497.8 MB, free: 26.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.3897, allocations: 3.38 MB / 0.4894 GB, free: 22.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.149e-05/0.3898, allocations: 8 kB / 0.4894 GB, free: 22.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005087/0.3949, allocations: 3.512 MB / 0.4928 GB, free: 18.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.3949, allocations: 49.88 kB / 0.4929 GB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.248e-05/0.395, allocations: 40 kB / 0.4929 GB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.3955, allocations: 128.8 kB / 0.493 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.3974, allocations: 0.6083 MB / 0.4936 GB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.3986, allocations: 1.514 MB / 0.4951 GB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.4006, allocations: 377.8 kB / 0.4955 GB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.4008, allocations: 136 kB / 0.4956 GB, free: 15.84 MB / 366.1 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.002096/0.4029, allocations: 1.71 MB / 0.4973 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.4032, allocations: 159 kB / 0.4974 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.4061, allocations: 1.824 MB / 0.4992 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002027/0.4081, allocations: 1.461 MB / 0.5006 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4081, allocations: 0 / 0.5006 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.4081, allocations: 7.984 kB / 0.5006 GB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007299/0.4154, allocations: 4.063 MB / 0.5046 GB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.4154, allocations: 4 kB / 0.5046 GB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.4162, allocations: 211.7 kB / 0.5048 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005747/0.4168, allocations: 292.2 kB / 0.5051 GB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.4169, allocations: 35.98 kB / 0.5051 GB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009136/0.4178, allocations: 0.8892 MB / 0.506 GB, free: 5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4178, allocations: 4 kB / 0.506 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.4215, allocations: 2.661 MB / 0.5086 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006798/0.4222, allocations: 298.5 kB / 0.5089 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.4225, allocations: 24 kB / 0.5089 GB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009524/0.4235, allocations: 75.91 kB / 0.509 GB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.4237, allocations: 76.8 kB / 0.509 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/0.4237, allocations: 43.86 kB / 0.5091 GB, free: 1.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001746/0.4255, allocations: 1.229 MB / 0.5103 GB, free: 0.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4255, allocations: 3.938 kB / 0.5103 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003105/0.4286, allocations: 0.9652 MB / 0.5112 GB, free: 15.57 MB / 382.1 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.0004786/0.4291, allocations: 198.4 kB / 0.5114 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0048/0.4339, allocations: 2.432 MB / 0.5138 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4339, allocations: 3.062 kB / 0.5138 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.4353, allocations: 0.7449 MB / 0.5145 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.4375, allocations: 356.6 kB / 0.5149 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.4527, allocations: 6.48 MB / 0.5212 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004713/0.4574, allocations: 2.483 MB / 0.5236 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002518/0.46, allocations: 0.8539 MB / 0.5245 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/0.4605, allocations: 140.5 kB / 0.5246 GB, free: 1.746 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4605, allocations: 0 / 0.5246 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Templates: time 0.04815/0.5087, allocations: 23.51 MB / 0.5475 GB, free: 10.52 MB / 414.1 MB " [Timeout remaining time 659] 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.530230812728405] Failed to read output from testmodel.py, exit status != 0: 0.5192343108355999 0.5332888889999999 0.43068201599999995 Calling exit ...