Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009805/0.0009806, allocations: 169.4 kB / 7.643 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 229.6 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009047/0.0009048, allocations: 90.92 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02339/0.02339, allocations: 5.285 MB / 336.5 MB, free: 9.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.175e-05/1.176e-05, allocations: 0 / 396.3 MB, free: 51.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.09962, allocations: 51.61 MB / 447.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/0.46, allocations: 92.82 MB / 0.5281 GB, free: 84.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4603, allocations: 73.56 kB / 0.5281 GB, free: 84.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07179/0.5321, allocations: 29.64 MB / 0.5571 GB, free: 65.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5322, allocations: 0 / 0.5571 GB, free: 65.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.729e-05/0.5323, allocations: 16 kB / 0.5571 GB, free: 65.83 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003719/0.536, allocations: 1.151 MB / 0.5582 GB, free: 64.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.536, allocations: 12.22 kB / 0.5582 GB, free: 64.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.5378, allocations: 274.5 kB / 0.5585 GB, free: 64.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.539, allocations: 0.534 MB / 0.559 GB, free: 63.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.5391, allocations: 28 kB / 0.559 GB, free: 63.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.5393, allocations: 63.94 kB / 0.5591 GB, free: 63.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001754/0.5411, allocations: 0.8044 MB / 0.5599 GB, free: 62.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.5427, allocations: 0.8177 MB / 0.5607 GB, free: 62.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.5428, allocations: 7.938 kB / 0.5607 GB, free: 62.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.5429, allocations: 0 / 0.5607 GB, free: 62.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5429, allocations: 28 kB / 0.5607 GB, free: 61.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.5489, allocations: 3.854 MB / 0.5645 GB, free: 57.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.5503, allocations: 1.517 MB / 0.566 GB, free: 56.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.5508, allocations: 236.4 kB / 0.5662 GB, free: 55.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.551, allocations: 89.09 kB / 0.5663 GB, free: 55.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007218/0.5518, allocations: 303.6 kB / 0.5666 GB, free: 55.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.987e-06/0.5518, allocations: 0 / 0.5666 GB, free: 55.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.005812/0.5576, allocations: 0.8373 MB / 0.5674 GB, free: 54.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.5577, allocations: 166.6 kB / 0.5675 GB, free: 54.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.5586, allocations: 457 kB / 0.568 GB, free: 54.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.5587, allocations: 33.73 kB / 0.568 GB, free: 53.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.5591, allocations: 458.2 kB / 0.5684 GB, free: 53.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.5593, allocations: 165.7 kB / 0.5686 GB, free: 53.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.5593, allocations: 0 / 0.5686 GB, free: 53.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5595, allocations: 362.8 kB / 0.5689 GB, free: 53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.56, allocations: 209.5 kB / 0.5691 GB, free: 52.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.5604, allocations: 402.7 kB / 0.5695 GB, free: 52.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.5615, allocations: 333.9 kB / 0.5698 GB, free: 52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5615, allocations: 8 kB / 0.5699 GB, free: 51.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002431/0.564, allocations: 0.8117 MB / 0.5706 GB, free: 51.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.564, allocations: 33.7 kB / 0.5707 GB, free: 51.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5641, allocations: 4 kB / 0.5707 GB, free: 51.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006592/0.5647, allocations: 92.97 kB / 0.5708 GB, free: 51.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5658, allocations: 191.7 kB / 0.571 GB, free: 50.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.5676, allocations: 1.498 MB / 0.5724 GB, free: 49.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/0.5684, allocations: 87.34 kB / 0.5725 GB, free: 49.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.5685, allocations: 35.98 kB / 0.5725 GB, free: 49.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.5687, allocations: 154.5 kB / 0.5727 GB, free: 48.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.5688, allocations: 63.3 kB / 0.5727 GB, free: 48.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.5719, allocations: 0.9113 MB / 0.5736 GB, free: 47.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.5719, allocations: 11.94 kB / 0.5736 GB, free: 47.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5719, allocations: 4 kB / 0.5737 GB, free: 47.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5719, allocations: 0 / 0.5737 GB, free: 47.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.574, allocations: 1.566 MB / 0.5752 GB, free: 46.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.574, allocations: 4.031 kB / 0.5752 GB, free: 46.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.5744, allocations: 83.83 kB / 0.5753 GB, free: 46.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002819/0.5773, allocations: 0.5371 MB / 0.5758 GB, free: 45.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.5773, allocations: 7.984 kB / 0.5758 GB, free: 45.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009398/0.5783, allocations: 0.8568 MB / 0.5766 GB, free: 44.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5783, allocations: 4.062 kB / 0.5766 GB, free: 44.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.5801, allocations: 0.9717 MB / 0.5776 GB, free: 43.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.5804, allocations: 204.1 kB / 0.5778 GB, free: 43.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.5806, allocations: 12.06 kB / 0.5778 GB, free: 43.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.5812, allocations: 31.97 kB / 0.5778 GB, free: 43.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.5813, allocations: 27.97 kB / 0.5778 GB, free: 43.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.5813, allocations: 27.97 kB / 0.5779 GB, free: 43.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004895/0.5818, allocations: 343 kB / 0.5782 GB, free: 43.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5818, allocations: 4 kB / 0.5782 GB, free: 43.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001061/0.5829, allocations: 235.1 kB / 0.5784 GB, free: 42.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/0.5832, allocations: 200 kB / 0.5786 GB, free: 42.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.5846, allocations: 0.6895 MB / 0.5793 GB, free: 41.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5846, allocations: 0 / 0.5793 GB, free: 41.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.5852, allocations: 336.5 kB / 0.5796 GB, free: 41.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.5858, allocations: 68.42 kB / 0.5797 GB, free: 41.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.588, allocations: 0.9222 MB / 0.5806 GB, free: 40.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.5885, allocations: 0.9611 MB / 0.5815 GB, free: 39.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004749/0.589, allocations: 72.75 kB / 0.5816 GB, free: 39.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.5892, allocations: 55.41 kB / 0.5816 GB, free: 39.51 MB / 362.7 MB Notification: Performance of SimCode: time 2.214e-06/0.5892, allocations: 4 kB / 0.5816 GB, free: 39.5 MB / 362.7 MB Notification: Performance of Templates: time 0.01703/0.6062, allocations: 7.788 MB / 0.5893 GB, free: 31.77 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1)