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/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_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/PhotoVoltaics 2.0.0/package.mo): time 0.03679/0.03679, 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.0007316/0.0007316, 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.0008068/0.0008068, allocations: 188.9 kB / 24.58 MB, free: 1.777 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.094/1.094, allocations: 222.9 MB / 249.4 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007537/0.007533, allocations: 2.319 MB / 303.1 MB, free: 3.734 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 91.84 kB / 366.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07078/0.07221, allocations: 51.2 MB / 417.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.006246/0.07849, allocations: 6.827 MB / 424.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1228/0.2013, allocations: 3.883 MB / 428.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.2019, allocations: 20.25 kB / 428.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.2037, allocations: 1.075 MB / 429.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.2048, allocations: 0.7704 MB / 430.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2059, allocations: 0.4904 MB / 430.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006873/0.2066, allocations: 1.313 MB / 432.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/0.2074, allocations: 0.8588 MB / 433 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.2078, allocations: 0.4979 MB / 433.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.2083, allocations: 0.6483 MB / 434.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.2084, allocations: 85.91 kB / 434.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.2088, allocations: 372.1 kB / 434.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.209, allocations: 262.4 kB / 434.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.2093, allocations: 0.5801 MB / 435.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008843/0.2102, allocations: 1.721 MB / 437.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2102, allocations: 4.844 kB / 437.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.2102, allocations: 0 / 437.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.2102, allocations: 4 kB / 437.1 MB, free: 34.66 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.002918/0.2131, allocations: 1.803 MB / 438.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.2132, allocations: 9.719 kB / 438.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.2133, allocations: 164.8 kB / 439.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.2151, allocations: 373.2 kB / 439.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.2164, allocations: 0.8273 MB / 440.3 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.2164, allocations: 85.39 kB / 440.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2165, allocations: 107.6 kB / 440.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.218, allocations: 1.169 MB / 441.6 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.2181, allocations: 7.406 kB / 441.7 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.2181, allocations: 42.28 kB / 441.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2182, allocations: 26.84 kB / 441.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.2197, allocations: 1.073 MB / 442.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.2238, allocations: 4.381 MB / 447.2 MB, free: 29.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.2256, allocations: 1.736 MB / 448.9 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.2261, allocations: 330.4 kB / 449.2 MB, free: 28.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.2262, allocations: 97.05 kB / 449.3 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.2268, allocations: 463.6 kB / 449.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.244e-06/0.2268, allocations: 0 / 449.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004768/0.2316, allocations: 1.588 MB / 451.4 MB, free: 27.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2316, allocations: 223.1 kB / 451.6 MB, free: 27.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.2321, allocations: 0.6479 MB / 452.2 MB, free: 26.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2322, allocations: 47.77 kB / 452.3 MB, free: 26.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2323, allocations: 0.5196 MB / 452.8 MB, free: 26.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.2324, allocations: 237.5 kB / 453 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.2326, allocations: 184.1 kB / 453.2 MB, free: 26.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.2327, allocations: 390.6 kB / 453.6 MB, free: 25.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.2332, allocations: 300.2 kB / 453.9 MB, free: 25.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.2338, allocations: 0.5349 MB / 454.4 MB, free: 25.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2348, allocations: 0.9387 MB / 455.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2349, allocations: 3.188 kB / 455.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001641/0.2365, allocations: 1.109 MB / 456.5 MB, free: 24.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.2365, allocations: 75.36 kB / 456.5 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2366, allocations: 7.031 kB / 456.6 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.237, allocations: 81.77 kB / 456.6 MB, free: 24.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.2377, allocations: 228.3 kB / 456.9 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000917/0.2386, allocations: 1.47 MB / 458.3 MB, free: 22.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.2392, allocations: 116 kB / 458.4 MB, free: 22.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.2392, allocations: 47.53 kB / 458.5 MB, free: 22.51 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.0002771/0.2395, allocations: 342.8 kB / 458.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2396, allocations: 80.44 kB / 458.9 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.2412, allocations: 1.01 MB / 459.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2412, allocations: 6.094 kB / 459.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2412, allocations: 0 / 459.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2413, allocations: 3.375 kB / 459.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.246, allocations: 2.318 MB / 462.2 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2461, allocations: 3.094 kB / 462.2 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.2464, allocations: 94.53 kB / 462.3 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006341/0.247, allocations: 333.6 kB / 462.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.2471, allocations: 31.52 kB / 462.7 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000938/0.248, allocations: 0.8926 MB / 463.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.248, allocations: 0 / 463.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.25, allocations: 1.401 MB / 465 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.2502, allocations: 224.5 kB / 465.2 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.2503, allocations: 25.5 kB / 465.2 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.2508, allocations: 52.2 kB / 465.3 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.2509, allocations: 37.22 kB / 465.3 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.2509, allocations: 33.89 kB / 465.3 MB, free: 19.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003569/0.2513, allocations: 451 kB / 465.8 MB, free: 18.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2513, allocations: 0 / 465.8 MB, free: 18.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006117/0.2519, allocations: 323.2 kB / 466.1 MB, free: 18.74 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.003203/0.2551, allocations: 2.517 MB / 468.6 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.2565, allocations: 0.987 MB / 469.6 MB, free: 16.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2565, allocations: 5.562 kB / 469.6 MB, free: 16.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006881/0.2572, allocations: 0.4908 MB / 470.1 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.2579, allocations: 145.4 kB / 470.2 MB, free: 16.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/0.2664, allocations: 7.757 MB / 478 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.2668, allocations: 1.021 MB / 479 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.2672, allocations: 131.3 kB / 479.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.2676, allocations: 397.1 kB / 479.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2676, allocations: 1.469 kB / 479.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.3093, allocations: 19.47 MB / 499 MB, free: 2.145 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.3095, allocations: 279.9 kB / 499.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.325, allocations: 0 / 499.3 MB, free: 1.762 MB / 350.1 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/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)