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.03657/0.03657, allocations: 5.388 MB / 20.51 MB, free: 2.109 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.0007231/0.0007231, allocations: 112.1 kB / 22.5 MB, free: 492 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.0008039/0.000804, allocations: 194.4 kB / 24.6 MB, free: 0.7148 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.055/1.055, allocations: 222.9 MB / 249.4 MB, free: 7.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007951/0.007951, allocations: 2.326 MB / 303.1 MB, free: 6.582 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 95.86 kB / 366.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1467, allocations: 51.2 MB / 417.7 MB, free: 26.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.004995/0.1517, allocations: 6.829 MB / 424.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003912/0.1557, allocations: 3.889 MB / 428.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.1563, allocations: 19.94 kB / 428.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.1582, allocations: 1.077 MB / 429.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.1595, allocations: 0.7737 MB / 430.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1606, allocations: 0.5052 MB / 430.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.1613, allocations: 1.304 MB / 432.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/0.1621, allocations: 0.8552 MB / 433 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1624, allocations: 0.4979 MB / 433.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.1629, allocations: 0.6496 MB / 434.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.163, allocations: 84 kB / 434.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.1634, allocations: 371.6 kB / 434.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1636, allocations: 262.9 kB / 434.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.1639, allocations: 0.5789 MB / 435.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008559/0.1647, allocations: 1.725 MB / 437.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1648, allocations: 0 / 437.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.1648, allocations: 0 / 437.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1648, allocations: 0 / 437.1 MB, free: 7.145 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.00288/0.1677, allocations: 1.81 MB / 438.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.1677, allocations: 8.031 kB / 439 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.1678, allocations: 160.9 kB / 439.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.1695, allocations: 387 kB / 439.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.1708, allocations: 0.8126 MB / 440.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.1708, allocations: 82.08 kB / 440.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1709, allocations: 107.9 kB / 440.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1724, allocations: 1.173 MB / 441.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1724, allocations: 0 / 441.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.1725, allocations: 44 kB / 441.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1725, allocations: 24 kB / 441.7 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.1741, allocations: 1.07 MB / 442.8 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.1788, allocations: 4.392 MB / 447.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.181, allocations: 1.743 MB / 448.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.1816, allocations: 331.2 kB / 449.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.1816, allocations: 97.64 kB / 449.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007107/0.1824, allocations: 469.6 kB / 449.8 MB, free: 9.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 1.714e-06/0.1824, allocations: 4 kB / 449.8 MB, free: 9.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005192/0.1876, allocations: 1.588 MB / 451.4 MB, free: 8.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.1877, allocations: 218.2 kB / 451.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.1883, allocations: 0.6601 MB / 452.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.1884, allocations: 41.7 kB / 452.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.1887, allocations: 0.5181 MB / 452.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.1888, allocations: 240.7 kB / 453.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.1891, allocations: 186.5 kB / 453.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1892, allocations: 382.8 kB / 453.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.1898, allocations: 301.8 kB / 453.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.1905, allocations: 0.5309 MB / 454.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.1917, allocations: 0.936 MB / 455.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1918, allocations: 7.938 kB / 455.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001896/0.1937, allocations: 1.114 MB / 456.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.1937, allocations: 63.67 kB / 456.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1937, allocations: 12 kB / 456.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.1942, allocations: 88.72 kB / 456.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.1949, allocations: 215.7 kB / 456.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.1961, allocations: 1.472 MB / 458.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.1967, allocations: 111 kB / 458.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.1968, allocations: 43.98 kB / 458.5 MB, free: 0.5938 MB / 318.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.0003473/0.1971, allocations: 351.2 kB / 458.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1973, allocations: 83 kB / 458.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.1991, allocations: 1.003 MB / 459.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1991, allocations: 4 kB / 459.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1991, allocations: 8 kB / 459.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1991, allocations: 3.984 kB / 459.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.2044, allocations: 2.313 MB / 462.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2044, allocations: 0 / 462.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.2048, allocations: 103.8 kB / 462.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.2055, allocations: 326.3 kB / 462.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.2055, allocations: 27.97 kB / 462.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.2067, allocations: 0.8974 MB / 463.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2067, allocations: 0 / 463.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.209, allocations: 1.397 MB / 465 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.2092, allocations: 227.9 kB / 465.2 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.2093, allocations: 24 kB / 465.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.2098, allocations: 47.95 kB / 465.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.2099, allocations: 36.52 kB / 465.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.21, allocations: 35.97 kB / 465.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004371/0.2104, allocations: 455 kB / 465.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.262e-06/0.2104, allocations: 0 / 465.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006586/0.2111, allocations: 326.9 kB / 466.1 MB, free: 8.734 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.003649/0.2147, allocations: 2.503 MB / 468.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.2162, allocations: 0.9921 MB / 469.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2163, allocations: 0 / 469.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007146/0.217, allocations: 0.4902 MB / 470.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.2176, allocations: 143 kB / 470.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/0.2271, allocations: 7.759 MB / 478 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.2275, allocations: 1.026 MB / 479 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003974/0.2279, allocations: 134.4 kB / 479.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.2284, allocations: 403.3 kB / 479.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.2284, allocations: 0 / 479.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.2596, allocations: 19.46 MB / 499 MB, free: 7.824 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.2598, allocations: 278.9 kB / 499.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.136, allocations: 2.953 kB / 499.3 MB, free: 7.445 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)