Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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/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_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 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) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03251/0.03251, allocations: 5.388 MB / 20.66 MB, free: 1.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0005573/0.0005574, allocations: 95.72 kB / 22.64 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007725/0.0007725, allocations: 175.8 kB / 24.74 MB, free: 1.836 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.21/1.21, allocations: 223.3 MB / 250 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008245/0.008245, allocations: 2.318 MB / 304.6 MB, free: 3.297 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003805, allocations: 12 kB / 369 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08396/0.08435, allocations: 52.21 MB / 421.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.1545/0.2389, allocations: 6.371 MB / 427.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.2441, allocations: 3.906 MB / 431.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008355/0.245, allocations: 23.72 kB / 431.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.2462, allocations: 458.6 kB / 431.9 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.2479, allocations: 0.7836 MB / 432.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.2493, allocations: 0.5437 MB / 433.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000966/0.2503, allocations: 1.312 MB / 434.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.252, allocations: 1.417 MB / 436 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.2524, allocations: 466.4 kB / 436.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02107/0.2735, allocations: 0.5821 MB / 437 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.2738, allocations: 58.16 kB / 437.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007765/0.2746, allocations: 346.6 kB / 437.4 MB, free: 34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.2747, allocations: 206.1 kB / 437.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004635/0.2752, allocations: 0.5635 MB / 438.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.2764, allocations: 1.646 MB / 439.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2764, allocations: 0 / 439.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2764, allocations: 0 / 439.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2764, allocations: 4 kB / 439.8 MB, free: 33.46 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003007/0.2794, allocations: 1.57 MB / 441.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2795, allocations: 13.56 kB / 441.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.2796, allocations: 157.9 kB / 441.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.2815, allocations: 379.5 kB / 441.9 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.2828, allocations: 0.8153 MB / 442.8 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.2829, allocations: 74.47 kB / 442.8 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.283, allocations: 104.4 kB / 442.9 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2846, allocations: 1.136 MB / 444.1 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.2847, allocations: 0 / 444.1 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.2848, allocations: 40.09 kB / 444.1 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.2848, allocations: 26.41 kB / 444.1 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.2864, allocations: 0.9623 MB / 445.1 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.2909, allocations: 4.368 MB / 449.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.2929, allocations: 1.668 MB / 451.1 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.2934, allocations: 326.8 kB / 451.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.2935, allocations: 96.05 kB / 451.6 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006548/0.2942, allocations: 464.2 kB / 452 MB, free: 27.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.2942, allocations: 0 / 452 MB, free: 27.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.004931/0.2991, allocations: 1.591 MB / 453.6 MB, free: 26.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.2992, allocations: 274.1 kB / 453.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.2998, allocations: 0.6664 MB / 454.5 MB, free: 26.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.2998, allocations: 39.8 kB / 454.6 MB, free: 26.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3001, allocations: 0.5218 MB / 455.1 MB, free: 25.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3002, allocations: 211.1 kB / 455.3 MB, free: 25.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.3003, allocations: 84.7 kB / 455.4 MB, free: 25.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.3003, allocations: 391.3 kB / 455.8 MB, free: 25.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.3009, allocations: 284.6 kB / 456 MB, free: 25.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.3015, allocations: 0.5431 MB / 456.6 MB, free: 24.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3026, allocations: 0.9252 MB / 457.5 MB, free: 24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.3026, allocations: 3.312 kB / 457.5 MB, free: 24 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001722/0.3043, allocations: 1.075 MB / 458.6 MB, free: 23.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.3043, allocations: 65 kB / 458.7 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3044, allocations: 6.312 kB / 458.7 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.3048, allocations: 93.22 kB / 458.7 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.3055, allocations: 217 kB / 459 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009867/0.3065, allocations: 1.478 MB / 460.4 MB, free: 22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.3072, allocations: 113.7 kB / 460.5 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.3073, allocations: 46.52 kB / 460.6 MB, free: 21.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * 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.0003384/0.3076, allocations: 341.6 kB / 460.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.3077, allocations: 79.22 kB / 461 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3093, allocations: 0.9305 MB / 461.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3093, allocations: 6.219 kB / 461.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3093, allocations: 3.062 kB / 461.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3093, allocations: 4.984 kB / 461.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/0.3142, allocations: 2.235 MB / 464.2 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3142, allocations: 3.281 kB / 464.2 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.3145, allocations: 86.3 kB / 464.3 MB, free: 20.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/0.3152, allocations: 346.8 kB / 464.6 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.3153, allocations: 24.61 kB / 464.6 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009838/0.3162, allocations: 0.8956 MB / 465.5 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3163, allocations: 10.3 kB / 465.5 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/0.3207, allocations: 1.671 MB / 467.2 MB, free: 18.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.3209, allocations: 229 kB / 467.4 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.321, allocations: 24.62 kB / 467.5 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.3216, allocations: 56.66 kB / 467.5 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.3216, allocations: 39.45 kB / 467.6 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.3217, allocations: 29.7 kB / 467.6 MB, free: 18.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004471/0.3221, allocations: 466.6 kB / 468 MB, free: 18.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3221, allocations: 0 / 468 MB, free: 18.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008073/0.323, allocations: 314.3 kB / 468.3 MB, free: 18.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005864/0.3288, allocations: 2.779 MB / 471.1 MB, free: 16.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.3304, allocations: 0.9625 MB / 472.1 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3304, allocations: 3.094 kB / 472.1 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.3311, allocations: 483.3 kB / 472.6 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.332, allocations: 170.2 kB / 472.7 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/0.3415, allocations: 7.782 MB / 480.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.342, allocations: 1.015 MB / 481.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004777/0.3424, allocations: 116.7 kB / 481.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.3428, allocations: 390.6 kB / 482 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3429, allocations: 0 / 482 MB, free: 10.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2543/0.5972, allocations: 19.2 MB / 0.4895 GB, free: 1.633 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.5974, allocations: 286 kB / 0.4897 GB, free: 1.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/2.878, allocations: 0 / 0.4897 GB, free: 1.246 MB / 350.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)