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.04122/0.04122, allocations: 5.387 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.0008329/0.0008326, allocations: 106.6 kB / 22.31 MB, free: 0.6016 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.001205/0.001205, allocations: 181.5 kB / 24.39 MB, free: 1.816 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.484/1.484, allocations: 223.2 MB / 249.5 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008192/0.008192, allocations: 2.309 MB / 304.1 MB, free: 3.723 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 12 kB / 368.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 52.2 MB / 420.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.009814/0.1291, allocations: 5.668 MB / 426.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2759/0.4051, allocations: 3.702 MB / 429.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.4066, allocations: 23.69 kB / 429.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.4082, allocations: 376.9 kB / 430.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.4108, allocations: 0.7533 MB / 430.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.4125, allocations: 477.4 kB / 431.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00221/0.4148, allocations: 0.8828 MB / 432.3 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.417, allocations: 1.23 MB / 433.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.418, allocations: 451.2 kB / 434 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.4192, allocations: 0.5314 MB / 434.5 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.4194, allocations: 58.09 kB / 434.5 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.4206, allocations: 293.3 kB / 434.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.4208, allocations: 195.6 kB / 435 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.4212, allocations: 229.8 kB / 435.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.4229, allocations: 1.297 MB / 436.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4229, allocations: 0 / 436.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.423, allocations: 0 / 436.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.423, allocations: 0 / 436.5 MB, free: 34.12 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.004229/0.4272, allocations: 1.593 MB / 438.1 MB, free: 33.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4273, allocations: 10.28 kB / 438.1 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.4275, allocations: 160.5 kB / 438.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.4297, allocations: 375.2 kB / 438.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.4315, allocations: 0.7959 MB / 439.5 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.4316, allocations: 77.5 kB / 439.5 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.4318, allocations: 105.9 kB / 439.6 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.4337, allocations: 1.122 MB / 440.8 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.4338, allocations: 0 / 440.8 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4339, allocations: 48.48 kB / 440.8 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.4339, allocations: 22.91 kB / 440.8 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.4357, allocations: 0.9489 MB / 441.8 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005799/0.4415, allocations: 4.352 MB / 446.1 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.4437, allocations: 1.676 MB / 447.8 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/0.4438, allocations: 88.83 kB / 447.9 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007707/0.4446, allocations: 470.2 kB / 448.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.296e-06/0.4446, allocations: 1.969 kB / 448.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005435/0.4501, allocations: 1.662 MB / 450 MB, free: 28.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.4502, allocations: 273.6 kB / 450.3 MB, free: 28.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/0.4511, allocations: 0.6648 MB / 451 MB, free: 28.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.4511, allocations: 38.64 kB / 451 MB, free: 28.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.4515, allocations: 0.5152 MB / 451.5 MB, free: 28.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.4516, allocations: 212.9 kB / 451.7 MB, free: 28.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.4517, allocations: 22.72 kB / 451.7 MB, free: 28.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4518, allocations: 387.1 kB / 452.1 MB, free: 27.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.4524, allocations: 281.6 kB / 452.4 MB, free: 27.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.453, allocations: 0.5365 MB / 452.9 MB, free: 27.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.4537, allocations: 409.4 kB / 453.3 MB, free: 26.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4538, allocations: 3.953 kB / 453.3 MB, free: 26.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001894/0.4557, allocations: 1.075 MB / 454.4 MB, free: 26.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.4557, allocations: 61.31 kB / 454.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4557, allocations: 6.531 kB / 454.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/0.4562, allocations: 99.31 kB / 454.6 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.457, allocations: 211.2 kB / 454.8 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.4581, allocations: 1.485 MB / 456.3 MB, free: 24.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.4589, allocations: 118.2 kB / 456.4 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.459, allocations: 42.53 kB / 456.4 MB, free: 24.85 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.0006301/0.4597, allocations: 340.8 kB / 456.8 MB, free: 24.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.4598, allocations: 80.88 kB / 456.8 MB, free: 24.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.4617, allocations: 0.9339 MB / 457.8 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.4618, allocations: 6.562 kB / 457.8 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4618, allocations: 3.312 kB / 457.8 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4618, allocations: 3.562 kB / 457.8 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.468, allocations: 2.235 MB / 460 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.468, allocations: 1 kB / 460 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.4684, allocations: 90.59 kB / 460.1 MB, free: 23.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008631/0.4693, allocations: 340.7 kB / 460.4 MB, free: 23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/0.4694, allocations: 23.75 kB / 460.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.4706, allocations: 0.9101 MB / 461.4 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4706, allocations: 0 / 461.4 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.4755, allocations: 1.691 MB / 463.1 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.476, allocations: 234.1 kB / 463.3 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.4762, allocations: 17.03 kB / 463.3 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.4767, allocations: 60.64 kB / 463.4 MB, free: 21.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.4768, allocations: 44.14 kB / 463.4 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.4769, allocations: 33.59 kB / 463.4 MB, free: 21.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000547/0.4774, allocations: 460.5 kB / 463.9 MB, free: 21.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4774, allocations: 0 / 463.9 MB, free: 21.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001031/0.4785, allocations: 314.4 kB / 464.2 MB, free: 21.06 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.006642/0.4851, allocations: 3.011 MB / 467.2 MB, free: 19.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.4871, allocations: 0.9603 MB / 468.2 MB, free: 18.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.4871, allocations: 4 kB / 468.2 MB, free: 18.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.4879, allocations: 489.4 kB / 468.6 MB, free: 18.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/0.4888, allocations: 146.2 kB / 468.8 MB, free: 18.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/0.4949, allocations: 7.888 MB / 476.7 MB, free: 27.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.4956, allocations: 1.032 MB / 477.7 MB, free: 26.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005789/0.4961, allocations: 126.2 kB / 477.8 MB, free: 26.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/0.4966, allocations: 387.9 kB / 478.2 MB, free: 26.59 MB / 366.1 MB Notification: Performance of SimCode: time 1.103e-06/0.4966, allocations: 0 / 478.2 MB, free: 26.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0774/0.574, allocations: 18.6 MB / 496.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.5742, allocations: 267.4 kB / 497.1 MB, free: 21.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.887, allocations: 0 / 497.1 MB, free: 21.36 MB / 366.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: