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.0009376/0.0009376, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002331, allocations: 440 kB / 10.41 MB, free: 284 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.0009109/0.0009109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001994, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9718/0.9718, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09503/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.01782/0.01782, allocations: 4.319 MB / 248.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003413/0.02123, allocations: 1.706 MB / 250.2 MB, free: 8.855 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.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.765e-05, allocations: 2.312 kB / 251.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01215/0.01218, allocations: 9.762 MB / 261.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008059/0.02024, allocations: 3.756 MB / 265 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.02182, allocations: 79.62 kB / 265.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005713/0.02754, allocations: 3.461 MB / 268.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.03099, allocations: 0.8925 MB / 269.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.03342, allocations: 1.083 MB / 270.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1374/0.1708, allocations: 4.428 MB / 275 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.1812, allocations: 6.62 MB / 281.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006242/0.1874, allocations: 3.913 MB / 285.5 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.1922, allocations: 2.538 MB / 288 MB, free: 0 / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002703/0.1949, allocations: 0.7129 MB / 288.7 MB, free: 0 / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.1983, allocations: 1.065 MB / 289.8 MB, free: 0 / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.1999, allocations: 1.094 MB / 290.9 MB, free: 0 / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.2026, allocations: 1.471 MB / 292.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005744/0.2084, allocations: 4.253 MB / 296.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.2084, allocations: 4 kB / 296.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2084, allocations: 0.7812 kB / 296.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002533/0.2086, allocations: 0 / 296.6 MB, free: 14.06 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.01057/0.2192, allocations: 6.035 MB / 302.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2192, allocations: 12.75 kB / 302.7 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/0.226, allocations: 1.862 MB / 304.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.2293, allocations: 1.537 MB / 306.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.2295, allocations: 323.4 kB / 306.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005219/0.23, allocations: 411.9 kB / 306.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005046/0.235, allocations: 3.375 MB / 310.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/0.2351, allocations: 7.641 kB / 310.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.2354, allocations: 175.1 kB / 310.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.2355, allocations: 199.9 kB / 310.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.2382, allocations: 1.549 MB / 312.1 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.2539, allocations: 13.69 MB / 325.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.2557, allocations: 1.211 MB / 327 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.2562, allocations: 304.4 kB / 327.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.92e-05/0.2563, allocations: 57.05 kB / 327.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.2567, allocations: 452.2 kB / 327.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=106): time 2.655e-06/0.2567, allocations: 0 / 327.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.001338/0.2581, allocations: 0.8392 MB / 328.6 MB, free: 192 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.2581, allocations: 208.2 kB / 328.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.2591, allocations: 1.248 MB / 330.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.2591, allocations: 45.7 kB / 330.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.2602, allocations: 1.876 MB / 332 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.2605, allocations: 395 kB / 332.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000611/0.2611, allocations: 0.4946 MB / 332.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.2612, allocations: 309.6 kB / 333.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.2617, allocations: 370 kB / 333.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.2628, allocations: 1.362 MB / 334.9 MB, free: 9.762 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.2649, allocations: 2.076 MB / 337 MB, free: 7.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.2649, allocations: 8 kB / 337 MB, free: 7.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002421/0.2673, allocations: 1.638 MB / 338.6 MB, free: 5.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.2674, allocations: 49.7 kB / 338.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.755e-05/0.2674, allocations: 36 kB / 338.7 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.2677, allocations: 133.3 kB / 338.8 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.2693, allocations: 0.6526 MB / 339.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.2704, allocations: 1.431 MB / 340.9 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.2718, allocations: 305.9 kB / 341.2 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.272, allocations: 112 kB / 341.3 MB, free: 3.207 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.001057/0.273, allocations: 323.3 kB / 341.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.2732, allocations: 131.8 kB / 341.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.2744, allocations: 0.8212 MB / 342.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000649/0.2751, allocations: 0.5219 MB / 343.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2751, allocations: 3.094 kB / 343.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.2751, allocations: 3.984 kB / 343.1 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.2794, allocations: 2.529 MB / 345.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.2794, allocations: 4 kB / 345.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.28, allocations: 214.9 kB / 345.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.2804, allocations: 210.3 kB / 346.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.2808, allocations: 264.2 kB / 346.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.2808, allocations: 27.98 kB / 346.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004879/0.2813, allocations: 0.7436 MB / 347.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2813, allocations: 7.5 kB / 347.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.2828, allocations: 1.156 MB / 348.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.283, allocations: 28 kB / 348.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2834, allocations: 39.19 kB / 348.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2835, allocations: 80.3 kB / 348.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.2836, allocations: 35.97 kB / 348.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006062/0.2842, allocations: 0.5301 MB / 349 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2842, allocations: 4 kB / 349 MB, free: 11.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002404/0.2866, allocations: 0.9574 MB / 349.9 MB, free: 10.75 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.0003375/0.2869, allocations: 185 kB / 350.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.2888, allocations: 1.359 MB / 351.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.569e-05/0.2888, allocations: 42.02 kB / 351.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.2902, allocations: 0.9461 MB / 352.5 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.2925, allocations: 2.948 MB / 355.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02593/0.3184, allocations: 5.526 MB / 360.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/0.3194, allocations: 0.7923 MB / 361.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00116/0.3205, allocations: 360 kB / 362.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007876/0.3213, allocations: 397 kB / 362.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3213, allocations: 0 / 362.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Templates: time 0.03892/0.3602, allocations: 24.71 MB / 387.2 MB, free: 5.305 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.250798753462732]