Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",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.04451/0.04451, allocations: 5.395 MB / 20.89 MB, free: 1.406 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.006802/0.006802, allocations: 99.31 kB / 22.88 MB, free: 0.7812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 194.8 kB / 25 MB, free: 276 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 249.9 MB, free: 8.547 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009336/0.009336, allocations: 2.313 MB / 303.5 MB, free: 6.566 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001853, allocations: 95.84 kB / 367.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1789, allocations: 51.22 MB / 418.5 MB, free: 26.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.005942/0.1849, allocations: 6.878 MB / 425.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1894, allocations: 4.021 MB / 429.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.19, allocations: 19.94 kB / 429.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.1921, allocations: 1.173 MB / 430.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.1935, allocations: 0.874 MB / 431.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1949, allocations: 0.6159 MB / 432.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008661/0.1958, allocations: 1.394 MB / 433.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009968/0.1968, allocations: 1.025 MB / 434.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.1972, allocations: 0.5603 MB / 435 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005922/0.1978, allocations: 0.6885 MB / 435.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.198, allocations: 140 kB / 435.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.1986, allocations: 431.7 kB / 436.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.1988, allocations: 299 kB / 436.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.1991, allocations: 0.6336 MB / 437.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.2003, allocations: 1.741 MB / 439 MB, free: 5.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2003, allocations: 0 / 439 MB, free: 5.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2003, allocations: 0 / 439 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.2004, allocations: 0 / 439 MB, free: 5.828 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003554/0.2039, allocations: 1.806 MB / 440.8 MB, free: 3.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.204, allocations: 12.03 kB / 440.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.2041, allocations: 152.6 kB / 440.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.2062, allocations: 379.2 kB / 441.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.2077, allocations: 0.7968 MB / 442.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.2077, allocations: 86 kB / 442.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2078, allocations: 107.9 kB / 442.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2094, allocations: 1.126 MB / 443.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.2095, allocations: 0 / 443.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.2096, allocations: 44 kB / 443.5 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.2096, allocations: 24 kB / 443.5 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.2112, allocations: 0.9554 MB / 444.4 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.2169, allocations: 4.346 MB / 448.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.2195, allocations: 1.666 MB / 450.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.2201, allocations: 316 kB / 450.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/0.2202, allocations: 97.42 kB / 450.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008054/0.221, allocations: 458.7 kB / 451.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.2211, allocations: 0 / 451.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005895/0.227, allocations: 1.545 MB / 452.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.2271, allocations: 273.6 kB / 453.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.2279, allocations: 0.6643 MB / 453.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.228, allocations: 41.7 kB / 453.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.2283, allocations: 0.514 MB / 454.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.2285, allocations: 217.1 kB / 454.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.2287, allocations: 182.4 kB / 454.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2289, allocations: 394.8 kB / 455.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000652/0.2295, allocations: 277.8 kB / 455.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.2304, allocations: 0.5365 MB / 455.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.2318, allocations: 0.9254 MB / 456.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.2318, allocations: 3.938 kB / 456.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002217/0.2341, allocations: 1.063 MB / 457.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.2341, allocations: 63.69 kB / 458 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.2342, allocations: 12 kB / 458 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/0.2346, allocations: 84.78 kB / 458.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/0.2356, allocations: 223.6 kB / 458.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.2371, allocations: 1.586 MB / 459.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/0.2378, allocations: 107.2 kB / 460 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.2379, allocations: 43.98 kB / 460 MB, free: 15.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.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 (117): * Single equations (assignments): 114 * 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.0004083/0.2384, allocations: 339.5 kB / 460.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.2385, allocations: 83 kB / 460.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.2405, allocations: 0.9245 MB / 461.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.2405, allocations: 15.97 kB / 461.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2405, allocations: 0 / 461.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2405, allocations: 0 / 461.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006871/0.2474, allocations: 2.21 MB / 463.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2474, allocations: 0 / 463.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.2478, allocations: 83.91 kB / 463.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/0.2487, allocations: 334.2 kB / 464 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.2487, allocations: 23.98 kB / 464 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.2501, allocations: 0.8819 MB / 464.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.2501, allocations: 7.969 kB / 464.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.2555, allocations: 1.63 MB / 466.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.2558, allocations: 223.9 kB / 466.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.256, allocations: 23.98 kB / 466.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/0.2566, allocations: 43.97 kB / 466.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.2567, allocations: 44.38 kB / 466.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.2568, allocations: 24.05 kB / 466.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005945/0.2574, allocations: 467 kB / 467.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2574, allocations: 0 / 467.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009903/0.2584, allocations: 319 kB / 467.6 MB, free: 7.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.007114/0.2655, allocations: 2.749 MB / 470.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.2677, allocations: 0.9876 MB / 471.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2677, allocations: 0 / 471.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.2685, allocations: 489.2 kB / 471.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.2695, allocations: 174.7 kB / 472 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.2805, allocations: 7.257 MB / 479.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.281, allocations: 1.01 MB / 480.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/0.2815, allocations: 126.3 kB / 480.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.282, allocations: 395.3 kB / 480.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.282, allocations: 0 / 480.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3081/0.5901, allocations: 20.25 MB / 0.4893 GB, free: 6.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.14, allocations: 11.44 kB / 0.4893 GB, free: 6.23 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)