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.0009149/0.0009149, allocations: 77.14 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.0009493/0.0009493, allocations: 173 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 1.055/1.055, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.02228/0.02228, allocations: 4.221 MB / 264.5 MB, free: 8.766 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 1.903e-06/1.903e-06, allocations: 0 / 339.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.761e-05, allocations: 6.25 kB / 339.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.007347/0.007375, allocations: 9.582 MB / 349.1 MB, free: 288 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006937/0.01431, allocations: 3.48 MB / 352.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.01646, allocations: 83.56 kB / 352.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.02093, allocations: 3.34 MB / 356 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.02416, allocations: 0.9082 MB / 356.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.02596, allocations: 1.044 MB / 358 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004026/0.02998, allocations: 4.389 MB / 362.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007113/0.0371, allocations: 6.563 MB / 368.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004922/0.04202, allocations: 3.768 MB / 372.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.04566, allocations: 2.491 MB / 375.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.04766, allocations: 0.7109 MB / 375.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.05048, allocations: 1.023 MB / 376.9 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.05221, allocations: 1.36 MB / 378.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002754/0.05496, allocations: 1.735 MB / 380 MB, free: 1.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005575/0.06054, allocations: 4.511 MB / 384.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.06054, allocations: 0 / 384.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.06054, allocations: 0 / 384.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001709/0.06071, allocations: 0 / 384.5 MB, free: 12.7 MB / 314.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.008356/0.06907, allocations: 5.56 MB / 390.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.06911, allocations: 16.02 kB / 390.1 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/0.07452, allocations: 1.825 MB / 391.9 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/0.07813, allocations: 2.574 MB / 394.5 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.07832, allocations: 320.5 kB / 394.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000616/0.07893, allocations: 416 kB / 395.2 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005753/0.08469, allocations: 3.297 MB / 398.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-05/0.08475, allocations: 4 kB / 398.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.08508, allocations: 176 kB / 398.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.08523, allocations: 207.9 kB / 398.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.08784, allocations: 1.351 MB / 400.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1676/0.2554, allocations: 17.93 MB / 418.2 MB, free: 56.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.2572, allocations: 1.27 MB / 419.4 MB, free: 56.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.2576, allocations: 351.4 kB / 419.8 MB, free: 56.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.2577, allocations: 57.16 kB / 419.8 MB, free: 56.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.2582, allocations: 474 kB / 420.3 MB, free: 56.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 2.745e-06/0.2582, allocations: 0 / 420.3 MB, free: 56.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.001981/0.2602, allocations: 1.068 MB / 421.4 MB, free: 55.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.2603, allocations: 145.3 kB / 421.5 MB, free: 55.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.2626, allocations: 1.726 MB / 423.2 MB, free: 55.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.2627, allocations: 43.11 kB / 423.3 MB, free: 55.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.2642, allocations: 2.142 MB / 425.4 MB, free: 54.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.2645, allocations: 415.1 kB / 425.8 MB, free: 53.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000689/0.2652, allocations: 0.6177 MB / 426.4 MB, free: 53.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.2653, allocations: 476.8 kB / 426.9 MB, free: 53.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.2657, allocations: 301.4 kB / 427.2 MB, free: 53.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.2667, allocations: 1.946 MB / 429.2 MB, free: 51.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.2685, allocations: 2.454 MB / 431.6 MB, free: 49.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.824e-05/0.2685, allocations: 7.75 kB / 431.6 MB, free: 49.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002736/0.2713, allocations: 2.005 MB / 433.6 MB, free: 49.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.2713, allocations: 52.72 kB / 433.7 MB, free: 49.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.284e-05/0.2714, allocations: 34.09 kB / 433.7 MB, free: 49.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.2716, allocations: 129.6 kB / 433.8 MB, free: 49.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.2727, allocations: 0.5645 MB / 434.4 MB, free: 49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009845/0.2737, allocations: 2.011 MB / 436.4 MB, free: 47.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.2749, allocations: 314.6 kB / 436.7 MB, free: 47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.275, allocations: 117.2 kB / 436.8 MB, free: 47 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.001027/0.276, allocations: 374.6 kB / 437.2 MB, free: 46.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.2763, allocations: 207.8 kB / 437.4 MB, free: 46.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.2773, allocations: 0.9774 MB / 438.4 MB, free: 46.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006324/0.2779, allocations: 0.6907 MB / 439.1 MB, free: 46.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2779, allocations: 6.516 kB / 439.1 MB, free: 46.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2779, allocations: 7.266 kB / 439.1 MB, free: 46.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.2824, allocations: 3.017 MB / 442.1 MB, free: 45.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2824, allocations: 3.812 kB / 442.1 MB, free: 45.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.2828, allocations: 182.2 kB / 442.3 MB, free: 45.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.2831, allocations: 259.5 kB / 442.5 MB, free: 45.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.2832, allocations: 31.03 kB / 442.6 MB, free: 45.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004722/0.2837, allocations: 1.053 MB / 443.6 MB, free: 44.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2837, allocations: 2.25 kB / 443.6 MB, free: 44.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.2853, allocations: 1.405 MB / 445 MB, free: 43.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.2857, allocations: 259.4 kB / 445.3 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.2858, allocations: 30.17 kB / 445.3 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.2862, allocations: 43.02 kB / 445.3 MB, free: 43.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.2862, allocations: 75.97 kB / 445.4 MB, free: 43.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.2863, allocations: 33.2 kB / 445.5 MB, free: 43.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006086/0.2869, allocations: 0.7567 MB / 446.2 MB, free: 42.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2869, allocations: 0 / 446.2 MB, free: 42.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001981/0.2889, allocations: 0.962 MB / 447.2 MB, free: 42.08 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.0002815/0.2892, allocations: 208.7 kB / 447.4 MB, free: 41.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.2907, allocations: 1.498 MB / 448.9 MB, free: 40.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2907, allocations: 1.938 kB / 448.9 MB, free: 40.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2911, allocations: 449.8 kB / 449.3 MB, free: 40.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.292, allocations: 380 kB / 449.7 MB, free: 40.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.2984, allocations: 5.499 MB / 455.2 MB, free: 35.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.2991, allocations: 1.098 MB / 456.3 MB, free: 34.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000753/0.2999, allocations: 357.4 kB / 456.6 MB, free: 34.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.3004, allocations: 437.5 kB / 457.1 MB, free: 34.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.774e-06/0.3004, allocations: 4 kB / 457.1 MB, free: 34.13 MB / 330.7 MB Notification: Performance of Templates: time 0.03272/0.3331, allocations: 25.25 MB / 482.3 MB, free: 9.859 MB / 330.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.5490796421654522]