Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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.03243/0.03243, allocations: 5.39 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.0007294/0.0007294, 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.001172/0.001171, allocations: 175 kB / 24.41 MB, free: 1.77 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.403/1.403, allocations: 223.3 MB / 249.6 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008223/0.008224, allocations: 2.309 MB / 304.2 MB, free: 3.852 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005329, allocations: 12 kB / 368.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1313, allocations: 52.2 MB / 420.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007099/0.1384, allocations: 5.956 MB / 426.5 MB, free: 224 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.21/0.3484, allocations: 3.621 MB / 430.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007874/0.3493, allocations: 20.94 kB / 430.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3504, allocations: 400.3 kB / 430.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.3522, allocations: 0.6828 MB / 431.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3534, allocations: 413.3 kB / 431.6 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.3546, allocations: 1.235 MB / 432.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.3565, allocations: 1.248 MB / 434.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.3571, allocations: 445.1 kB / 434.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.3577, allocations: 0.5673 MB / 435.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3579, allocations: 60.36 kB / 435.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007811/0.3586, allocations: 326.3 kB / 435.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3588, allocations: 217.3 kB / 435.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.359, allocations: 233.6 kB / 435.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3601, allocations: 1.324 MB / 437.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3602, allocations: 1.875 kB / 437.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3602, allocations: 3.469 kB / 437.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.3602, allocations: 0 / 437.2 MB, free: 33.94 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003175/0.3634, allocations: 1.595 MB / 438.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3634, allocations: 9.375 kB / 438.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.3636, allocations: 168 kB / 439 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.3655, allocations: 377 kB / 439.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.3671, allocations: 0.8003 MB / 440.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.3672, allocations: 83.81 kB / 440.3 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.3673, allocations: 111.5 kB / 440.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.3691, allocations: 1.171 MB / 441.5 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3692, allocations: 4.594 kB / 441.5 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.3693, allocations: 43.52 kB / 441.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.3693, allocations: 26.41 kB / 441.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.3711, allocations: 1.067 MB / 442.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005436/0.3766, allocations: 4.393 MB / 447.1 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.3787, allocations: 1.745 MB / 448.8 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.3793, allocations: 326.7 kB / 449.1 MB, free: 29.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-05/0.3794, allocations: 100.6 kB / 449.2 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007645/0.3802, allocations: 460.2 kB / 449.7 MB, free: 29.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 3.457e-06/0.3802, allocations: 0 / 449.7 MB, free: 29.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004987/0.3852, allocations: 1.639 MB / 451.3 MB, free: 28.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.3853, allocations: 222.2 kB / 451.5 MB, free: 28.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.386, allocations: 0.6451 MB / 452.2 MB, free: 27.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.3861, allocations: 43.55 kB / 452.2 MB, free: 27.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.3864, allocations: 0.5219 MB / 452.8 MB, free: 27.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3866, allocations: 229.3 kB / 453 MB, free: 27.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.3866, allocations: 21.91 kB / 453 MB, free: 27.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3868, allocations: 385.9 kB / 453.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.3873, allocations: 301.1 kB / 453.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.388, allocations: 0.535 MB / 454.2 MB, free: 26.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.3887, allocations: 421.3 kB / 454.6 MB, free: 26.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3887, allocations: 0 / 454.6 MB, free: 26.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001917/0.3906, allocations: 1.115 MB / 455.7 MB, free: 25.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.3906, allocations: 64.42 kB / 455.8 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3907, allocations: 9.406 kB / 455.8 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/0.3911, allocations: 92.44 kB / 455.9 MB, free: 25.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.3919, allocations: 221.5 kB / 456.1 MB, free: 25.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.393, allocations: 1.475 MB / 457.6 MB, free: 24.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.3936, allocations: 119.5 kB / 457.7 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.3937, allocations: 45.64 kB / 457.7 MB, free: 24.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0004457/0.3942, allocations: 342.1 kB / 458.1 MB, free: 23.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3943, allocations: 79.31 kB / 458.2 MB, free: 23.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.3961, allocations: 1.017 MB / 459.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3961, allocations: 10.14 kB / 459.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3961, allocations: 0 / 459.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3961, allocations: 3.422 kB / 459.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.4014, allocations: 2.341 MB / 461.5 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4014, allocations: 0 / 461.5 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.4018, allocations: 98.28 kB / 461.6 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007019/0.4025, allocations: 342.6 kB / 462 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.4026, allocations: 31.67 kB / 462 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.4036, allocations: 0.898 MB / 462.9 MB, free: 21.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4036, allocations: 5.656 kB / 462.9 MB, free: 21.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.4059, allocations: 1.414 MB / 464.3 MB, free: 20.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.4062, allocations: 232.6 kB / 464.5 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.4064, allocations: 23.09 kB / 464.6 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.407, allocations: 52.92 kB / 464.6 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.4071, allocations: 49.62 kB / 464.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.4071, allocations: 29.62 kB / 464.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005613/0.4077, allocations: 448.3 kB / 465.1 MB, free: 20.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4077, allocations: 0 / 465.1 MB, free: 20.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001103/0.4088, allocations: 321.3 kB / 465.4 MB, free: 20.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.003822/0.4126, allocations: 2.521 MB / 468 MB, free: 19.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.4144, allocations: 0.989 MB / 468.9 MB, free: 18.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4144, allocations: 3.125 kB / 468.9 MB, free: 18.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.4151, allocations: 0.4924 MB / 469.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.4159, allocations: 154.7 kB / 469.6 MB, free: 18.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/0.4255, allocations: 5.146 MB / 474.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.4263, allocations: 1.021 MB / 475.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006834/0.427, allocations: 131.5 kB / 475.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.4276, allocations: 399 kB / 476.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4276, allocations: 0 / 476.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0611/0.4887, allocations: 18.85 MB / 495.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.489, allocations: 263.6 kB / 495.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.728, allocations: 0 / 495.4 MB, free: 7.664 MB / 350.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) Environment - environmentSimulation: