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.005292/0.005292, allocations: 101.7 kB / 15.73 MB, free: 6.031 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.00116/0.00116, allocations: 195.4 kB / 16.67 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1438/0.1438, allocations: 5.38 MB / 295.9 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 412.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.272, allocations: 50.62 MB / 463.4 MB, free: 21.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.006731/0.2788, allocations: 6.343 MB / 469.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004366/0.2832, allocations: 2.561 MB / 472.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000895/0.2841, allocations: 15.94 kB / 472.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.287, allocations: 1.113 MB / 473.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.2894, allocations: 0.7737 MB / 474.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.2903, allocations: 357.2 kB / 474.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.2918, allocations: 1.158 MB / 475.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.2933, allocations: 0.9901 MB / 476.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006636/0.294, allocations: 472.4 kB / 477.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.2947, allocations: 0.5703 MB / 477.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.2949, allocations: 128 kB / 477.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006515/0.2956, allocations: 286.9 kB / 478.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.2958, allocations: 257.6 kB / 478.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004395/0.2962, allocations: 0.542 MB / 478.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.2979, allocations: 1.484 MB / 480.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2979, allocations: 3.938 kB / 480.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2979, allocations: 0 / 480.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2979, allocations: 0.9688 kB / 480.4 MB, free: 10.84 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.003511/0.3014, allocations: 1.541 MB / 482 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3015, allocations: 10 kB / 482 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.3035, allocations: 351.4 kB / 482.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.3049, allocations: 0.6932 MB / 483 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.305, allocations: 76.12 kB / 483.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3051, allocations: 90.72 kB / 483.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3067, allocations: 0.995 MB / 484.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.3067, allocations: 0 / 484.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.3068, allocations: 38.03 kB / 484.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.3069, allocations: 21.97 kB / 484.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.3084, allocations: 0.8404 MB / 485.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.3133, allocations: 3.849 MB / 488.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.315, allocations: 1.475 MB / 490.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.3155, allocations: 255.6 kB / 490.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.416e-05/0.3156, allocations: 92.75 kB / 490.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005193/0.3161, allocations: 315.9 kB / 491.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.3161, allocations: 1.312 kB / 491.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002668/0.3188, allocations: 0.9533 MB / 492 MB, free: 2.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3189, allocations: 144.8 kB / 492.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.3194, allocations: 0.4964 MB / 492.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.3195, allocations: 38.02 kB / 492.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.3197, allocations: 455.3 kB / 493.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.3198, allocations: 165.5 kB / 493.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.3201, allocations: 146.5 kB / 493.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.3201, allocations: 367.2 kB / 493.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.3206, allocations: 234.1 kB / 494 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.3212, allocations: 434.4 kB / 494.4 MB, free: 276 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.3223, allocations: 0.6984 MB / 495.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3223, allocations: 2.281 kB / 495.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001892/0.3242, allocations: 0.8562 MB / 496 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.3243, allocations: 34.58 kB / 496 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3243, allocations: 10 kB / 496 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.3248, allocations: 79.03 kB / 496.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/0.3256, allocations: 174.9 kB / 496.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3272, allocations: 1.585 MB / 497.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.328, allocations: 101.7 kB / 498 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.328, allocations: 32.17 kB / 498 MB, free: 13.5 MB / 366.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.0004413/0.3285, allocations: 276.3 kB / 498.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3286, allocations: 53.81 kB / 498.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.33, allocations: 0.6986 MB / 499 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.33, allocations: 4 kB / 499 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.33, allocations: 3.938 kB / 499 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.33, allocations: 0 / 499 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/0.3343, allocations: 1.716 MB / 0.489 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3343, allocations: 0 / 0.489 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.3347, allocations: 75.89 kB / 0.4891 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00063/0.3353, allocations: 254.4 kB / 0.4893 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.3354, allocations: 12 kB / 0.4893 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3365, allocations: 0.8311 MB / 0.4902 GB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3365, allocations: 4.031 kB / 0.4902 GB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/0.3399, allocations: 1.17 MB / 0.4913 GB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.3403, allocations: 176.4 kB / 0.4915 GB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3404, allocations: 19.92 kB / 0.4915 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.341, allocations: 40.03 kB / 0.4915 GB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.3411, allocations: 23.97 kB / 0.4915 GB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.3411, allocations: 23.92 kB / 0.4916 GB, free: 8.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005365/0.3417, allocations: 342.9 kB / 0.4919 GB, free: 7.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3417, allocations: 0 / 0.4919 GB, free: 7.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001068/0.3428, allocations: 235.1 kB / 0.4921 GB, free: 7.461 MB / 366.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.0003079/0.3431, allocations: 154 kB / 0.4923 GB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.3448, allocations: 0.7558 MB / 0.493 GB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3448, allocations: 0 / 0.493 GB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.3454, allocations: 327.8 kB / 0.4933 GB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.3462, allocations: 102 kB / 0.4934 GB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.349, allocations: 1.344 MB / 0.4947 GB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.3496, allocations: 0.9369 MB / 0.4956 GB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.3499, allocations: 84.95 kB / 0.4957 GB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3501, allocations: 55.42 kB / 0.4958 GB, free: 3.617 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3501, allocations: 4 kB / 0.4958 GB, free: 3.613 MB / 366.1 MB Notification: Performance of Templates: time 0.01637/0.3665, allocations: 8.279 MB / 0.5039 GB, free: 11.39 MB / 382.1 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)