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.001478/0.001478, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.002069/0.002069, allocations: 181 kB / 23.36 MB, free: 1.133 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.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.01895/0.01895, allocations: 4.231 MB / 264.5 MB, free: 8.809 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 2.414e-06/2.414e-06, allocations: 0 / 286.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.57e-05, allocations: 10.19 kB / 286.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.1653/0.1653, allocations: 9.617 MB / 296 MB, free: 20.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007139/0.1725, allocations: 3.642 MB / 299.6 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.1739, allocations: 78.31 kB / 299.7 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.1784, allocations: 3.406 MB / 303.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.1812, allocations: 0.8916 MB / 304 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1829, allocations: 1.074 MB / 305.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004521/0.1874, allocations: 4.389 MB / 309.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007273/0.1947, allocations: 6.744 MB / 316.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.1989, allocations: 3.795 MB / 320 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.2017, allocations: 2.534 MB / 322.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.203, allocations: 0.707 MB / 323.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.2052, allocations: 1.038 MB / 324.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.2063, allocations: 1.356 MB / 325.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.2085, allocations: 1.739 MB / 327.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004712/0.2132, allocations: 4.503 MB / 331.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2132, allocations: 0 / 331.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2132, allocations: 4 kB / 331.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.242e-05/0.2133, allocations: 0 / 331.9 MB, free: 5.793 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.007556/0.2208, allocations: 5.114 MB / 337 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2209, allocations: 8.031 kB / 337 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006006/0.2269, allocations: 1.862 MB / 338.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.2301, allocations: 1.525 MB / 340.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.2303, allocations: 324.5 kB / 340.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005997/0.2309, allocations: 424 kB / 341.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/0.2359, allocations: 3.363 MB / 344.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/0.2359, allocations: 11.94 kB / 344.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/0.2362, allocations: 176 kB / 344.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.2364, allocations: 199.9 kB / 344.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.239, allocations: 1.554 MB / 346.4 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.2567, allocations: 13.51 MB / 359.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.2586, allocations: 1.206 MB / 361.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.259, allocations: 313.3 kB / 361.4 MB, free: 7.516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.2591, allocations: 40.97 kB / 361.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/0.2596, allocations: 465.8 kB / 361.9 MB, free: 6.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=106): time 2.996e-06/0.2596, allocations: 0 / 361.9 MB, free: 6.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.001533/0.2611, allocations: 0.8249 MB / 362.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.2612, allocations: 157.4 kB / 362.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.2626, allocations: 1.228 MB / 364.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.2626, allocations: 45.7 kB / 364.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.2638, allocations: 1.875 MB / 366.1 MB, free: 2.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.2641, allocations: 400.7 kB / 366.4 MB, free: 2.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004713/0.2646, allocations: 0.4926 MB / 366.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.2646, allocations: 301.2 kB / 367.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.2651, allocations: 374 kB / 367.6 MB, free: 1.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.2659, allocations: 1.363 MB / 369 MB, free: 15.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.2673, allocations: 1.917 MB / 370.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.2674, allocations: 8 kB / 370.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.001973/0.2693, allocations: 1.63 MB / 372.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.2694, allocations: 49.69 kB / 372.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.2694, allocations: 36 kB / 372.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.2697, allocations: 128.7 kB / 372.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.2708, allocations: 0.5929 MB / 373.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009082/0.2717, allocations: 1.408 MB / 374.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.2727, allocations: 309.7 kB / 375 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.2728, allocations: 112 kB / 375.1 MB, free: 8.465 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.0007938/0.2736, allocations: 329.2 kB / 375.5 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.2738, allocations: 131.9 kB / 375.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.2748, allocations: 0.7986 MB / 376.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005264/0.2754, allocations: 0.5063 MB / 376.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2754, allocations: 7.938 kB / 376.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.2754, allocations: 7.984 kB / 376.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.2787, allocations: 2.533 MB / 379.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2787, allocations: 4 kB / 379.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.2791, allocations: 195.7 kB / 379.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.2794, allocations: 256 kB / 379.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.2795, allocations: 31.97 kB / 379.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004132/0.2799, allocations: 0.7251 MB / 380.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2799, allocations: 7.984 kB / 380.7 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.2811, allocations: 1.139 MB / 381.8 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.2815, allocations: 214.6 kB / 382 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.2816, allocations: 24 kB / 382 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.282, allocations: 39.98 kB / 382.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2821, allocations: 72.8 kB / 382.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.2821, allocations: 27.98 kB / 382.2 MB, free: 1.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.2826, allocations: 0.5338 MB / 382.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2826, allocations: 0 / 382.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002303/0.2849, allocations: 0.9537 MB / 383.6 MB, free: 15.65 MB / 346.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.0003161/0.2853, allocations: 188.5 kB / 383.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.2868, allocations: 1.291 MB / 385.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.749e-05/0.2869, allocations: 31.84 kB / 385.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.2873, allocations: 405.3 kB / 385.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009342/0.2882, allocations: 381.9 kB / 385.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/0.2954, allocations: 5.469 MB / 391.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007553/0.2962, allocations: 0.7585 MB / 392.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009247/0.2971, allocations: 359.8 kB / 392.5 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/0.2978, allocations: 381.1 kB / 392.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2978, allocations: 0 / 392.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of Templates: time 0.03807/0.3358, allocations: 25.42 MB / 418.3 MB, free: 13.2 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5758346570655704]