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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001174, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 192.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.157/0.157, allocations: 5.386 MB / 295.5 MB, free: 2.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 55.91 kB / 360.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1192, allocations: 50.62 MB / 411 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01133/0.1306, allocations: 9.997 MB / 421 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/0.3351, allocations: 3.451 MB / 424.4 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.3363, allocations: 66.12 kB / 424.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.3418, allocations: 3.056 MB / 427.5 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.3441, allocations: 0.8934 MB / 428.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3456, allocations: 0.879 MB / 429.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.3486, allocations: 4.198 MB / 433.5 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.3595, allocations: 12.19 MB / 445.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.3624, allocations: 2.393 MB / 448.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.3659, allocations: 2.666 MB / 450.8 MB, free: 28.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.3672, allocations: 0.7166 MB / 451.5 MB, free: 28.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.3692, allocations: 0.9961 MB / 452.5 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008572/0.37, allocations: 1.333 MB / 453.8 MB, free: 27.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002256/0.3723, allocations: 2.61 MB / 456.4 MB, free: 26.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006637/0.379, allocations: 9.05 MB / 465.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.379, allocations: 0 / 465.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.379, allocations: 0 / 465.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002145/0.3792, allocations: 4 kB / 465.5 MB, free: 22.96 MB / 350.1 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.01531/0.3945, allocations: 5.361 MB / 470.8 MB, free: 20.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.3946, allocations: 9.875 kB / 470.8 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009937/0.4046, allocations: 1.587 MB / 472.4 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.4125, allocations: 2.865 MB / 475.3 MB, free: 18.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.4129, allocations: 324.2 kB / 475.6 MB, free: 18.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.4147, allocations: 414.5 kB / 476 MB, free: 18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.4342, allocations: 6.691 MB / 482.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.4343, allocations: 7.297 kB / 482.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006092/0.4349, allocations: 173.6 kB / 482.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/0.4352, allocations: 209.5 kB / 483.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009917/0.4451, allocations: 5.645 MB / 488.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03161/0.4767, allocations: 22.75 MB / 0.4995 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005905/0.4827, allocations: 4.428 MB / 0.5038 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.4843, allocations: 0.8747 MB / 0.5047 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.4845, allocations: 114.9 kB / 0.5048 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.4858, allocations: 0.8253 MB / 0.5056 GB, free: 13.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 2.635e-06/0.4858, allocations: 0 / 0.5056 GB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.005072/0.4909, allocations: 2.371 MB / 0.5079 GB, free: 10.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.491, allocations: 161.4 kB / 0.5081 GB, free: 10.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.4936, allocations: 1.814 MB / 0.5098 GB, free: 8.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-05/0.4937, allocations: 41.7 kB / 0.5099 GB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.4954, allocations: 1.954 MB / 0.5118 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.4958, allocations: 413.8 kB / 0.5122 GB, free: 6.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008039/0.4966, allocations: 0.5473 MB / 0.5127 GB, free: 5.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.4967, allocations: 301.1 kB / 0.513 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.4984, allocations: 1.121 MB / 0.5141 GB, free: 4.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/0.5007, allocations: 2.22 MB / 0.5163 GB, free: 1.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004025/0.5048, allocations: 3.458 MB / 0.5196 GB, free: 13.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.5048, allocations: 8 kB / 0.5196 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.00574/0.5105, allocations: 3.552 MB / 0.5231 GB, free: 9.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.5106, allocations: 57.7 kB / 0.5232 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.5107, allocations: 36 kB / 0.5232 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.5112, allocations: 124.8 kB / 0.5233 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.5133, allocations: 0.6199 MB / 0.5239 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5148, allocations: 1.632 MB / 0.5255 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.5168, allocations: 368.8 kB / 0.5259 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.517, allocations: 136 kB / 0.526 GB, free: 6.797 MB / 398.1 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 (316): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.002456/0.5195, allocations: 1.712 MB / 0.5277 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.5198, allocations: 158 kB / 0.5278 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/0.5231, allocations: 1.875 MB / 0.5297 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002432/0.5255, allocations: 1.521 MB / 0.5311 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5255, allocations: 0 / 0.5311 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.5255, allocations: 7.969 kB / 0.5311 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009677/0.5352, allocations: 5.288 MB / 0.5363 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5353, allocations: 0 / 0.5363 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/0.5361, allocations: 207.9 kB / 0.5365 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005858/0.5367, allocations: 262.3 kB / 0.5368 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/0.5368, allocations: 27.98 kB / 0.5368 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.5379, allocations: 0.8349 MB / 0.5376 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5379, allocations: 0 / 0.5376 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00551/0.5434, allocations: 2.879 MB / 0.5404 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009295/0.5443, allocations: 366.8 kB / 0.5408 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.5446, allocations: 24 kB / 0.5408 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.5455, allocations: 87.97 kB / 0.5409 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.5457, allocations: 75.34 kB / 0.5409 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.5457, allocations: 35.98 kB / 0.541 GB, free: 7.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.5475, allocations: 1.241 MB / 0.5422 GB, free: 5.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5475, allocations: 0 / 0.5422 GB, free: 5.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002696/0.5502, allocations: 0.9444 MB / 0.5431 GB, free: 5.047 MB / 414.1 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0003922/0.5506, allocations: 192.5 kB / 0.5433 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008743/0.5594, allocations: 3.053 MB / 0.5463 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.5594, allocations: 0 / 0.5463 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.5615, allocations: 0.8347 MB / 0.5471 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/0.5646, allocations: 363.5 kB / 0.5474 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.5821, allocations: 8.223 MB / 0.5555 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/0.5864, allocations: 3.03 MB / 0.5584 GB, free: 5.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003824/0.5903, allocations: 0.8503 MB / 0.5593 GB, free: 4.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/0.5909, allocations: 143.4 kB / 0.5594 GB, free: 4.258 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5909, allocations: 0 / 0.5594 GB, free: 4.258 MB / 430.1 MB Notification: Performance of Templates: time 0.2558/0.8467, allocations: 24.89 MB / 0.5837 GB, free: 123.3 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile (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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1)