Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",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.04544/0.04544, allocations: 5.385 MB / 20.34 MB, free: 1.836 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.0009616/0.0009616, allocations: 106.5 kB / 22.32 MB, free: 0.5977 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.001354/0.001354, allocations: 177.1 kB / 24.39 MB, free: 1.855 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.422/1.422, allocations: 223.2 MB / 249.5 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008647/0.008647, allocations: 2.311 MB / 304.1 MB, free: 3.898 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0007407/0.0007407, allocations: 15.98 kB / 368.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1161, allocations: 52.2 MB / 420.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.006837/0.123, allocations: 5.676 MB / 426.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2035/0.3265, allocations: 3.687 MB / 429.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008063/0.3274, allocations: 18.84 kB / 429.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.3286, allocations: 379.8 kB / 430.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.3305, allocations: 0.7637 MB / 430.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3317, allocations: 472.9 kB / 431.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.3329, allocations: 0.8865 MB / 432.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.3349, allocations: 1.228 MB / 433.5 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000658/0.3356, allocations: 455 kB / 434 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007304/0.3363, allocations: 0.5254 MB / 434.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3364, allocations: 60.53 kB / 434.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.3372, allocations: 289.9 kB / 434.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3374, allocations: 199.6 kB / 435 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3376, allocations: 225.7 kB / 435.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3388, allocations: 1.304 MB / 436.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3388, allocations: 4 kB / 436.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3388, allocations: 0 / 436.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3389, allocations: 0 / 436.6 MB, free: 34.22 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.00361/0.3425, allocations: 1.589 MB / 438.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3425, allocations: 9.531 kB / 438.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/0.3428, allocations: 161.2 kB / 438.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.3448, allocations: 378.8 kB / 438.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.3465, allocations: 0.7826 MB / 439.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.3465, allocations: 88.41 kB / 439.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3467, allocations: 100.6 kB / 439.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.3485, allocations: 1.12 MB / 440.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.3485, allocations: 0 / 440.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.3486, allocations: 42.5 kB / 440.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.3486, allocations: 30.22 kB / 440.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.3504, allocations: 0.952 MB / 441.8 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.3561, allocations: 4.346 MB / 446.1 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.3584, allocations: 1.685 MB / 447.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.327e-05/0.3585, allocations: 95.03 kB / 447.9 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007822/0.3593, allocations: 458.9 kB / 448.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/0.3593, allocations: 0 / 448.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005376/0.3647, allocations: 1.669 MB / 450 MB, free: 29.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.3648, allocations: 276.8 kB / 450.3 MB, free: 28.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/0.3656, allocations: 0.6546 MB / 451 MB, free: 28.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.3656, allocations: 38.61 kB / 451 MB, free: 28.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.366, allocations: 0.5203 MB / 451.5 MB, free: 28.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3661, allocations: 209.6 kB / 451.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.3662, allocations: 26.12 kB / 451.7 MB, free: 28.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3663, allocations: 390.8 kB / 452.1 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.3668, allocations: 278.5 kB / 452.4 MB, free: 27.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.3675, allocations: 0.5392 MB / 452.9 MB, free: 27.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.3682, allocations: 405.5 kB / 453.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.3682, allocations: 7.141 kB / 453.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002032/0.3702, allocations: 1.07 MB / 454.4 MB, free: 26.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.3703, allocations: 68.83 kB / 454.5 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3703, allocations: 6.219 kB / 454.5 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.3708, allocations: 89.44 kB / 454.6 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.3716, allocations: 222.9 kB / 454.8 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.3728, allocations: 1.469 MB / 456.3 MB, free: 24.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/0.3736, allocations: 119.8 kB / 456.4 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.3737, allocations: 41.17 kB / 456.4 MB, free: 24.89 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.0004666/0.3742, allocations: 348.2 kB / 456.8 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3743, allocations: 85.06 kB / 456.8 MB, free: 24.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.3761, allocations: 0.9232 MB / 457.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3761, allocations: 9.438 kB / 457.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3761, allocations: 0 / 457.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3761, allocations: 3.562 kB / 457.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005395/0.3815, allocations: 2.239 MB / 460 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.3816, allocations: 0 / 460 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.3819, allocations: 95.47 kB / 460.1 MB, free: 23.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000766/0.3827, allocations: 332.8 kB / 460.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.3828, allocations: 28.23 kB / 460.5 MB, free: 23.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.3839, allocations: 0.9091 MB / 461.4 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3839, allocations: 3.156 kB / 461.4 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.3887, allocations: 1.69 MB / 463.1 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.3891, allocations: 234.6 kB / 463.3 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.3893, allocations: 17.88 kB / 463.3 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.3898, allocations: 58.06 kB / 463.4 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.3899, allocations: 44.11 kB / 463.4 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.39, allocations: 29.31 kB / 463.4 MB, free: 21.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005556/0.3906, allocations: 462 kB / 463.9 MB, free: 21.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3906, allocations: 0 / 463.9 MB, free: 21.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001097/0.3917, allocations: 318.9 kB / 464.2 MB, free: 21.09 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.006228/0.3979, allocations: 3.006 MB / 467.2 MB, free: 19.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3996, allocations: 0.9628 MB / 468.2 MB, free: 19.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3997, allocations: 0 / 468.2 MB, free: 19.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007533/0.4004, allocations: 484.9 kB / 468.6 MB, free: 18.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.4014, allocations: 155.6 kB / 468.8 MB, free: 18.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.4068, allocations: 7.89 MB / 476.7 MB, free: 27.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.4074, allocations: 1.033 MB / 477.7 MB, free: 26.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005745/0.408, allocations: 128.2 kB / 477.8 MB, free: 26.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.4084, allocations: 386.2 kB / 478.2 MB, free: 26.62 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4084, allocations: 0 / 478.2 MB, free: 26.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09958/0.508, allocations: 18.6 MB / 496.8 MB, free: 21.71 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.5083, allocations: 267.5 kB / 497.1 MB, free: 21.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.86, allocations: 0 / 497.1 MB, free: 21.37 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1) Environment - environmentSimulation: