Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002621/0.002621, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 94.23 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0243/0.0243, allocations: 5.288 MB / 336.5 MB, free: 9.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009368/0.009368, allocations: 2.295 MB / 390.8 MB, free: 3.539 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.558e-05, allocations: 0 / 450.1 MB, free: 48.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 52.2 MB / 0.4905 GB, free: 5.688 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4049, allocations: 97.88 MB / 0.5861 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4052, allocations: 68.84 kB / 0.5862 GB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1005/0.5057, allocations: 36.53 MB / 0.6218 GB, free: 9.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5057, allocations: 0 / 0.6218 GB, free: 9.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001231/0.5059, allocations: 24 kB / 0.6219 GB, free: 9.789 MB / 410.7 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.004047/0.5099, allocations: 1.363 MB / 0.6232 GB, free: 8.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.51, allocations: 12.02 kB / 0.6232 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.5118, allocations: 298.2 kB / 0.6235 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.5135, allocations: 0.6606 MB / 0.6241 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.5136, allocations: 35.95 kB / 0.6242 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.5139, allocations: 64 kB / 0.6242 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002014/0.5159, allocations: 0.8669 MB / 0.6251 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.518, allocations: 0.9274 MB / 0.626 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.518, allocations: 0 / 0.626 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5181, allocations: 4 kB / 0.626 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.5182, allocations: 24 kB / 0.626 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007762/0.5259, allocations: 4.327 MB / 0.6302 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.5279, allocations: 1.641 MB / 0.6318 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.5284, allocations: 276.5 kB / 0.6321 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.5285, allocations: 93.53 kB / 0.6322 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006307/0.5292, allocations: 430.4 kB / 0.6326 GB, free: 14.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.5292, allocations: 0 / 0.6326 GB, free: 14.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.003969/0.5332, allocations: 0.9976 MB / 0.6336 GB, free: 13.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.5333, allocations: 303.3 kB / 0.6339 GB, free: 12.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.5343, allocations: 0.5777 MB / 0.6344 GB, free: 12.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.5343, allocations: 33.7 kB / 0.6345 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.5348, allocations: 0.5102 MB / 0.635 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.535, allocations: 220.9 kB / 0.6352 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.535, allocations: 4.031 kB / 0.6352 GB, free: 11.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5352, allocations: 390.7 kB / 0.6355 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.5357, allocations: 250.6 kB / 0.6358 GB, free: 10.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.5364, allocations: 0.4951 MB / 0.6363 GB, free: 10.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.5373, allocations: 384.3 kB / 0.6366 GB, free: 9.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5373, allocations: 0 / 0.6366 GB, free: 9.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002145/0.5394, allocations: 0.9611 MB / 0.6376 GB, free: 8.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.5395, allocations: 68.81 kB / 0.6376 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5396, allocations: 11.94 kB / 0.6376 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.5401, allocations: 100.9 kB / 0.6377 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/0.541, allocations: 211.7 kB / 0.6379 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.5427, allocations: 1.51 MB / 0.6394 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/0.5435, allocations: 91.19 kB / 0.6395 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5436, allocations: 43.94 kB / 0.6395 GB, free: 6.633 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 () * 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.0002848/0.5439, allocations: 211.3 kB / 0.6397 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003875/0.5478, allocations: 1.048 MB / 0.6408 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.5481, allocations: 83.05 kB / 0.6409 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/0.5521, allocations: 1.093 MB / 0.6419 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5521, allocations: 8.047 kB / 0.6419 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5521, allocations: 11.94 kB / 0.6419 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5522, allocations: 0 / 0.6419 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.5555, allocations: 1.856 MB / 0.6437 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.5555, allocations: 4 kB / 0.6438 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.5559, allocations: 91.83 kB / 0.6438 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.5583, allocations: 0.541 MB / 0.6444 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.5584, allocations: 15.98 kB / 0.6444 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008695/0.5593, allocations: 0.8529 MB / 0.6452 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5593, allocations: 4.031 kB / 0.6452 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2362/0.7955, allocations: 1.252 MB / 0.6464 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.7963, allocations: 241.7 kB / 0.6467 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.7966, allocations: 11.38 kB / 0.6467 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.7973, allocations: 33.8 kB / 0.6467 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.7975, allocations: 40.69 kB / 0.6468 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.7976, allocations: 40.75 kB / 0.6468 GB, free: 110.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000782/0.7984, allocations: 447.6 kB / 0.6472 GB, free: 110.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7984, allocations: 0 / 0.6472 GB, free: 110.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001619/0.8, allocations: 331.6 kB / 0.6475 GB, free: 110.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.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.nextTimeEvent,powerTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003958/0.804, allocations: 2.544 MB / 0.65 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.8056, allocations: 0.8801 MB / 0.6509 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8056, allocations: 0.9688 kB / 0.6509 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.8062, allocations: 448.4 kB / 0.6513 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.8073, allocations: 144.1 kB / 0.6514 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.8112, allocations: 1.374 MB / 0.6528 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/0.812, allocations: 1.031 MB / 0.6538 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006725/0.8126, allocations: 107.8 kB / 0.6539 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/0.8132, allocations: 390 kB / 0.6543 GB, free: 108.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8132, allocations: 3.391 kB / 0.6543 GB, free: 108.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05554/0.8688, allocations: 18.45 MB / 0.6723 GB, free: 107.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.869, allocations: 185.5 kB / 0.6725 GB, free: 106.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.422, allocations: 4 kB / 0.6725 GB, free: 106.9 MB / 426.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)