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.0008582/0.0008582, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006814/0.006814, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1587/0.1587, allocations: 5.391 MB / 296.8 MB, free: 3.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003758, allocations: 8 kB / 362.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 51.6 MB / 414.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.009284/0.1353, allocations: 9.38 MB / 423.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2409/0.3763, allocations: 3.433 MB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.3786, allocations: 65.31 kB / 427.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.3812, allocations: 0.7061 MB / 427.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.3852, allocations: 0.8901 MB / 428.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.3877, allocations: 0.8779 MB / 429.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00533/0.3931, allocations: 4.056 MB / 433.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0193/0.4124, allocations: 10.46 MB / 444.1 MB, free: 32.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/0.4166, allocations: 1.611 MB / 445.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004835/0.4215, allocations: 1.956 MB / 447.6 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.4234, allocations: 281.5 kB / 447.9 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.4273, allocations: 0.5319 MB / 448.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.4291, allocations: 0.7849 MB / 449.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005947/0.4351, allocations: 2.023 MB / 451.3 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.449, allocations: 8.523 MB / 459.8 MB, free: 26.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.449, allocations: 0 / 459.8 MB, free: 26.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.449, allocations: 0 / 459.8 MB, free: 26.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003599/0.4494, allocations: 0 / 459.8 MB, free: 26.78 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.01588/0.4653, allocations: 4.392 MB / 464.2 MB, free: 24.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4654, allocations: 10.16 kB / 464.2 MB, free: 24.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.477, allocations: 1.588 MB / 465.8 MB, free: 24.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00915/0.4863, allocations: 2.866 MB / 468.6 MB, free: 22.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009225/0.4872, allocations: 316.8 kB / 468.9 MB, free: 22.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002796/0.4901, allocations: 416.4 kB / 469.4 MB, free: 22.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/0.5178, allocations: 6.694 MB / 476 MB, free: 19.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005488/0.5185, allocations: 7.906 kB / 476.1 MB, free: 19.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003231/0.5217, allocations: 174.6 kB / 476.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005548/0.5223, allocations: 215.1 kB / 476.4 MB, free: 19.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.5394, allocations: 5.659 MB / 482.1 MB, free: 16.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04201/0.5814, allocations: 22.79 MB / 0.4931 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006437/0.5879, allocations: 4.438 MB / 0.4974 GB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5896, allocations: 0.8903 MB / 0.4983 GB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.5898, allocations: 109.9 kB / 0.4984 GB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.5912, allocations: 0.8448 MB / 0.4992 GB, free: 4.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 5.26e-06/0.5912, allocations: 3.938 kB / 0.4992 GB, free: 4.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=112): time 0.00526/0.5965, allocations: 2.415 MB / 0.5015 GB, free: 2.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.5966, allocations: 149.5 kB / 0.5017 GB, free: 1.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.6005, allocations: 1.811 MB / 0.5035 GB, free: 80 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.6006, allocations: 45.7 kB / 0.5035 GB, free: 28 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.6027, allocations: 1.961 MB / 0.5054 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.6032, allocations: 407.5 kB / 0.5058 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.6036, allocations: 214.8 kB / 0.506 GB, free: 13.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6038, allocations: 301.1 kB / 0.5063 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.6058, allocations: 1.129 MB / 0.5074 GB, free: 12.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002896/0.6087, allocations: 2.228 MB / 0.5096 GB, free: 9.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00459/0.6133, allocations: 3.474 MB / 0.513 GB, free: 5.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.643e-05/0.6133, allocations: 12 kB / 0.513 GB, free: 5.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.00655/0.6199, allocations: 3.58 MB / 0.5165 GB, free: 1.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/0.62, allocations: 49.7 kB / 0.5165 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.996e-05/0.6201, allocations: 36 kB / 0.5166 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.6206, allocations: 132.8 kB / 0.5167 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.6227, allocations: 0.6083 MB / 0.5173 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.6245, allocations: 1.537 MB / 0.5188 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.627, allocations: 368.9 kB / 0.5191 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.6273, allocations: 139.9 kB / 0.5193 GB, free: 14.64 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.003425/0.6307, allocations: 1.712 MB / 0.5209 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.6312, allocations: 161.9 kB / 0.5211 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.6348, allocations: 1.883 MB / 0.5229 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002457/0.6372, allocations: 1.524 MB / 0.5244 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.6373, allocations: 15.92 kB / 0.5244 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6373, allocations: 3.984 kB / 0.5244 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.6492, allocations: 5.34 MB / 0.5297 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.6492, allocations: 4.031 kB / 0.5297 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009082/0.6501, allocations: 211.7 kB / 0.5299 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006854/0.6509, allocations: 258.4 kB / 0.5301 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.651, allocations: 27.98 kB / 0.5301 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.6522, allocations: 0.8428 MB / 0.531 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6522, allocations: 4 kB / 0.531 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005977/0.6582, allocations: 2.922 MB / 0.5338 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.6595, allocations: 394.6 kB / 0.5342 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006153/0.6601, allocations: 28 kB / 0.5342 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.6613, allocations: 95.95 kB / 0.5343 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.6615, allocations: 76.78 kB / 0.5344 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.6617, allocations: 39.98 kB / 0.5344 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002901/0.6646, allocations: 1.233 MB / 0.5356 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6646, allocations: 4 kB / 0.5356 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003979/0.6686, allocations: 0.9522 MB / 0.5366 GB, free: 12.7 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.0005442/0.6691, allocations: 188.4 kB / 0.5367 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004969/0.6741, allocations: 2.572 MB / 0.5392 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.6742, allocations: 0 / 0.5392 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.6756, allocations: 0.8417 MB / 0.5401 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.6784, allocations: 344.4 kB / 0.5404 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.6962, allocations: 8.275 MB / 0.5485 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005172/0.7014, allocations: 3.03 MB / 0.5514 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003019/0.7045, allocations: 0.8503 MB / 0.5523 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.7052, allocations: 139.4 kB / 0.5524 GB, free: 12.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.392e-06/0.7052, allocations: 0 / 0.5524 GB, free: 12.36 MB / 430.1 MB Notification: Performance of Templates: time 0.04806/0.7532, allocations: 23.71 MB / 0.5756 GB, free: 4.82 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: