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.0007469/0.000747, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008518/0.000852, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1483/0.1483, allocations: 5.376 MB / 296.5 MB, free: 3.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 11.98 kB / 361.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.09992, allocations: 51.6 MB / 413.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005894/0.1059, allocations: 5.505 MB / 419 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.1096, allocations: 2.345 MB / 421.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.1101, allocations: 16 kB / 421.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007626/0.1109, allocations: 358.2 kB / 421.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1122, allocations: 0.6181 MB / 422.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.1127, allocations: 243.6 kB / 422.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000881/0.1136, allocations: 1.02 MB / 423.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1847/0.2983, allocations: 1.219 MB / 424.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000636/0.2989, allocations: 356.4 kB / 425.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.2996, allocations: 475.8 kB / 425.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.2996, allocations: 51.59 kB / 425.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.3002, allocations: 201 kB / 425.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3003, allocations: 167.1 kB / 426.1 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.3004, allocations: 199.3 kB / 426.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008375/0.3013, allocations: 1.111 MB / 427.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3013, allocations: 3.125 kB / 427.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3013, allocations: 1.406 kB / 427.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3013, allocations: 0 / 427.4 MB, free: 37.08 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.002961/0.3043, allocations: 1.371 MB / 428.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3043, allocations: 9.719 kB / 428.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.3063, allocations: 361.8 kB / 429.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3075, allocations: 0.6692 MB / 429.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.3076, allocations: 71.34 kB / 429.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.3077, allocations: 91.2 kB / 429.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.3093, allocations: 0.9972 MB / 430.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.3093, allocations: 0 / 430.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.3094, allocations: 39.16 kB / 431 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3095, allocations: 22.69 kB / 431 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.3108, allocations: 0.8461 MB / 431.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004585/0.3154, allocations: 3.909 MB / 435.7 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.317, allocations: 1.489 MB / 437.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3174, allocations: 262.6 kB / 437.5 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.3175, allocations: 85.08 kB / 437.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.318, allocations: 329.6 kB / 437.9 MB, free: 32.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.318, allocations: 0 / 437.9 MB, free: 32.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002311/0.3203, allocations: 0.9966 MB / 438.9 MB, free: 32.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3204, allocations: 144.3 kB / 439 MB, free: 32.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.3209, allocations: 0.4906 MB / 439.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.321, allocations: 39.67 kB / 439.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.3212, allocations: 463.1 kB / 440 MB, free: 32.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.3213, allocations: 166.7 kB / 440.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3213, allocations: 17.25 kB / 440.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.3214, allocations: 363.9 kB / 440.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.3219, allocations: 239.6 kB / 440.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.3224, allocations: 438 kB / 441.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.3229, allocations: 321.2 kB / 441.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3229, allocations: 4 kB / 441.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001455/0.3244, allocations: 0.8616 MB / 442.4 MB, free: 31.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.3244, allocations: 36.11 kB / 442.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3244, allocations: 6.375 kB / 442.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/0.3248, allocations: 89.7 kB / 442.5 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.3254, allocations: 169.9 kB / 442.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.3265, allocations: 1.472 MB / 444.1 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.327, allocations: 86.19 kB / 444.2 MB, free: 29.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.3271, allocations: 34.98 kB / 444.3 MB, free: 29.9 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 ($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 () * 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 (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.0002751/0.3274, allocations: 273.4 kB / 444.5 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.3274, allocations: 63.41 kB / 444.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.3288, allocations: 0.7133 MB / 445.3 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3288, allocations: 6.438 kB / 445.3 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.3288, allocations: 4.984 kB / 445.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3288, allocations: 0 / 445.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.3322, allocations: 1.761 MB / 447.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-06/0.3323, allocations: 0 / 447.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3325, allocations: 81.84 kB / 447.2 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.3331, allocations: 267.3 kB / 447.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.3331, allocations: 16.88 kB / 447.4 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.3339, allocations: 0.8352 MB / 448.3 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3339, allocations: 6.578 kB / 448.3 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.3366, allocations: 1.217 MB / 449.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.3367, allocations: 180.6 kB / 449.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.3368, allocations: 10.41 kB / 449.7 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.3372, allocations: 51.3 kB / 449.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.3373, allocations: 27.81 kB / 449.8 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.3373, allocations: 24.41 kB / 449.8 MB, free: 27.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003185/0.3376, allocations: 341.5 kB / 450.1 MB, free: 27.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3376, allocations: 0 / 450.1 MB, free: 27.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006729/0.3383, allocations: 237.5 kB / 450.4 MB, free: 27.52 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002125/0.3385, allocations: 140.9 kB / 450.5 MB, free: 27.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3398, allocations: 0.7669 MB / 451.3 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3398, allocations: 0 / 451.3 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.3403, allocations: 342.5 kB / 451.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.3409, allocations: 102.1 kB / 451.7 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3429, allocations: 1.692 MB / 453.4 MB, free: 25.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3433, allocations: 0.9451 MB / 454.3 MB, free: 25.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.3436, allocations: 91.2 kB / 454.4 MB, free: 25.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3437, allocations: 49.61 kB / 454.5 MB, free: 25.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3438, allocations: 0 / 454.5 MB, free: 25.07 MB / 350.1 MB Notification: Performance of Templates: time 0.01181/0.3556, allocations: 7.295 MB / 461.8 MB, free: 24.56 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: