Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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.001566/0.001566, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 94.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02479/0.02479, allocations: 5.289 MB / 341.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007753/0.007753, allocations: 2.29 MB / 396.2 MB, free: 70.46 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.458e-05, allocations: 4 kB / 459.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 52.2 MB / 0.5 GB, free: 42.22 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4072, allocations: 98.73 MB / 0.5964 GB, free: 7.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4074, allocations: 67.91 kB / 0.5965 GB, free: 7.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3738/0.7813, allocations: 36.5 MB / 0.6321 GB, free: 95.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7813, allocations: 3.812 kB / 0.6321 GB, free: 95.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.477e-05/0.7814, allocations: 17.31 kB / 0.6321 GB, free: 95.09 MB / 394.7 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.004094/0.7855, allocations: 1.353 MB / 0.6334 GB, free: 94.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.7856, allocations: 11.78 kB / 0.6335 GB, free: 94.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004653/0.7861, allocations: 159.6 kB / 0.6336 GB, free: 94.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.7881, allocations: 315.1 kB / 0.6339 GB, free: 94.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.7896, allocations: 0.6513 MB / 0.6345 GB, free: 93.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.7897, allocations: 78.38 kB / 0.6346 GB, free: 93.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.79, allocations: 106.7 kB / 0.6347 GB, free: 93.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.7923, allocations: 1.146 MB / 0.6358 GB, free: 93.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.7924, allocations: 5.781 kB / 0.6358 GB, free: 93.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.7925, allocations: 44.91 kB / 0.6359 GB, free: 93.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.7925, allocations: 24.53 kB / 0.6359 GB, free: 93.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.7946, allocations: 1.096 MB / 0.637 GB, free: 93.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00664/0.8012, allocations: 4.566 MB / 0.6414 GB, free: 91.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.8032, allocations: 1.802 MB / 0.6432 GB, free: 89.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.8037, allocations: 314.3 kB / 0.6435 GB, free: 89.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-05/0.8038, allocations: 88.33 kB / 0.6436 GB, free: 89.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/0.8044, allocations: 467.2 kB / 0.644 GB, free: 89.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/0.8044, allocations: 0 / 0.644 GB, free: 89.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.00359/0.808, allocations: 1.111 MB / 0.6451 GB, free: 88.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.8082, allocations: 250.8 kB / 0.6454 GB, free: 88.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.8092, allocations: 0.6389 MB / 0.646 GB, free: 88.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.8093, allocations: 45.64 kB / 0.646 GB, free: 88.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.8096, allocations: 0.5202 MB / 0.6465 GB, free: 87.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.8098, allocations: 234.8 kB / 0.6468 GB, free: 87.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.8099, allocations: 16 kB / 0.6468 GB, free: 87.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.81, allocations: 387.9 kB / 0.6471 GB, free: 87.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.8104, allocations: 299.5 kB / 0.6474 GB, free: 86.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.811, allocations: 0.5231 MB / 0.6479 GB, free: 86.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.8115, allocations: 429.7 kB / 0.6483 GB, free: 85.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.8115, allocations: 4 kB / 0.6483 GB, free: 85.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001882/0.8134, allocations: 1.109 MB / 0.6494 GB, free: 84.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.8135, allocations: 59.41 kB / 0.6495 GB, free: 84.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.8135, allocations: 15.89 kB / 0.6495 GB, free: 84.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.814, allocations: 102.1 kB / 0.6496 GB, free: 84.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.8148, allocations: 218.8 kB / 0.6498 GB, free: 84.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.8162, allocations: 1.554 MB / 0.6513 GB, free: 82.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007974/0.817, allocations: 114.5 kB / 0.6514 GB, free: 82.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/0.8171, allocations: 46.75 kB / 0.6515 GB, free: 82.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * 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.0002435/0.8173, allocations: 234 kB / 0.6517 GB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.8175, allocations: 82.97 kB / 0.6518 GB, free: 82.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.8212, allocations: 1.297 MB / 0.653 GB, free: 81.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.8212, allocations: 12 kB / 0.6531 GB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8213, allocations: 4 kB / 0.6531 GB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8213, allocations: 3.891 kB / 0.6531 GB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.825, allocations: 2.263 MB / 0.6553 GB, free: 79.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.8251, allocations: 4 kB / 0.6553 GB, free: 79.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.8255, allocations: 109.7 kB / 0.6554 GB, free: 79.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.8277, allocations: 0.5383 MB / 0.6559 GB, free: 78.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.8278, allocations: 35.45 kB / 0.6559 GB, free: 78.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007671/0.8286, allocations: 0.8715 MB / 0.6568 GB, free: 77.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8286, allocations: 0 / 0.6568 GB, free: 77.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.8307, allocations: 1.448 MB / 0.6582 GB, free: 76.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/0.8312, allocations: 267.7 kB / 0.6585 GB, free: 76.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.8314, allocations: 20 kB / 0.6585 GB, free: 76.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.832, allocations: 43.59 kB / 0.6585 GB, free: 76.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.8321, allocations: 48.11 kB / 0.6586 GB, free: 76.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.8322, allocations: 31.12 kB / 0.6586 GB, free: 76.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006486/0.8328, allocations: 0.49 MB / 0.6591 GB, free: 75.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8328, allocations: 0 / 0.6591 GB, free: 75.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001289/0.8341, allocations: 374 kB / 0.6594 GB, free: 75.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00397/0.8381, allocations: 2.73 MB / 0.6621 GB, free: 72.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.8398, allocations: 0.9839 MB / 0.6631 GB, free: 71.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8399, allocations: 0 / 0.6631 GB, free: 71.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.8405, allocations: 0.5107 MB / 0.6636 GB, free: 71.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.8413, allocations: 134 kB / 0.6637 GB, free: 71.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.8442, allocations: 1.505 MB / 0.6652 GB, free: 69.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.8446, allocations: 1.056 MB / 0.6662 GB, free: 69.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004617/0.8451, allocations: 119.6 kB / 0.6663 GB, free: 68.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/0.8456, allocations: 409.7 kB / 0.6667 GB, free: 68.59 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.8456, allocations: 3.938 kB / 0.6667 GB, free: 68.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/0.8868, allocations: 21.08 MB / 0.6873 GB, free: 47.85 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.887, allocations: 232.6 kB / 0.6875 GB, free: 47.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.586, allocations: 0 / 0.6875 GB, free: 47.54 MB / 394.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)