Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_Trina_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704",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.001065/0.001065, 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.334/1.334, 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.0008546/0.0008546, 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.02437/0.02437, 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.008135/0.008135, 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.103e-05/3.118e-05, allocations: 4 kB / 457.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.294, allocations: 52.19 MB / 0.4975 GB, free: 41.33 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4189, allocations: 98.73 MB / 0.594 GB, free: 7.535 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4192, allocations: 67.97 kB / 0.594 GB, free: 7.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3742/0.7934, allocations: 36.51 MB / 0.6297 GB, free: 93.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.7934, allocations: 0 / 0.6297 GB, free: 93.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.434e-05/0.7935, allocations: 23.56 kB / 0.6297 GB, free: 93.98 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.00268/0.7962, allocations: 1.355 MB / 0.631 GB, free: 93.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7962, allocations: 7.719 kB / 0.631 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002196/0.7965, allocations: 160.7 kB / 0.6312 GB, free: 93.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.798, allocations: 306.9 kB / 0.6315 GB, free: 93.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.7994, allocations: 0.6526 MB / 0.6321 GB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.7994, allocations: 76.12 kB / 0.6322 GB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.7996, allocations: 110 kB / 0.6323 GB, free: 92.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.8014, allocations: 1.145 MB / 0.6334 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.8015, allocations: 7.281 kB / 0.6334 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/0.8016, allocations: 45.03 kB / 0.6335 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.8016, allocations: 23.31 kB / 0.6335 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.8033, allocations: 1.101 MB / 0.6346 GB, free: 92.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006075/0.8094, allocations: 4.556 MB / 0.639 GB, free: 90.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.8114, allocations: 1.803 MB / 0.6408 GB, free: 88.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.8119, allocations: 314.8 kB / 0.6411 GB, free: 88.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.513e-05/0.812, allocations: 100.6 kB / 0.6412 GB, free: 88.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005956/0.8126, allocations: 455.5 kB / 0.6416 GB, free: 88.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 5.039e-06/0.8127, allocations: 0 / 0.6416 GB, free: 88.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.003602/0.8163, allocations: 1.12 MB / 0.6427 GB, free: 87.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.8164, allocations: 244.9 kB / 0.6429 GB, free: 87.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.8172, allocations: 0.6418 MB / 0.6436 GB, free: 87.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.8173, allocations: 41.64 kB / 0.6436 GB, free: 87.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.8177, allocations: 0.521 MB / 0.6441 GB, free: 86.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.8179, allocations: 243.3 kB / 0.6443 GB, free: 86.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.8179, allocations: 22.62 kB / 0.6444 GB, free: 86.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.818, allocations: 388 kB / 0.6447 GB, free: 86.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.8185, allocations: 287.3 kB / 0.645 GB, free: 86.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.819, allocations: 0.5359 MB / 0.6455 GB, free: 85.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.8196, allocations: 422.1 kB / 0.6459 GB, free: 85.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8196, allocations: 0 / 0.6459 GB, free: 85.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00197/0.8216, allocations: 1.109 MB / 0.647 GB, free: 85.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.8217, allocations: 65.88 kB / 0.6471 GB, free: 85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.8217, allocations: 11.95 kB / 0.6471 GB, free: 84.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.8222, allocations: 103.1 kB / 0.6472 GB, free: 84.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.823, allocations: 216 kB / 0.6474 GB, free: 84.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.8244, allocations: 1.553 MB / 0.6489 GB, free: 83.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.8254, allocations: 110.6 kB / 0.649 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.8255, allocations: 47.31 kB / 0.6491 GB, free: 82.96 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.0002697/0.8258, allocations: 234 kB / 0.6493 GB, free: 82.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.8259, allocations: 82.97 kB / 0.6494 GB, free: 82.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/0.8296, allocations: 1.306 MB / 0.6506 GB, free: 81.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.8297, allocations: 8 kB / 0.6506 GB, free: 81.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8297, allocations: 4 kB / 0.6506 GB, free: 81.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.8297, allocations: 3.562 kB / 0.6506 GB, free: 81.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.8327, allocations: 2.256 MB / 0.6528 GB, free: 79.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8328, allocations: 4 kB / 0.6529 GB, free: 79.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.8332, allocations: 109 kB / 0.653 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/0.8354, allocations: 0.5397 MB / 0.6535 GB, free: 79.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.8355, allocations: 30.47 kB / 0.6535 GB, free: 79.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007285/0.8362, allocations: 0.8732 MB / 0.6544 GB, free: 78.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.8362, allocations: 0 / 0.6544 GB, free: 78.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.8381, allocations: 1.454 MB / 0.6558 GB, free: 76.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.8386, allocations: 259.8 kB / 0.656 GB, free: 76.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.8387, allocations: 24 kB / 0.6561 GB, free: 76.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.8392, allocations: 47.69 kB / 0.6561 GB, free: 76.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.8393, allocations: 47.72 kB / 0.6561 GB, free: 76.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.8394, allocations: 34.61 kB / 0.6562 GB, free: 76.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000537/0.8399, allocations: 498.2 kB / 0.6567 GB, free: 75.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8399, allocations: 0 / 0.6567 GB, free: 75.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001124/0.8411, allocations: 374.6 kB / 0.657 GB, free: 75.59 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.003297/0.8444, allocations: 2.727 MB / 0.6597 GB, free: 73.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.8458, allocations: 0.9949 MB / 0.6606 GB, free: 72.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8458, allocations: 128 / 0.6606 GB, free: 72.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.8465, allocations: 0.5056 MB / 0.6611 GB, free: 71.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.8472, allocations: 128.4 kB / 0.6613 GB, free: 71.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.8506, allocations: 1.52 MB / 0.6627 GB, free: 70.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.851, allocations: 1.052 MB / 0.6638 GB, free: 69.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004943/0.8515, allocations: 128.4 kB / 0.6639 GB, free: 69.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.852, allocations: 412.8 kB / 0.6643 GB, free: 68.77 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.852, allocations: 3.938 kB / 0.6643 GB, free: 68.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.8895, allocations: 21.04 MB / 0.6848 GB, free: 48.08 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.8897, allocations: 223.7 kB / 0.6851 GB, free: 47.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.512, allocations: 0 / 0.6851 GB, free: 47.86 MB / 394.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)