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.04767/0.04767, allocations: 5.387 MB / 20.36 MB, free: 2.215 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.0007584/0.0007584, allocations: 97.52 kB / 22.33 MB, free: 0.7617 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.001342/0.001342, allocations: 180.3 kB / 24.42 MB, free: 1.781 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.4/1.4, allocations: 223.3 MB / 249.6 MB, free: 13.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008631/0.008631, allocations: 2.309 MB / 304.2 MB, free: 3.934 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 12 kB / 368.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1003, allocations: 52.2 MB / 420.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006977/0.1074, allocations: 5.991 MB / 426.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.195/0.3024, allocations: 3.707 MB / 430.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008427/0.3033, allocations: 20.59 kB / 430.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.3044, allocations: 405.7 kB / 430.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.306, allocations: 0.6965 MB / 431.3 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3073, allocations: 480.2 kB / 431.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3084, allocations: 1.237 MB / 433 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.3102, allocations: 1.243 MB / 434.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.3108, allocations: 455.3 kB / 434.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008394/0.3116, allocations: 0.5613 MB / 435.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3117, allocations: 55.62 kB / 435.4 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.3125, allocations: 327.1 kB / 435.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3126, allocations: 197 kB / 435.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3128, allocations: 233 kB / 436.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3139, allocations: 1.31 MB / 437.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.314, allocations: 0 / 437.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.314, allocations: 2.906 kB / 437.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.314, allocations: 0 / 437.4 MB, free: 34.03 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.00315/0.3171, allocations: 1.592 MB / 439 MB, free: 33.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3172, allocations: 9.75 kB / 439 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.3174, allocations: 159.1 kB / 439.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.3192, allocations: 377.3 kB / 439.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.3207, allocations: 0.7868 MB / 440.3 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.3208, allocations: 83.42 kB / 440.4 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.321, allocations: 98.12 kB / 440.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.3227, allocations: 1.13 MB / 441.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3227, allocations: 3.125 kB / 441.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.3228, allocations: 43.38 kB / 441.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3228, allocations: 26.39 kB / 441.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.3246, allocations: 0.9482 MB / 442.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005747/0.3304, allocations: 4.346 MB / 447 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.3324, allocations: 1.688 MB / 448.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.333, allocations: 322.7 kB / 449 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.759e-05/0.3331, allocations: 87.45 kB / 449.1 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007858/0.3339, allocations: 460 kB / 449.5 MB, free: 29.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.825e-06/0.3339, allocations: 0 / 449.5 MB, free: 29.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.004977/0.3389, allocations: 1.587 MB / 451.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.339, allocations: 281.7 kB / 451.4 MB, free: 28.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.3397, allocations: 0.6514 MB / 452 MB, free: 27.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.3397, allocations: 44.2 kB / 452.1 MB, free: 27.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.3401, allocations: 0.5165 MB / 452.6 MB, free: 27.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3402, allocations: 220.2 kB / 452.8 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3403, allocations: 22.25 kB / 452.8 MB, free: 27.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3404, allocations: 382.5 kB / 453.2 MB, free: 26.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.3409, allocations: 284.3 kB / 453.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.3415, allocations: 0.5346 MB / 454 MB, free: 26.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.3422, allocations: 411.7 kB / 454.4 MB, free: 26.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.3422, allocations: 2.625 kB / 454.4 MB, free: 26.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001833/0.344, allocations: 1.071 MB / 455.5 MB, free: 25.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.3441, allocations: 61.38 kB / 455.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3441, allocations: 6.594 kB / 455.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.3445, allocations: 87.47 kB / 455.7 MB, free: 25.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.3453, allocations: 227.7 kB / 455.9 MB, free: 25.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.3465, allocations: 1.467 MB / 457.3 MB, free: 24.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/0.3472, allocations: 118.5 kB / 457.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.3473, allocations: 43.53 kB / 457.5 MB, free: 24.13 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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,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 (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.0004368/0.3477, allocations: 340.8 kB / 457.8 MB, free: 23.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/0.3478, allocations: 80.88 kB / 457.9 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.3494, allocations: 0.924 MB / 458.8 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3495, allocations: 6.375 kB / 458.8 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3495, allocations: 0 / 458.8 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3495, allocations: 6.531 kB / 458.8 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.3546, allocations: 2.25 MB / 461.1 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3546, allocations: 4.031 kB / 461.1 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.355, allocations: 85.75 kB / 461.2 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007237/0.3557, allocations: 333.9 kB / 461.5 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.3558, allocations: 33.45 kB / 461.5 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.3569, allocations: 0.8947 MB / 462.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3569, allocations: 8.656 kB / 462.4 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004545/0.3614, allocations: 1.668 MB / 464.1 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.3618, allocations: 227.6 kB / 464.3 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.362, allocations: 19.88 kB / 464.4 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.3625, allocations: 55.17 kB / 464.4 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.3626, allocations: 36.53 kB / 464.4 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.3626, allocations: 35.27 kB / 464.5 MB, free: 20.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005264/0.3632, allocations: 453.5 kB / 464.9 MB, free: 20.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3632, allocations: 0 / 464.9 MB, free: 20.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009503/0.3641, allocations: 325.2 kB / 465.2 MB, free: 20.4 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006084/0.3702, allocations: 2.78 MB / 468 MB, free: 19.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.3721, allocations: 0.9556 MB / 469 MB, free: 18.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3721, allocations: 3 kB / 469 MB, free: 18.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.3729, allocations: 487.8 kB / 469.5 MB, free: 18.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.3738, allocations: 164.7 kB / 469.6 MB, free: 18.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3839, allocations: 5.063 MB / 474.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.3849, allocations: 1.013 MB / 475.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006996/0.3857, allocations: 125.6 kB / 475.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005829/0.3863, allocations: 386.1 kB / 476.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3863, allocations: 1.312 kB / 476.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/0.442, allocations: 18.92 MB / 495.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.4422, allocations: 264.3 kB / 495.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/2.845, allocations: 0 / 495.4 MB, free: 7.691 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/linux/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) Environment - environmentSimulation: