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.03255/0.03255, allocations: 5.385 MB / 20.66 MB, free: 1.664 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.0006485/0.0006486, allocations: 90.98 kB / 22.64 MB, free: 436 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.0007539/0.0007539, allocations: 181.8 kB / 24.74 MB, free: 1.809 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.194/1.194, allocations: 223.3 MB / 250 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007898/0.007899, allocations: 2.317 MB / 304.6 MB, free: 3.809 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 12 kB / 369 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08034/0.08071, allocations: 52.21 MB / 421.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006099/0.08685, allocations: 6.332 MB / 427.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1446/0.2314, allocations: 3.818 MB / 431.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000453/0.2319, allocations: 22.47 kB / 431.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.2329, allocations: 447.5 kB / 431.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.2343, allocations: 0.7622 MB / 432.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2355, allocations: 497.3 kB / 433.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008679/0.2364, allocations: 1.309 MB / 434.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.2381, allocations: 1.421 MB / 435.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.2385, allocations: 460.3 kB / 436.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.239, allocations: 0.5839 MB / 436.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-05/0.2391, allocations: 58.38 kB / 436.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005408/0.2397, allocations: 347.9 kB / 437.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.2398, allocations: 228 kB / 437.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.2401, allocations: 0.562 MB / 438 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2412, allocations: 1.674 MB / 439.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2412, allocations: 0 / 439.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2412, allocations: 4 kB / 439.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.2412, allocations: 0 / 439.7 MB, free: 32.82 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.002927/0.2442, allocations: 1.578 MB / 441.3 MB, free: 31.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2442, allocations: 10.94 kB / 441.3 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.2443, allocations: 160.2 kB / 441.4 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.2462, allocations: 382.9 kB / 441.8 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.2475, allocations: 0.8236 MB / 442.6 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.2476, allocations: 84.45 kB / 442.7 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.2477, allocations: 108.7 kB / 442.8 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.2494, allocations: 1.176 MB / 444 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.2494, allocations: 3.312 kB / 444 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/0.2495, allocations: 47.41 kB / 444 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.2495, allocations: 26.38 kB / 444.1 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.2512, allocations: 1.079 MB / 445.1 MB, free: 31.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/0.2558, allocations: 4.388 MB / 449.5 MB, free: 29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.2579, allocations: 1.751 MB / 451.3 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.2584, allocations: 331.3 kB / 451.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.534e-05/0.2585, allocations: 101.8 kB / 451.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006568/0.2592, allocations: 468 kB / 452.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.395e-06/0.2592, allocations: 7.094 kB / 452.2 MB, free: 27.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005003/0.2642, allocations: 1.632 MB / 453.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.2642, allocations: 220.1 kB / 454 MB, free: 26.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.2649, allocations: 0.6498 MB / 454.7 MB, free: 26.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.2649, allocations: 43.58 kB / 454.7 MB, free: 25.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.2651, allocations: 0.5242 MB / 455.2 MB, free: 25.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.2653, allocations: 235 kB / 455.5 MB, free: 25.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.2654, allocations: 84.31 kB / 455.5 MB, free: 25.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.2654, allocations: 393.8 kB / 455.9 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.266, allocations: 305.9 kB / 456.2 MB, free: 24.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.2666, allocations: 0.5367 MB / 456.8 MB, free: 24.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.2677, allocations: 0.9416 MB / 457.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.2677, allocations: 2.906 kB / 457.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001838/0.2696, allocations: 1.118 MB / 458.8 MB, free: 23.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.2696, allocations: 68.3 kB / 458.9 MB, free: 23.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2697, allocations: 6.344 kB / 458.9 MB, free: 23.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.2701, allocations: 92.55 kB / 459 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/0.2708, allocations: 216.1 kB / 459.2 MB, free: 23.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009804/0.2718, allocations: 1.479 MB / 460.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.2725, allocations: 112.9 kB / 460.8 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.2726, allocations: 46.55 kB / 460.8 MB, free: 21.7 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.0003719/0.2729, allocations: 337.8 kB / 461.2 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.273, allocations: 81.75 kB / 461.2 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.2747, allocations: 1.032 MB / 462.3 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2747, allocations: 5.969 kB / 462.3 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.2748, allocations: 3 kB / 462.3 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2748, allocations: 3.281 kB / 462.3 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.2798, allocations: 2.339 MB / 464.6 MB, free: 19.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2798, allocations: 0 / 464.6 MB, free: 19.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.2801, allocations: 99.89 kB / 464.7 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000696/0.2808, allocations: 339.7 kB / 465.1 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.2809, allocations: 27.19 kB / 465.1 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.2819, allocations: 0.9006 MB / 466 MB, free: 19.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2819, allocations: 3.938 kB / 466 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.284, allocations: 1.416 MB / 467.4 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.2843, allocations: 235.9 kB / 467.6 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.2844, allocations: 32.86 kB / 467.7 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.2849, allocations: 56.33 kB / 467.7 MB, free: 18.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.285, allocations: 44.69 kB / 467.8 MB, free: 18.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.2851, allocations: 34.02 kB / 467.8 MB, free: 18.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000455/0.2855, allocations: 451.9 kB / 468.2 MB, free: 18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2855, allocations: 0 / 468.2 MB, free: 18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008457/0.2864, allocations: 319.1 kB / 468.6 MB, free: 17.91 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.003411/0.2898, allocations: 2.52 MB / 471.1 MB, free: 16.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2913, allocations: 0.9961 MB / 472.1 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2913, allocations: 0 / 472.1 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007017/0.292, allocations: 0.4976 MB / 472.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.2929, allocations: 146.9 kB / 472.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009827/0.3027, allocations: 7.865 MB / 480.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3032, allocations: 1.026 MB / 481.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.3037, allocations: 129.5 kB / 481.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.3041, allocations: 395.2 kB / 482.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3041, allocations: 0 / 482.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/0.4935, allocations: 19.08 MB / 0.4894 GB, free: 1.582 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.4937, allocations: 281.4 kB / 0.4897 GB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.542, allocations: 64 / 0.4897 GB, free: 1.203 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)