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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009603, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.009148/0.009148, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1659/0.1659, allocations: 5.374 MB / 296.8 MB, free: 3.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 8 kB / 362.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 51.6 MB / 414.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.007808/0.1307, allocations: 5.843 MB / 420 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.1358, allocations: 2.508 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.137, allocations: 19.94 kB / 422.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.1386, allocations: 410.1 kB / 423 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.1412, allocations: 0.6998 MB / 423.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009624/0.1422, allocations: 307.5 kB / 424 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2253/0.3675, allocations: 1.071 MB / 425 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.37, allocations: 1.384 MB / 426.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.3706, allocations: 379.9 kB / 426.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.3711, allocations: 488 kB / 427.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.3712, allocations: 51.69 kB / 427.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.3717, allocations: 204.8 kB / 427.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3718, allocations: 179 kB / 427.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.3722, allocations: 484.7 kB / 428.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3733, allocations: 1.372 MB / 429.5 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3733, allocations: 0 / 429.5 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3733, allocations: 0 / 429.5 MB, free: 36.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.3734, allocations: 3.188 kB / 429.5 MB, free: 36.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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003397/0.3768, allocations: 1.363 MB / 430.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3768, allocations: 9.531 kB / 430.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.3788, allocations: 355.3 kB / 431.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.38, allocations: 0.6924 MB / 432 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.3801, allocations: 67.81 kB / 432 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.3803, allocations: 92.41 kB / 432.1 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.3819, allocations: 1.005 MB / 433.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.382, allocations: 4 kB / 433.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.3821, allocations: 41.78 kB / 433.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3821, allocations: 29.44 kB / 433.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.3836, allocations: 0.8569 MB / 434.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.3885, allocations: 3.89 MB / 437.9 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.3904, allocations: 1.494 MB / 439.4 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.3908, allocations: 261.9 kB / 439.7 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.629e-05/0.3909, allocations: 89.61 kB / 439.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005587/0.3915, allocations: 330.7 kB / 440.1 MB, free: 32.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.3915, allocations: 0 / 440.1 MB, free: 32.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002428/0.3939, allocations: 0.994 MB / 441.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.394, allocations: 149.2 kB / 441.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.3945, allocations: 0.5008 MB / 441.7 MB, free: 31.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3945, allocations: 36.83 kB / 441.8 MB, free: 31.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3948, allocations: 456.1 kB / 442.2 MB, free: 31.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.3949, allocations: 166.9 kB / 442.4 MB, free: 31.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.395, allocations: 66.62 kB / 442.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.395, allocations: 365.3 kB / 442.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.3955, allocations: 245 kB / 443 MB, free: 30.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.396, allocations: 434.2 kB / 443.5 MB, free: 30.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.397, allocations: 0.7188 MB / 444.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.397, allocations: 4 kB / 444.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001576/0.3986, allocations: 0.8685 MB / 445.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.3986, allocations: 39.34 kB / 445.1 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3986, allocations: 10.69 kB / 445.1 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/0.3991, allocations: 83.55 kB / 445.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.3997, allocations: 176.8 kB / 445.4 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.4009, allocations: 1.46 MB / 446.8 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.4015, allocations: 91.73 kB / 446.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.4015, allocations: 36.59 kB / 447 MB, free: 28.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0003484/0.4019, allocations: 280.2 kB / 447.2 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.402, allocations: 58.81 kB / 447.3 MB, free: 27.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.4033, allocations: 0.711 MB / 448 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4033, allocations: 7.281 kB / 448 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4033, allocations: 0 / 448 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4034, allocations: 10.55 kB / 448 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.407, allocations: 1.755 MB / 449.8 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.407, allocations: 0 / 449.8 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.4073, allocations: 81.16 kB / 449.8 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005305/0.4079, allocations: 266.2 kB / 450.1 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.4079, allocations: 14.19 kB / 450.1 MB, free: 26.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008241/0.4087, allocations: 0.8405 MB / 451 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4088, allocations: 10.34 kB / 451 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.4117, allocations: 1.225 MB / 452.2 MB, free: 25.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.4119, allocations: 180.8 kB / 452.4 MB, free: 25.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/0.412, allocations: 10.59 kB / 452.4 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.4124, allocations: 51.48 kB / 452.4 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.4125, allocations: 23.53 kB / 452.5 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.4125, allocations: 17.03 kB / 452.5 MB, free: 25.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003603/0.4129, allocations: 344.2 kB / 452.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4129, allocations: 0 / 452.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007136/0.4136, allocations: 245.8 kB / 453 MB, free: 25.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002246/0.4139, allocations: 145.4 kB / 453.2 MB, free: 25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.4152, allocations: 0.7665 MB / 454 MB, free: 24.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4152, allocations: 0 / 454 MB, free: 24.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.4157, allocations: 349.1 kB / 454.3 MB, free: 24.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.4163, allocations: 104.8 kB / 454.4 MB, free: 24.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.4185, allocations: 1.797 MB / 456.2 MB, free: 23.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.4188, allocations: 0.9395 MB / 457.1 MB, free: 22.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.4192, allocations: 91.5 kB / 457.2 MB, free: 22.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4193, allocations: 48.28 kB / 457.3 MB, free: 22.56 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4193, allocations: 0 / 457.3 MB, free: 22.56 MB / 350.1 MB Notification: Performance of Templates: time 0.01429/0.4336, allocations: 7.479 MB / 464.8 MB, free: 22.06 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: