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.0009344/0.0009344, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002307, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000913/0.000913, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002101, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9468/0.9468, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08447/1.031, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.01899/0.01899, allocations: 4.324 MB / 248.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001929/0.02092, allocations: 1.691 MB / 250 MB, free: 8.973 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.553e-06/1.553e-06, allocations: 0 / 251.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.128e-05, allocations: 2.312 kB / 251.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01208/0.01211, allocations: 9.743 MB / 261 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.02009, allocations: 3.76 MB / 264.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.02176, allocations: 83.56 kB / 264.9 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005836/0.02759, allocations: 3.457 MB / 268.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.0308, allocations: 0.9004 MB / 269.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.03234, allocations: 1.071 MB / 270.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.0351, allocations: 4.432 MB / 274.7 MB, free: 96 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.115/0.1501, allocations: 6.612 MB / 281.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.154, allocations: 3.917 MB / 285.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.1566, allocations: 2.528 MB / 287.8 MB, free: 68 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008859/0.1575, allocations: 0.7123 MB / 288.5 MB, free: 68 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1587, allocations: 1.044 MB / 289.6 MB, free: 0 / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007048/0.1594, allocations: 1.095 MB / 290.7 MB, free: 0 / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.1605, allocations: 1.467 MB / 292.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.1636, allocations: 4.268 MB / 296.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.1636, allocations: 0.6562 kB / 296.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1636, allocations: 0 / 296.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.379e-05/0.1637, allocations: 1.438 kB / 296.4 MB, free: 14.08 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.006792/0.1705, allocations: 6.041 MB / 302.4 MB, free: 9.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1705, allocations: 10.62 kB / 302.4 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/0.1752, allocations: 1.866 MB / 304.3 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.1774, allocations: 1.547 MB / 305.9 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.1776, allocations: 315.3 kB / 306.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006776/0.1783, allocations: 420.8 kB / 306.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.1819, allocations: 3.368 MB / 309.9 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.896e-05/0.182, allocations: 0 / 309.9 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/0.1823, allocations: 178.8 kB / 310.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.1824, allocations: 207.9 kB / 310.3 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.1845, allocations: 1.554 MB / 311.9 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.1977, allocations: 13.69 MB / 325.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.1993, allocations: 1.219 MB / 326.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.1996, allocations: 313.2 kB / 327.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/0.1997, allocations: 41.53 kB / 327.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004004/0.2001, allocations: 458.6 kB / 327.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=106): time 2.164e-06/0.2001, allocations: 0 / 327.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.001192/0.2013, allocations: 0.8432 MB / 328.4 MB, free: 228 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.2013, allocations: 145.5 kB / 328.6 MB, free: 52 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.2024, allocations: 1.259 MB / 329.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.2024, allocations: 45.7 kB / 329.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/0.2031, allocations: 1.873 MB / 331.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.2033, allocations: 404.6 kB / 332.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.2037, allocations: 0.4893 MB / 332.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.2038, allocations: 305.1 kB / 332.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.2042, allocations: 366 kB / 333.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.2049, allocations: 1.367 MB / 334.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.2064, allocations: 1.912 MB / 336.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.2064, allocations: 12 kB / 336.6 MB, free: 7.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.001617/0.208, allocations: 1.633 MB / 338.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.2081, allocations: 46.45 kB / 338.2 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.2081, allocations: 36 kB / 338.3 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.2083, allocations: 132.7 kB / 338.4 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.2094, allocations: 0.6467 MB / 339.1 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008356/0.2103, allocations: 1.437 MB / 340.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/0.2111, allocations: 306 kB / 340.8 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.2112, allocations: 116 kB / 340.9 MB, free: 3.473 MB / 314.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.0004585/0.2116, allocations: 324.3 kB / 341.2 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.2118, allocations: 131.8 kB / 341.4 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/0.2126, allocations: 0.8167 MB / 342.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004724/0.2131, allocations: 0.5239 MB / 342.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2131, allocations: 0 / 342.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.2131, allocations: 3.984 kB / 342.7 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.2162, allocations: 2.538 MB / 345.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2162, allocations: 3.938 kB / 345.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.2167, allocations: 210.3 kB / 345.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.2169, allocations: 210.6 kB / 345.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.2172, allocations: 267.6 kB / 345.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.2172, allocations: 35.91 kB / 345.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003709/0.2176, allocations: 0.7353 MB / 346.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2176, allocations: 4 kB / 346.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.2187, allocations: 1.158 MB / 347.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.2188, allocations: 28.06 kB / 347.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.2191, allocations: 47.91 kB / 347.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.2192, allocations: 68.88 kB / 348 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.2193, allocations: 31.97 kB / 348 MB, free: 12.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004328/0.2197, allocations: 0.5407 MB / 348.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2197, allocations: 0 / 348.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001467/0.2212, allocations: 0.9574 MB / 349.5 MB, free: 11.02 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.0002453/0.2214, allocations: 184 kB / 349.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.2229, allocations: 1.31 MB / 351 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.697e-05/0.223, allocations: 37.84 kB / 351 MB, free: 9.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.2234, allocations: 408.7 kB / 351.4 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.2244, allocations: 0.5103 MB / 352 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.2418, allocations: 5.859 MB / 357.8 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009262/0.2428, allocations: 0.7961 MB / 358.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007227/0.2435, allocations: 359.4 kB / 359 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/0.2441, allocations: 385.1 kB / 359.3 MB, free: 1.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2441, allocations: 0 / 359.3 MB, free: 1.25 MB / 330.7 MB Notification: Performance of Templates: time 0.03332/0.2774, allocations: 26.39 MB / 385.7 MB, free: 7.289 MB / 362.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: 3.0949681783095]