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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 175.2 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.343/1.343, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008963/0.0008963, allocations: 92.69 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02449/0.02449, allocations: 5.285 MB / 341.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008107/0.008107, allocations: 2.294 MB / 396.1 MB, free: 70.47 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.01e-05, allocations: 4 kB / 457.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2923, allocations: 52.19 MB / 0.4975 GB, free: 41.44 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4202, allocations: 98.73 MB / 0.594 GB, free: 7.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4205, allocations: 59.98 kB / 0.594 GB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3704/0.7909, allocations: 36.5 MB / 0.6297 GB, free: 94.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.7909, allocations: 0 / 0.6297 GB, free: 94.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.7911, allocations: 25.81 kB / 0.6297 GB, free: 94.18 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.004024/0.7951, allocations: 1.357 MB / 0.631 GB, free: 93.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.7952, allocations: 7.5 kB / 0.631 GB, free: 93.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000469/0.7957, allocations: 164.8 kB / 0.6312 GB, free: 93.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.7975, allocations: 310.6 kB / 0.6315 GB, free: 93.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.7992, allocations: 0.6508 MB / 0.6321 GB, free: 93.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.7993, allocations: 79.25 kB / 0.6322 GB, free: 93.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.7996, allocations: 104.1 kB / 0.6323 GB, free: 93.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.8018, allocations: 1.145 MB / 0.6334 GB, free: 92.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.8018, allocations: 8.734 kB / 0.6334 GB, free: 92.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.802, allocations: 42.72 kB / 0.6335 GB, free: 92.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.802, allocations: 31.47 kB / 0.6335 GB, free: 92.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.8041, allocations: 1.096 MB / 0.6346 GB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/0.8115, allocations: 4.561 MB / 0.639 GB, free: 90.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.8136, allocations: 1.796 MB / 0.6408 GB, free: 88.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.8142, allocations: 326.3 kB / 0.6411 GB, free: 88.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.8144, allocations: 92.16 kB / 0.6412 GB, free: 88.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007032/0.8151, allocations: 465.2 kB / 0.6416 GB, free: 88.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 3.918e-06/0.8151, allocations: 0 / 0.6416 GB, free: 88.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.003779/0.8189, allocations: 1.112 MB / 0.6427 GB, free: 88.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.819, allocations: 252.6 kB / 0.6429 GB, free: 87.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.8202, allocations: 0.6381 MB / 0.6436 GB, free: 87.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.8203, allocations: 44.48 kB / 0.6436 GB, free: 87.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.8208, allocations: 0.5233 MB / 0.6441 GB, free: 87.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.8211, allocations: 233.7 kB / 0.6443 GB, free: 86.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.8212, allocations: 15.84 kB / 0.6443 GB, free: 86.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8213, allocations: 392.5 kB / 0.6447 GB, free: 86.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.8218, allocations: 292.4 kB / 0.645 GB, free: 86.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/0.8225, allocations: 0.5306 MB / 0.6455 GB, free: 85.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.8232, allocations: 418.6 kB / 0.6459 GB, free: 85.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.8232, allocations: 7.75 kB / 0.6459 GB, free: 85.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002119/0.8253, allocations: 1.115 MB / 0.647 GB, free: 85.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.8254, allocations: 59.41 kB / 0.6471 GB, free: 85.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.8254, allocations: 15.98 kB / 0.6471 GB, free: 85.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.8259, allocations: 93.02 kB / 0.6472 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/0.8268, allocations: 220 kB / 0.6474 GB, free: 84.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.8284, allocations: 1.561 MB / 0.6489 GB, free: 83.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.8295, allocations: 105.8 kB / 0.649 GB, free: 83.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.8296, allocations: 46.47 kB / 0.6491 GB, free: 83.12 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.0003745/0.83, allocations: 234.1 kB / 0.6493 GB, free: 82.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.8303, allocations: 82.97 kB / 0.6494 GB, free: 82.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.8344, allocations: 1.304 MB / 0.6506 GB, free: 81.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.8344, allocations: 11.44 kB / 0.6506 GB, free: 81.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8344, allocations: 4 kB / 0.6506 GB, free: 81.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.8344, allocations: 3.891 kB / 0.6506 GB, free: 81.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.8384, allocations: 2.258 MB / 0.6529 GB, free: 79.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.8384, allocations: 4 kB / 0.6529 GB, free: 79.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.8389, allocations: 106.7 kB / 0.653 GB, free: 79.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.8411, allocations: 0.5413 MB / 0.6535 GB, free: 79.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.8412, allocations: 30.61 kB / 0.6535 GB, free: 79.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007605/0.842, allocations: 0.868 MB / 0.6544 GB, free: 78.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.842, allocations: 0 / 0.6544 GB, free: 78.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.8442, allocations: 1.457 MB / 0.6558 GB, free: 76.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.8448, allocations: 257.6 kB / 0.656 GB, free: 76.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.8451, allocations: 24 kB / 0.6561 GB, free: 76.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.8458, allocations: 43.69 kB / 0.6561 GB, free: 76.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.846, allocations: 51.73 kB / 0.6561 GB, free: 76.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.846, allocations: 31.55 kB / 0.6562 GB, free: 76.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008426/0.8469, allocations: 499.8 kB / 0.6567 GB, free: 76.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.8469, allocations: 0 / 0.6567 GB, free: 76.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00152/0.8485, allocations: 374.7 kB / 0.657 GB, free: 75.76 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.004077/0.8525, allocations: 2.726 MB / 0.6597 GB, free: 73.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.8544, allocations: 0.9927 MB / 0.6606 GB, free: 72.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.8544, allocations: 8.25 kB / 0.6606 GB, free: 72.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.8552, allocations: 0.4997 MB / 0.6611 GB, free: 71.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.8562, allocations: 130.6 kB / 0.6613 GB, free: 71.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.8603, allocations: 1.524 MB / 0.6627 GB, free: 70.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.8609, allocations: 1.05 MB / 0.6638 GB, free: 69.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.8615, allocations: 119.5 kB / 0.6639 GB, free: 69.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.8621, allocations: 411.6 kB / 0.6643 GB, free: 68.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.8621, allocations: 0 / 0.6643 GB, free: 68.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.9101, allocations: 21.04 MB / 0.6848 GB, free: 48.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.9103, allocations: 229.1 kB / 0.6851 GB, free: 48.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.521, allocations: 10.89 kB / 0.6851 GB, free: 48.06 MB / 394.7 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)