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.0008429/0.0008429, allocations: 81.95 kB / 19.87 MB, free: 4.621 MB / 18.57 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.000926/0.000926, allocations: 170 kB / 23.28 MB, free: 1.219 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 0.9708/0.9708, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.0178/0.0178, allocations: 4.224 MB / 264.5 MB, free: 8.793 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.784e-06/1.784e-06, allocations: 0 / 339.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.374e-05, allocations: 2.312 kB / 339.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005158/0.005182, allocations: 6.125 MB / 345.7 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.008256, allocations: 2.499 MB / 348.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.008595, allocations: 19.94 kB / 348.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.009845, allocations: 1.143 MB / 349.3 MB, free: 100 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.01085, allocations: 0.6249 MB / 350 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.01128, allocations: 355.2 kB / 350.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008819/0.01217, allocations: 1.191 MB / 351.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000969/0.01313, allocations: 0.8637 MB / 352.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.01396, allocations: 0.7211 MB / 353.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.01448, allocations: 450.7 kB / 353.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.01462, allocations: 124 kB / 353.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.01503, allocations: 283.7 kB / 353.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.01518, allocations: 255.1 kB / 354.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.01543, allocations: 367.1 kB / 354.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.01634, allocations: 0.9653 MB / 355.5 MB, free: 9.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01634, allocations: 0 / 355.5 MB, free: 9.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01634, allocations: 0 / 355.5 MB, free: 9.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.01635, allocations: 0 / 355.5 MB, free: 9.891 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.001972/0.01832, allocations: 1.549 MB / 357 MB, free: 8.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01836, allocations: 8.031 kB / 357 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.01954, allocations: 479.8 kB / 357.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.02016, allocations: 0.5234 MB / 358 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.02027, allocations: 74.38 kB / 358.1 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/0.02036, allocations: 92.36 kB / 358.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.02117, allocations: 0.7687 MB / 359 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.02119, allocations: 0 / 359 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.02125, allocations: 36 kB / 359 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.02127, allocations: 24 kB / 359 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.02175, allocations: 409.8 kB / 359.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.02521, allocations: 3.488 MB / 362.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.02625, allocations: 0.538 MB / 363.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.0264, allocations: 156.2 kB / 363.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.02645, allocations: 23.97 kB / 363.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.02668, allocations: 267.2 kB / 363.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.02668, allocations: 0 / 363.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009424/0.02763, allocations: 0.6311 MB / 364.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.02768, allocations: 144.5 kB / 364.7 MB, free: 328 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.02803, allocations: 0.5099 MB / 365.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.02806, allocations: 37.7 kB / 365.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.02828, allocations: 0.5217 MB / 365.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.02837, allocations: 170.6 kB / 365.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.02852, allocations: 164.1 kB / 366.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.02868, allocations: 0.5468 MB / 366.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.02881, allocations: 127.6 kB / 366.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.02906, allocations: 403.9 kB / 367.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.02947, allocations: 0.5479 MB / 367.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.02948, allocations: 0 / 367.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.000735/0.03021, allocations: 0.6641 MB / 368.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.03024, allocations: 33.7 kB / 368.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.03025, allocations: 8.031 kB / 368.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.03047, allocations: 83.61 kB / 368.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.03081, allocations: 183.6 kB / 368.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.03207, allocations: 1.945 MB / 370.6 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.03232, allocations: 87.45 kB / 370.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.03236, allocations: 31.98 kB / 370.7 MB, free: 9.832 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.0001789/0.03254, allocations: 238.9 kB / 370.9 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.03261, allocations: 79.56 kB / 371 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.03313, allocations: 0.5126 MB / 371.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.03314, allocations: 4 kB / 371.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.03314, allocations: 3.984 kB / 371.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.03315, allocations: 8 kB / 371.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.03431, allocations: 1.172 MB / 372.7 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.03431, allocations: 0 / 372.7 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.03447, allocations: 71.91 kB / 372.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.03472, allocations: 262.7 kB / 373 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.03475, allocations: 19.98 kB / 373.1 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004875/0.03523, allocations: 1.035 MB / 374.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.03524, allocations: 3.938 kB / 374.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.03599, allocations: 0.8265 MB / 374.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.03612, allocations: 115.5 kB / 375 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.03617, allocations: 16 kB / 375.1 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.03634, allocations: 23.98 kB / 375.1 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.03639, allocations: 35.88 kB / 375.1 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.03641, allocations: 20.02 kB / 375.1 MB, free: 5.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.03659, allocations: 318.7 kB / 375.4 MB, free: 4.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03659, allocations: 0 / 375.4 MB, free: 4.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.037, allocations: 251.2 kB / 375.7 MB, free: 4.625 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.0001805/0.03718, allocations: 159.1 kB / 375.8 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.03776, allocations: 0.6635 MB / 376.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.03777, allocations: 0 / 376.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.03798, allocations: 250.5 kB / 376.7 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.03833, allocations: 115.1 kB / 376.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.04001, allocations: 1.268 MB / 378.1 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.216e-05/0.0401, allocations: 145.9 kB / 378.3 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.04025, allocations: 76.73 kB / 378.3 MB, free: 1.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.04046, allocations: 178.1 kB / 378.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04047, allocations: 0 / 378.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of Templates: time 0.01127/0.05174, allocations: 8.879 MB / 387.4 MB, free: 8.863 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: 2.8413445693440735]