Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.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_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808",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.02922/0.02922, 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.0009007/0.0009005, allocations: 106.5 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.001221/0.001221, allocations: 181.2 kB / 24.4 MB, free: 1.852 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.427/1.427, allocations: 223.2 MB / 249.5 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008265/0.008265, allocations: 2.312 MB / 304.1 MB, free: 4.449 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 12 kB / 368.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09796, allocations: 52.2 MB / 420.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006248/0.1042, allocations: 5.672 MB / 426.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2099/0.3142, allocations: 3.69 MB / 429.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3153, allocations: 22.22 kB / 429.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.3166, allocations: 377.7 kB / 430.2 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.3187, allocations: 0.76 MB / 430.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.32, allocations: 476 kB / 431.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.3214, allocations: 0.8816 MB / 432.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.3235, allocations: 1.222 MB / 433.5 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.3243, allocations: 450.1 kB / 433.9 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/0.3251, allocations: 0.5383 MB / 434.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3252, allocations: 56.72 kB / 434.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009418/0.3262, allocations: 289.8 kB / 434.8 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.3264, allocations: 196.5 kB / 435 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.3267, allocations: 230.9 kB / 435.2 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.3282, allocations: 1.304 MB / 436.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.3282, allocations: 0 / 436.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3282, allocations: 0.625 kB / 436.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3283, allocations: 0.5312 kB / 436.5 MB, free: 33.89 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.003748/0.332, allocations: 1.592 MB / 438.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3321, allocations: 9.688 kB / 438.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/0.3323, allocations: 155.3 kB / 438.3 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.3344, allocations: 382.3 kB / 438.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.3363, allocations: 0.7845 MB / 439.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.3364, allocations: 75.94 kB / 439.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.3366, allocations: 110.4 kB / 439.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.3385, allocations: 1.119 MB / 440.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.3385, allocations: 4.781 kB / 440.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.3386, allocations: 41.44 kB / 440.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3387, allocations: 26.2 kB / 440.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.3404, allocations: 0.9513 MB / 441.8 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005323/0.3457, allocations: 4.347 MB / 446.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.3479, allocations: 1.689 MB / 447.8 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/0.348, allocations: 90.36 kB / 447.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.3488, allocations: 466.6 kB / 448.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.3488, allocations: 0 / 448.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005377/0.3542, allocations: 1.662 MB / 450 MB, free: 28.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.3543, allocations: 273.5 kB / 450.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.3551, allocations: 0.655 MB / 450.9 MB, free: 28.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.3551, allocations: 46.39 kB / 451 MB, free: 28.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.3555, allocations: 0.5213 MB / 451.5 MB, free: 27.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.3556, allocations: 215.7 kB / 451.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3557, allocations: 16.31 kB / 451.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3558, allocations: 385.1 kB / 452.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.3564, allocations: 285.4 kB / 452.4 MB, free: 27.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.357, allocations: 0.5386 MB / 452.9 MB, free: 27.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.3576, allocations: 402.1 kB / 453.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3577, allocations: 7.234 kB / 453.3 MB, free: 26.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001857/0.3595, allocations: 1.072 MB / 454.4 MB, free: 26.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.3596, allocations: 60.41 kB / 454.5 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3596, allocations: 9.062 kB / 454.5 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.36, allocations: 95.75 kB / 454.6 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.3608, allocations: 219.3 kB / 454.8 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3621, allocations: 1.474 MB / 456.3 MB, free: 24.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.3631, allocations: 118.2 kB / 456.4 MB, free: 24.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.3632, allocations: 46.88 kB / 456.4 MB, free: 24.8 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.0005491/0.3637, allocations: 340.2 kB / 456.7 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3638, allocations: 83.66 kB / 456.8 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.3655, allocations: 0.9304 MB / 457.8 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3655, allocations: 6.438 kB / 457.8 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3655, allocations: 0 / 457.8 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3655, allocations: 3.328 kB / 457.8 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.371, allocations: 2.243 MB / 460 MB, free: 23.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3711, allocations: 0 / 460 MB, free: 23.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.3714, allocations: 87.02 kB / 460.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007539/0.3722, allocations: 340.6 kB / 460.4 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.3723, allocations: 24.41 kB / 460.5 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.3734, allocations: 0.9067 MB / 461.4 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3734, allocations: 0 / 461.4 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/0.3784, allocations: 1.7 MB / 463.1 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.3789, allocations: 227.6 kB / 463.3 MB, free: 21.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.379, allocations: 20.89 kB / 463.3 MB, free: 21.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.3796, allocations: 57.97 kB / 463.4 MB, free: 21.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.3797, allocations: 47.55 kB / 463.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.3797, allocations: 26.42 kB / 463.4 MB, free: 21.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005302/0.3803, allocations: 464.8 kB / 463.9 MB, free: 21.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3803, allocations: 0 / 463.9 MB, free: 21.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001015/0.3813, allocations: 315 kB / 464.2 MB, free: 21.02 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.006664/0.388, allocations: 3.012 MB / 467.2 MB, free: 19.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.39, allocations: 0.9578 MB / 468.2 MB, free: 18.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.39, allocations: 7.344 kB / 468.2 MB, free: 18.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.3908, allocations: 486.9 kB / 468.6 MB, free: 18.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.3917, allocations: 156.9 kB / 468.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.3969, allocations: 7.89 MB / 476.7 MB, free: 27.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.3975, allocations: 1.038 MB / 477.7 MB, free: 26.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000568/0.3981, allocations: 125.9 kB / 477.8 MB, free: 26.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.3985, allocations: 384.9 kB / 478.2 MB, free: 26.56 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3985, allocations: 0 / 478.2 MB, free: 26.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.447, allocations: 18.59 MB / 496.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.4473, allocations: 264.6 kB / 497.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.845, allocations: 6.594 kB / 497.1 MB, free: 21.48 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1) Environment - environmentSimulation: