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.03489/0.03489, allocations: 5.394 MB / 20.51 MB, free: 2.062 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.0007248/0.0007248, allocations: 112.1 kB / 22.5 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 191.5 kB / 24.59 MB, free: 1.773 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.052/1.052, allocations: 222.9 MB / 249.4 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00739/0.00739, allocations: 2.322 MB / 303.1 MB, free: 3.715 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 87.86 kB / 366.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06793/0.06933, allocations: 51.21 MB / 417.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006196/0.07554, allocations: 6.823 MB / 424.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1211/0.1966, allocations: 3.883 MB / 428.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.1974, allocations: 21.34 kB / 428.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.1994, allocations: 1.073 MB / 429.5 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.2008, allocations: 0.7672 MB / 430.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.2021, allocations: 0.4971 MB / 430.8 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009726/0.2031, allocations: 1.312 MB / 432.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009506/0.204, allocations: 0.8536 MB / 433 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.2045, allocations: 0.4994 MB / 433.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006121/0.2051, allocations: 0.6433 MB / 434.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.2053, allocations: 85.81 kB / 434.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005584/0.2058, allocations: 374.2 kB / 434.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.206, allocations: 256 kB / 434.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.2064, allocations: 0.594 MB / 435.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2074, allocations: 1.724 MB / 437.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2074, allocations: 0 / 437.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2075, allocations: 0 / 437.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.2075, allocations: 6.906 kB / 437.1 MB, free: 34.68 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.003111/0.2106, allocations: 1.796 MB / 438.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2106, allocations: 6.625 kB / 438.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.2108, allocations: 166.9 kB / 439.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.2125, allocations: 377.1 kB / 439.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.2138, allocations: 0.8222 MB / 440.3 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.2138, allocations: 84.39 kB / 440.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.2139, allocations: 108.3 kB / 440.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.2154, allocations: 1.172 MB / 441.6 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2154, allocations: 6.812 kB / 441.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/0.2155, allocations: 42.78 kB / 441.7 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.2155, allocations: 25.72 kB / 441.7 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.2171, allocations: 1.074 MB / 442.8 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0041/0.2212, allocations: 4.38 MB / 447.2 MB, free: 29.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.223, allocations: 1.736 MB / 448.9 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.2235, allocations: 332 kB / 449.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.2235, allocations: 101.4 kB / 449.3 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.2241, allocations: 460.2 kB / 449.8 MB, free: 28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 1.783e-06/0.2241, allocations: 0 / 449.8 MB, free: 28 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004554/0.2287, allocations: 1.598 MB / 451.4 MB, free: 27.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2287, allocations: 228.8 kB / 451.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.2292, allocations: 0.6424 MB / 452.2 MB, free: 26.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.2293, allocations: 42.75 kB / 452.3 MB, free: 26.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.2295, allocations: 0.5217 MB / 452.8 MB, free: 26.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/0.2296, allocations: 226.8 kB / 453 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.2298, allocations: 190.2 kB / 453.2 MB, free: 26.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.2298, allocations: 393.8 kB / 453.6 MB, free: 25.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.2303, allocations: 297.7 kB / 453.9 MB, free: 25.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.2309, allocations: 0.5357 MB / 454.4 MB, free: 25.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.2319, allocations: 0.9358 MB / 455.4 MB, free: 24.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2319, allocations: 3.25 kB / 455.4 MB, free: 24.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00158/0.2335, allocations: 1.118 MB / 456.5 MB, free: 24.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.2335, allocations: 64.86 kB / 456.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2335, allocations: 6.969 kB / 456.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.2339, allocations: 85.86 kB / 456.6 MB, free: 24.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.2346, allocations: 223.4 kB / 456.9 MB, free: 24.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.2355, allocations: 1.473 MB / 458.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.236, allocations: 117.2 kB / 458.4 MB, free: 22.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.2361, allocations: 44.77 kB / 458.5 MB, free: 22.53 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 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.2364, allocations: 338.4 kB / 458.8 MB, free: 22.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.2365, allocations: 82.25 kB / 458.9 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.238, allocations: 1.009 MB / 459.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2381, allocations: 10.62 kB / 459.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2381, allocations: 7.125 kB / 459.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2381, allocations: 3.188 kB / 459.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.2426, allocations: 2.308 MB / 462.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2426, allocations: 0 / 462.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.2429, allocations: 103.3 kB / 462.3 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/0.2435, allocations: 334.1 kB / 462.7 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.2436, allocations: 24.44 kB / 462.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009048/0.2445, allocations: 0.8943 MB / 463.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2445, allocations: 3.281 kB / 463.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.2464, allocations: 1.4 MB / 465 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.2466, allocations: 221.6 kB / 465.2 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.2468, allocations: 26.53 kB / 465.2 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.2472, allocations: 45.81 kB / 465.3 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.2473, allocations: 47.8 kB / 465.3 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.2473, allocations: 30.14 kB / 465.4 MB, free: 19.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003496/0.2477, allocations: 451.8 kB / 465.8 MB, free: 18.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2477, allocations: 0 / 465.8 MB, free: 18.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.2483, allocations: 324.1 kB / 466.1 MB, free: 18.77 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00313/0.2514, allocations: 2.515 MB / 468.6 MB, free: 17.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.2528, allocations: 0.9933 MB / 469.6 MB, free: 16.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2528, allocations: 1.125 kB / 469.6 MB, free: 16.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.2535, allocations: 0.4907 MB / 470.1 MB, free: 16.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.2541, allocations: 137.8 kB / 470.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008503/0.2626, allocations: 7.76 MB / 478 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.263, allocations: 1.021 MB / 479 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.2634, allocations: 130.5 kB / 479.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.2637, allocations: 402.8 kB / 479.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2638, allocations: 0 / 479.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.2944, allocations: 19.47 MB / 499 MB, free: 2.129 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.2946, allocations: 283.8 kB / 499.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.099, allocations: 4.062 kB / 499.3 MB, free: 1.738 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/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)