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.02662/0.02662, allocations: 5.389 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.0008319/0.0008318, allocations: 100.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.0009495/0.0009494, allocations: 194.1 kB / 24.7 MB, free: 0.6719 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.307/1.307, allocations: 222.9 MB / 249.6 MB, free: 6.984 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009093/0.009093, allocations: 2.324 MB / 303.2 MB, free: 6.484 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001609/0.00161, allocations: 91.8 kB / 366.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2181, allocations: 51.21 MB / 417.9 MB, free: 26.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.005933/0.2241, allocations: 6.827 MB / 424.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005957/0.2301, allocations: 3.865 MB / 428.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.2314, allocations: 23.94 kB / 428.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.2343, allocations: 1.07 MB / 429.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.2369, allocations: 0.7698 MB / 430.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.2389, allocations: 0.4975 MB / 431 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.2408, allocations: 1.394 MB / 432.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.2424, allocations: 1.091 MB / 433.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007455/0.2431, allocations: 0.5604 MB / 434 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.2438, allocations: 0.6887 MB / 434.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.244, allocations: 144 kB / 434.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009124/0.2449, allocations: 435.6 kB / 435.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.2451, allocations: 310.9 kB / 435.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.2456, allocations: 0.6491 MB / 436.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.2475, allocations: 1.76 MB / 438 MB, free: 6.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2475, allocations: 0 / 438 MB, free: 6.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2475, allocations: 0 / 438 MB, free: 6.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.2476, allocations: 0 / 438 MB, free: 6.539 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.00456/0.2521, allocations: 1.817 MB / 439.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.2522, allocations: 12.03 kB / 439.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.2524, allocations: 160.9 kB / 440 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.2545, allocations: 383.1 kB / 440.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.2564, allocations: 0.8125 MB / 441.2 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.2564, allocations: 78.08 kB / 441.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.2566, allocations: 116 kB / 441.4 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.2585, allocations: 1.165 MB / 442.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.2586, allocations: 0 / 442.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/0.2587, allocations: 48 kB / 442.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.2587, allocations: 28 kB / 442.6 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.2606, allocations: 1.066 MB / 443.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007391/0.268, allocations: 4.392 MB / 448.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.271, allocations: 1.739 MB / 449.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.2717, allocations: 326.3 kB / 450.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.2719, allocations: 97.67 kB / 450.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009266/0.2728, allocations: 469.6 kB / 450.7 MB, free: 9.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 3.366e-06/0.2728, allocations: 4 kB / 450.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.006249/0.2791, allocations: 1.588 MB / 452.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.2793, allocations: 222.2 kB / 452.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.2804, allocations: 0.6601 MB / 453.1 MB, free: 6.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.2804, allocations: 41.7 kB / 453.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/0.281, allocations: 0.5141 MB / 453.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.2812, allocations: 244.7 kB / 453.9 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.2815, allocations: 186.5 kB / 454.1 MB, free: 5.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.2818, allocations: 382.8 kB / 454.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/0.2825, allocations: 297.8 kB / 454.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008438/0.2833, allocations: 0.5387 MB / 455.3 MB, free: 4.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.285, allocations: 0.936 MB / 456.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.2851, allocations: 4 kB / 456.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002978/0.288, allocations: 1.114 MB / 457.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.2881, allocations: 63.41 kB / 457.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.2882, allocations: 8 kB / 457.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.2887, allocations: 93 kB / 457.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.2897, allocations: 219.6 kB / 457.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.2915, allocations: 1.582 MB / 459.3 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.2925, allocations: 115.1 kB / 459.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.2926, allocations: 39.98 kB / 459.5 MB, free: 15.87 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.0006588/0.2932, allocations: 339.2 kB / 459.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.2934, allocations: 83.05 kB / 459.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.2957, allocations: 1.01 MB / 460.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2957, allocations: 4 kB / 460.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2958, allocations: 4 kB / 460.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2958, allocations: 7.984 kB / 460.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/0.3023, allocations: 2.31 MB / 463.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3024, allocations: 0 / 463.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.3028, allocations: 103.9 kB / 463.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008883/0.3037, allocations: 326.3 kB / 463.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-05/0.3038, allocations: 23.98 kB / 463.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.3052, allocations: 0.909 MB / 464.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3053, allocations: 0 / 464.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.3082, allocations: 1.397 MB / 466 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.3086, allocations: 231.9 kB / 466.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.3088, allocations: 20 kB / 466.2 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.3094, allocations: 51.95 kB / 466.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3095, allocations: 36.52 kB / 466.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/0.3096, allocations: 35.97 kB / 466.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006293/0.3102, allocations: 451 kB / 466.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3102, allocations: 0 / 466.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001138/0.3113, allocations: 326.9 kB / 467.1 MB, free: 8.004 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.004587/0.3159, allocations: 2.51 MB / 469.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.3187, allocations: 1.014 MB / 470.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3187, allocations: 0 / 470.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009586/0.3197, allocations: 0.4914 MB / 471.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3207, allocations: 158.1 kB / 471.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.3339, allocations: 7.75 MB / 479 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.3346, allocations: 1.018 MB / 480 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006069/0.3353, allocations: 134.4 kB / 480.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.3358, allocations: 403.3 kB / 480.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of SimCode: time 1.783e-06/0.3358, allocations: 0 / 480.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3833/0.7191, allocations: 20.04 MB / 0.4889 GB, free: 6.488 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.7194, allocations: 283 kB / 0.4891 GB, free: 6.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.098, allocations: 3.938 kB / 0.4891 GB, free: 6.102 MB / 366.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)