Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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.02836/0.02836, allocations: 5.38 MB / 20.36 MB, free: 2.234 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.0007181/0.0007182, allocations: 97.5 kB / 22.34 MB, free: 0.7656 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.001145/0.001145, allocations: 177.6 kB / 24.42 MB, free: 1.973 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.357/1.357, allocations: 223.3 MB / 249.6 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008886/0.008886, allocations: 2.315 MB / 304.2 MB, free: 3.262 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004042, allocations: 12 kB / 368.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.09958, allocations: 52.21 MB / 420.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.009164/0.1088, allocations: 5.952 MB / 426.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.173/0.2819, allocations: 3.619 MB / 430.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/0.2824, allocations: 22.22 kB / 430.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.2832, allocations: 389.3 kB / 430.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2845, allocations: 0.6882 MB / 431.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.2856, allocations: 422.5 kB / 431.6 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009341/0.2865, allocations: 1.24 MB / 432.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.2882, allocations: 1.242 MB / 434.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.2887, allocations: 443.9 kB / 434.5 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.2893, allocations: 0.559 MB / 435.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.2894, allocations: 59.47 kB / 435.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.2901, allocations: 332 kB / 435.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.2903, allocations: 215.4 kB / 435.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2905, allocations: 234.1 kB / 435.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009981/0.2915, allocations: 1.337 MB / 437.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2915, allocations: 0 / 437.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2915, allocations: 0 / 437.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.2915, allocations: 0 / 437.2 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003032/0.2946, allocations: 1.593 MB / 438.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2946, allocations: 9.156 kB / 438.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.2948, allocations: 163.8 kB / 439 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.2967, allocations: 381.5 kB / 439.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.2981, allocations: 0.8042 MB / 440.2 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.2982, allocations: 85.59 kB / 440.3 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2983, allocations: 105.2 kB / 440.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.3, allocations: 1.164 MB / 441.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.3001, allocations: 3.906 kB / 441.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.3002, allocations: 51.48 kB / 441.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3002, allocations: 25.81 kB / 441.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.3019, allocations: 1.068 MB / 442.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004919/0.3068, allocations: 4.385 MB / 447.1 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.3088, allocations: 1.748 MB / 448.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.3093, allocations: 329.1 kB / 449.1 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.3094, allocations: 106 kB / 449.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006994/0.3101, allocations: 459.4 kB / 449.7 MB, free: 29.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.335e-06/0.3101, allocations: 0 / 449.7 MB, free: 29.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004774/0.3149, allocations: 1.627 MB / 451.3 MB, free: 28.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.315, allocations: 223.2 kB / 451.5 MB, free: 28.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.3157, allocations: 0.649 MB / 452.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.3157, allocations: 44.2 kB / 452.2 MB, free: 27.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.316, allocations: 0.518 MB / 452.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3161, allocations: 235.8 kB / 453 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.3162, allocations: 19.25 kB / 453 MB, free: 27.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.3163, allocations: 393.9 kB / 453.4 MB, free: 26.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.3168, allocations: 307.1 kB / 453.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.3174, allocations: 0.5278 MB / 454.2 MB, free: 26.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.318, allocations: 430.6 kB / 454.6 MB, free: 26.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3181, allocations: 1.125 kB / 454.6 MB, free: 26.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001781/0.3198, allocations: 1.11 MB / 455.7 MB, free: 25.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.3199, allocations: 61.22 kB / 455.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3199, allocations: 9.75 kB / 455.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.3203, allocations: 85.95 kB / 455.9 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.3211, allocations: 229.8 kB / 456.1 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3223, allocations: 1.469 MB / 457.6 MB, free: 24.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.323, allocations: 116 kB / 457.7 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.3231, allocations: 46.44 kB / 457.7 MB, free: 24.14 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.000491/0.3236, allocations: 334.3 kB / 458.1 MB, free: 23.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3237, allocations: 84.53 kB / 458.2 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.3255, allocations: 1.019 MB / 459.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3255, allocations: 13.33 kB / 459.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3255, allocations: 0 / 459.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3255, allocations: 6.5 kB / 459.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/0.3306, allocations: 2.341 MB / 461.5 MB, free: 22.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3306, allocations: 0 / 461.5 MB, free: 22.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.3309, allocations: 98.81 kB / 461.6 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006835/0.3316, allocations: 335.2 kB / 462 MB, free: 22.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.3317, allocations: 35.03 kB / 462 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009832/0.3327, allocations: 0.8998 MB / 462.9 MB, free: 21.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3327, allocations: 3.875 kB / 462.9 MB, free: 21.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.3349, allocations: 1.416 MB / 464.3 MB, free: 20.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.3352, allocations: 230.8 kB / 464.5 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3353, allocations: 21.59 kB / 464.6 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.3358, allocations: 59.64 kB / 464.6 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.3359, allocations: 40.52 kB / 464.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.3359, allocations: 29.17 kB / 464.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004733/0.3364, allocations: 450.1 kB / 465.1 MB, free: 20.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.91e-07/0.3364, allocations: 0 / 465.1 MB, free: 20.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008925/0.3373, allocations: 325 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.003475/0.3408, allocations: 2.519 MB / 468 MB, free: 19.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.3424, allocations: 0.9974 MB / 469 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3424, allocations: 2.844 kB / 469 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006842/0.3431, allocations: 0.4937 MB / 469.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.3438, allocations: 144 kB / 469.6 MB, free: 18.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009263/0.3531, allocations: 5.141 MB / 474.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.3536, allocations: 1.018 MB / 475.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005202/0.3541, allocations: 136.6 kB / 475.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.3546, allocations: 396.9 kB / 476.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3546, allocations: 0 / 476.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.3935, allocations: 18.86 MB / 495.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/0.3937, allocations: 260.3 kB / 495.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/2.671, allocations: 8 kB / 495.4 MB, free: 7.598 MB / 350.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) Environment - environmentSimulation: