Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",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.02964/0.02964, allocations: 5.383 MB / 20.34 MB, free: 1.848 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.0008772/0.0008769, allocations: 110.8 kB / 22.32 MB, free: 0.6094 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.001286/0.001286, allocations: 178.3 kB / 24.39 MB, free: 1.973 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.429/1.429, allocations: 223.2 MB / 249.5 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008487/0.008487, allocations: 2.319 MB / 304.1 MB, free: 4.512 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004325, allocations: 15.98 kB / 368.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09673, allocations: 52.2 MB / 420.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006274/0.103, allocations: 5.672 MB / 426.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2054/0.3085, allocations: 3.688 MB / 429.8 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.3095, allocations: 23.89 kB / 429.8 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.3107, allocations: 381.9 kB / 430.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.3125, allocations: 0.7564 MB / 430.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3137, allocations: 478.8 kB / 431.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.3149, allocations: 0.8833 MB / 432.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.3167, allocations: 1.223 MB / 433.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005922/0.3173, allocations: 459 kB / 434 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006771/0.318, allocations: 0.53 MB / 434.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.3181, allocations: 58.5 kB / 434.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.3189, allocations: 281.1 kB / 434.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.319, allocations: 200.6 kB / 435 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3193, allocations: 227.6 kB / 435.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3205, allocations: 1.31 MB / 436.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.3205, allocations: 0 / 436.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3205, allocations: 0 / 436.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.3206, allocations: 6.25 kB / 436.6 MB, free: 33.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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003525/0.3241, allocations: 1.586 MB / 438.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3242, allocations: 10.06 kB / 438.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.3244, allocations: 156 kB / 438.3 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.3264, allocations: 381.8 kB / 438.7 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3281, allocations: 0.7872 MB / 439.5 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.3282, allocations: 78.16 kB / 439.5 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.3284, allocations: 103.6 kB / 439.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.3302, allocations: 1.127 MB / 440.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.3302, allocations: 0 / 440.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3303, allocations: 44.31 kB / 440.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3304, allocations: 23.5 kB / 440.8 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.332, allocations: 0.9461 MB / 441.8 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/0.3372, allocations: 4.354 MB / 446.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.3393, allocations: 1.679 MB / 447.8 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.835e-05/0.3393, allocations: 90.98 kB / 447.9 MB, free: 29.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000735/0.3401, allocations: 463.7 kB / 448.4 MB, free: 29.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.826e-06/0.3401, allocations: 3.938 kB / 448.4 MB, free: 29.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005128/0.3453, allocations: 1.668 MB / 450 MB, free: 28.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.3453, allocations: 271.3 kB / 450.3 MB, free: 28.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.346, allocations: 0.6626 MB / 451 MB, free: 28.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.3461, allocations: 39.98 kB / 451 MB, free: 28.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.3464, allocations: 0.5141 MB / 451.5 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.3465, allocations: 214.4 kB / 451.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3465, allocations: 17.44 kB / 451.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3467, allocations: 392.2 kB / 452.1 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.3472, allocations: 285.8 kB / 452.4 MB, free: 27.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.3479, allocations: 0.5296 MB / 452.9 MB, free: 27.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.3485, allocations: 411.2 kB / 453.3 MB, free: 26.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3486, allocations: 7.297 kB / 453.3 MB, free: 26.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001813/0.3504, allocations: 1.068 MB / 454.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.3504, allocations: 69.08 kB / 454.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3505, allocations: 10.31 kB / 454.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/0.3509, allocations: 86.19 kB / 454.6 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.3517, allocations: 217.6 kB / 454.8 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.3528, allocations: 1.477 MB / 456.3 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.3535, allocations: 119.8 kB / 456.4 MB, free: 24.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.3536, allocations: 43.75 kB / 456.4 MB, free: 24.74 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.0004133/0.354, allocations: 336.9 kB / 456.7 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3541, allocations: 80.88 kB / 456.8 MB, free: 24.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.3558, allocations: 0.9345 MB / 457.8 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3558, allocations: 6.312 kB / 457.8 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3558, allocations: 1.562 kB / 457.8 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.3558, allocations: 6.703 kB / 457.8 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.3612, allocations: 2.243 MB / 460 MB, free: 23.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3612, allocations: 3.375 kB / 460 MB, free: 23.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.3615, allocations: 89.36 kB / 460.1 MB, free: 23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/0.3622, allocations: 329.6 kB / 460.4 MB, free: 22.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.3623, allocations: 35.19 kB / 460.5 MB, free: 22.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.3634, allocations: 0.9033 MB / 461.4 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3634, allocations: 0 / 461.4 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/0.3681, allocations: 1.698 MB / 463.1 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.3685, allocations: 226.6 kB / 463.3 MB, free: 21.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.3686, allocations: 24.91 kB / 463.3 MB, free: 21.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.3691, allocations: 54.75 kB / 463.4 MB, free: 21.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.3692, allocations: 44.23 kB / 463.4 MB, free: 21.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.3693, allocations: 29.61 kB / 463.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000497/0.3698, allocations: 462.1 kB / 463.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3698, allocations: 0 / 463.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008947/0.3707, allocations: 313.7 kB / 464.2 MB, free: 20.96 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.006094/0.3768, allocations: 3.015 MB / 467.2 MB, free: 19.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.3785, allocations: 0.9549 MB / 468.2 MB, free: 18.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3785, allocations: 3 kB / 468.2 MB, free: 18.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.3792, allocations: 0.4898 MB / 468.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.3799, allocations: 140.5 kB / 468.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.385, allocations: 7.893 MB / 476.7 MB, free: 27.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.3856, allocations: 1.034 MB / 477.7 MB, free: 26.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000561/0.3862, allocations: 121.6 kB / 477.8 MB, free: 26.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.3867, allocations: 387 kB / 478.2 MB, free: 26.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.734e-06/0.3867, allocations: 0 / 478.2 MB, free: 26.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04695/0.4336, allocations: 18.61 MB / 496.8 MB, free: 21.74 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.4338, allocations: 286.5 kB / 497.1 MB, free: 21.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.756, allocations: 0 / 497.1 MB, free: 21.36 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1) Environment - environmentSimulation: