Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629",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.03309/0.03309, allocations: 5.39 MB / 20.62 MB, free: 2.023 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.0008345/0.0008348, allocations: 104.1 kB / 22.61 MB, free: 408 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.001074/0.001074, allocations: 195.1 kB / 24.7 MB, free: 0.6758 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.139/1.139, allocations: 222.9 MB / 249.6 MB, free: 6.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008403/0.008403, allocations: 2.32 MB / 303.2 MB, free: 6.496 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 91.84 kB / 366.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1569, allocations: 51.21 MB / 417.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.005256/0.1622, allocations: 6.819 MB / 424.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1661, allocations: 3.869 MB / 428.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.1665, allocations: 20 kB / 428.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.1683, allocations: 1.092 MB / 429.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.1696, allocations: 0.7581 MB / 430.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1707, allocations: 0.4917 MB / 431 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.1715, allocations: 1.394 MB / 432.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.1724, allocations: 1.091 MB / 433.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.1728, allocations: 0.5604 MB / 434 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.1733, allocations: 0.7003 MB / 434.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1734, allocations: 144 kB / 434.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.174, allocations: 439.7 kB / 435.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.1741, allocations: 310.9 kB / 435.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.1744, allocations: 0.6375 MB / 436.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1755, allocations: 1.776 MB / 438 MB, free: 6.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1755, allocations: 0 / 438 MB, free: 6.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1755, allocations: 0 / 438 MB, free: 6.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1755, allocations: 0 / 438 MB, free: 6.395 MB / 302.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.003102/0.1786, allocations: 1.81 MB / 439.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1787, allocations: 12.03 kB / 439.8 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.1788, allocations: 156.9 kB / 440 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.1806, allocations: 383.1 kB / 440.4 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.182, allocations: 0.8125 MB / 441.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.182, allocations: 86.08 kB / 441.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1821, allocations: 104 kB / 441.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.1837, allocations: 1.176 MB / 442.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.1837, allocations: 0 / 442.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.1838, allocations: 44 kB / 442.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1838, allocations: 28 kB / 442.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.1854, allocations: 1.07 MB / 443.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00507/0.1905, allocations: 4.376 MB / 448 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.1928, allocations: 1.747 MB / 449.8 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.1934, allocations: 321.1 kB / 450.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.471e-05/0.1935, allocations: 101.6 kB / 450.2 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007282/0.1942, allocations: 473.6 kB / 450.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.204e-06/0.1942, allocations: 4 kB / 450.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005267/0.1995, allocations: 1.592 MB / 452.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.1996, allocations: 222.2 kB / 452.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.2002, allocations: 0.6524 MB / 453.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.2003, allocations: 45.64 kB / 453.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.2006, allocations: 0.5219 MB / 453.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.2007, allocations: 236.7 kB / 453.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.201, allocations: 182.5 kB / 454.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2011, allocations: 386.7 kB / 454.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008208/0.202, allocations: 305.8 kB / 454.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.2027, allocations: 0.5348 MB / 455.3 MB, free: 4.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.204, allocations: 0.9321 MB / 456.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.204, allocations: 4 kB / 456.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00197/0.2059, allocations: 1.114 MB / 457.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.206, allocations: 67.39 kB / 457.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.206, allocations: 4 kB / 457.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.2065, allocations: 93 kB / 457.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/0.2073, allocations: 219.6 kB / 457.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.2085, allocations: 1.578 MB / 459.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.2092, allocations: 111.1 kB / 459.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.2093, allocations: 47.97 kB / 459.5 MB, free: 15.73 MB / 334.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.0003749/0.2097, allocations: 347.1 kB / 459.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2098, allocations: 79.06 kB / 459.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.2117, allocations: 1.007 MB / 460.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2117, allocations: 8 kB / 460.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2117, allocations: 0 / 460.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.2117, allocations: 7.984 kB / 460.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/0.2173, allocations: 2.306 MB / 463.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2173, allocations: 4 kB / 463.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.2177, allocations: 99.92 kB / 463.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007464/0.2184, allocations: 330.2 kB / 463.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.2185, allocations: 27.97 kB / 463.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.2196, allocations: 0.8974 MB / 464.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2196, allocations: 0 / 464.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.222, allocations: 1.397 MB / 466 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.2223, allocations: 228 kB / 466.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.2224, allocations: 23.94 kB / 466.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.223, allocations: 47.97 kB / 466.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.223, allocations: 48.44 kB / 466.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.2231, allocations: 35.91 kB / 466.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004743/0.2236, allocations: 451 kB / 466.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2236, allocations: 0 / 466.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008118/0.2244, allocations: 323 kB / 467.1 MB, free: 7.871 MB / 334.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.003749/0.2282, allocations: 2.513 MB / 469.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.2301, allocations: 1.01 MB / 470.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2301, allocations: 0 / 470.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007453/0.2308, allocations: 0.4992 MB / 471.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.2316, allocations: 150.9 kB / 471.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.2416, allocations: 7.758 MB / 479 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.2422, allocations: 1.018 MB / 480 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004718/0.2426, allocations: 130.4 kB / 480.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.2431, allocations: 399.3 kB / 480.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2431, allocations: 0 / 480.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8005/1.044, allocations: 20.03 MB / 0.4889 GB, free: 6.355 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.044, allocations: 286 kB / 0.4891 GB, free: 5.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.525, allocations: 3.938 kB / 0.4891 GB, free: 5.969 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)