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.03387/0.03387, allocations: 5.388 MB / 20.36 MB, free: 2.258 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.0007246/0.0007246, allocations: 101.5 kB / 22.33 MB, free: 0.7812 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.0009411/0.0009412, allocations: 178.9 kB / 24.41 MB, free: 1.789 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.362/1.362, allocations: 223.3 MB / 249.6 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008675/0.008676, allocations: 2.314 MB / 304.2 MB, free: 3.195 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003933, allocations: 16 kB / 368.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.09982, allocations: 52.2 MB / 420.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006719/0.1066, allocations: 5.995 MB / 426.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2179/0.3245, allocations: 3.704 MB / 430.2 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3259, allocations: 24.64 kB / 430.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.3273, allocations: 400.3 kB / 430.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.3296, allocations: 0.6947 MB / 431.3 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.331, allocations: 489.2 kB / 431.8 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.3326, allocations: 1.237 MB / 433.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.3347, allocations: 1.237 MB / 434.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.3354, allocations: 451.7 kB / 434.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.3362, allocations: 0.5565 MB / 435.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3363, allocations: 58.09 kB / 435.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.3372, allocations: 332.3 kB / 435.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.3374, allocations: 203.2 kB / 435.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3376, allocations: 225.9 kB / 436.1 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3387, allocations: 1.309 MB / 437.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3387, allocations: 4 kB / 437.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3387, allocations: 0 / 437.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3387, allocations: 3.938 kB / 437.4 MB, free: 34.15 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.003151/0.3419, allocations: 1.59 MB / 439 MB, free: 33.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3419, allocations: 9.531 kB / 439 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.3421, allocations: 154.9 kB / 439.2 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.3439, allocations: 386.5 kB / 439.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.3454, allocations: 0.7838 MB / 440.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.3455, allocations: 82.94 kB / 440.4 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.3456, allocations: 98.16 kB / 440.5 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.3473, allocations: 1.126 MB / 441.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.3474, allocations: 3.188 kB / 441.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.3474, allocations: 43 kB / 441.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.3475, allocations: 31.19 kB / 441.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.3491, allocations: 0.946 MB / 442.6 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.354, allocations: 4.357 MB / 447 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.356, allocations: 1.676 MB / 448.7 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.3565, allocations: 315.3 kB / 449 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.527e-05/0.3566, allocations: 97.19 kB / 449.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007577/0.3574, allocations: 454.7 kB / 449.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.797e-06/0.3574, allocations: 3.984 kB / 449.5 MB, free: 28.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005068/0.3625, allocations: 1.591 MB / 451.1 MB, free: 28.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.3626, allocations: 274.8 kB / 451.4 MB, free: 28.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/0.3635, allocations: 0.6571 MB / 452 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.3635, allocations: 40.95 kB / 452.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.3639, allocations: 0.5189 MB / 452.6 MB, free: 27.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.364, allocations: 210.3 kB / 452.8 MB, free: 27.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.3641, allocations: 22.38 kB / 452.8 MB, free: 27.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.3642, allocations: 392.3 kB / 453.2 MB, free: 26.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.3648, allocations: 281.3 kB / 453.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.3654, allocations: 0.537 MB / 454 MB, free: 26.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.3661, allocations: 413.8 kB / 454.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.3661, allocations: 3.5 kB / 454.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001846/0.3679, allocations: 1.07 MB / 455.5 MB, free: 25.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.368, allocations: 63.77 kB / 455.6 MB, free: 25.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.368, allocations: 9.25 kB / 455.6 MB, free: 25.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.3684, allocations: 89.73 kB / 455.7 MB, free: 25.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.3692, allocations: 218.5 kB / 455.9 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.3703, allocations: 1.467 MB / 457.3 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.3711, allocations: 116.2 kB / 457.5 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.3711, allocations: 47.16 kB / 457.5 MB, free: 23.99 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.0004478/0.3716, allocations: 342.2 kB / 457.8 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.3717, allocations: 82.94 kB / 457.9 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.3734, allocations: 0.9211 MB / 458.8 MB, free: 23.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3735, allocations: 6.469 kB / 458.8 MB, free: 23.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3735, allocations: 3.25 kB / 458.8 MB, free: 23.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.3735, allocations: 3.281 kB / 458.8 MB, free: 23.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/0.3787, allocations: 2.249 MB / 461.1 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.3787, allocations: 3.25 kB / 461.1 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.3791, allocations: 91.89 kB / 461.2 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007502/0.3798, allocations: 329.7 kB / 461.5 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.651e-05/0.3799, allocations: 32.77 kB / 461.5 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.3812, allocations: 0.899 MB / 462.4 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3812, allocations: 0 / 462.4 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/0.3859, allocations: 1.669 MB / 464.1 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.3864, allocations: 228.9 kB / 464.3 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.3867, allocations: 19.91 kB / 464.4 MB, free: 20.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000633/0.3873, allocations: 59.16 kB / 464.4 MB, free: 20.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3874, allocations: 40.16 kB / 464.5 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.3875, allocations: 28.95 kB / 464.5 MB, free: 20.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000773/0.3883, allocations: 456.1 kB / 464.9 MB, free: 20.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3883, allocations: 0 / 464.9 MB, free: 20.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001247/0.3896, allocations: 327.4 kB / 465.2 MB, free: 20.25 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.006181/0.3958, allocations: 2.764 MB / 468 MB, free: 18.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.3977, allocations: 0.9584 MB / 469 MB, free: 18.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.3977, allocations: 0 / 469 MB, free: 18.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.3985, allocations: 490.5 kB / 469.4 MB, free: 18.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.3997, allocations: 166.6 kB / 469.6 MB, free: 18.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009473/0.4092, allocations: 5.082 MB / 474.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.4098, allocations: 1.012 MB / 475.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005739/0.4104, allocations: 122.6 kB / 475.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.4109, allocations: 381.9 kB / 476.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4109, allocations: 0 / 476.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/0.46, allocations: 18.92 MB / 495.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/0.4604, allocations: 272.3 kB / 495.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.795, allocations: 3.938 kB / 495.4 MB, free: 7.566 MB / 350.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: