Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_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.04362/0.04362, allocations: 5.385 MB / 20.62 MB, free: 2.02 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.0009834/0.0009835, allocations: 108.1 kB / 22.61 MB, free: 396 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.001169/0.001169, allocations: 201 kB / 24.71 MB, free: 1.707 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.325/1.325, allocations: 222.9 MB / 249.6 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008614/0.008614, allocations: 2.317 MB / 303.2 MB, free: 3.793 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 91.86 kB / 366.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08852, allocations: 51.21 MB / 417.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.007586/0.09614, allocations: 6.846 MB / 424.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1651/0.2612, allocations: 3.948 MB / 428.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2623, allocations: 24.16 kB / 428.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.2651, allocations: 1.092 MB / 429.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.2668, allocations: 0.7783 MB / 430.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2684, allocations: 0.5453 MB / 431.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.2698, allocations: 1.41 MB / 432.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.2711, allocations: 1.082 MB / 433.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.2717, allocations: 0.5684 MB / 434.2 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008412/0.2726, allocations: 0.6859 MB / 434.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.2727, allocations: 139.6 kB / 435 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007108/0.2735, allocations: 440.8 kB / 435.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2736, allocations: 295.6 kB / 435.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.2741, allocations: 0.6356 MB / 436.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.2753, allocations: 1.736 MB / 438.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2754, allocations: 0 / 438.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2754, allocations: 0 / 438.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2754, allocations: 0 / 438.1 MB, free: 34.7 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003529/0.2789, allocations: 1.804 MB / 439.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.279, allocations: 13.33 kB / 440 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.2791, allocations: 156.3 kB / 440.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.2811, allocations: 374.6 kB / 440.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.2826, allocations: 0.7996 MB / 441.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.2827, allocations: 78.56 kB / 441.3 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.2828, allocations: 104.5 kB / 441.4 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.2845, allocations: 1.142 MB / 442.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.2845, allocations: 0 / 442.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.2846, allocations: 45.22 kB / 442.6 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.2847, allocations: 22.53 kB / 442.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.2863, allocations: 0.9546 MB / 443.6 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.2911, allocations: 4.336 MB / 447.9 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.2931, allocations: 1.668 MB / 449.6 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.2938, allocations: 314.4 kB / 449.9 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.2938, allocations: 101.5 kB / 450 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007772/0.2946, allocations: 469.7 kB / 450.5 MB, free: 27.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.585e-06/0.2946, allocations: 4 kB / 450.5 MB, free: 27.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005264/0.2999, allocations: 1.542 MB / 452 MB, free: 26.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3, allocations: 278.7 kB / 452.3 MB, free: 26.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.3006, allocations: 0.665 MB / 453 MB, free: 26.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.3007, allocations: 36.86 kB / 453 MB, free: 26.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.3009, allocations: 0.5169 MB / 453.5 MB, free: 25.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.301, allocations: 218.9 kB / 453.7 MB, free: 25.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.3013, allocations: 185.2 kB / 453.9 MB, free: 25.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.3013, allocations: 389.1 kB / 454.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.3019, allocations: 283.9 kB / 454.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.3025, allocations: 0.5414 MB / 455.1 MB, free: 24.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3037, allocations: 0.9051 MB / 456 MB, free: 23.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3037, allocations: 3.312 kB / 456 MB, free: 23.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001825/0.3055, allocations: 1.076 MB / 457.1 MB, free: 23.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.3056, allocations: 61.06 kB / 457.2 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3056, allocations: 6.375 kB / 457.2 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.306, allocations: 88.23 kB / 457.2 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.3068, allocations: 219.7 kB / 457.5 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.308, allocations: 1.582 MB / 459 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.3087, allocations: 112.8 kB / 459.2 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.3088, allocations: 44.95 kB / 459.2 MB, free: 21.8 MB / 350.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.0003639/0.3092, allocations: 341.2 kB / 459.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3093, allocations: 83.16 kB / 459.6 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.311, allocations: 0.9156 MB / 460.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.311, allocations: 6.5 kB / 460.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.311, allocations: 0 / 460.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.311, allocations: 9.828 kB / 460.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.3164, allocations: 2.214 MB / 462.8 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3164, allocations: 3.156 kB / 462.8 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.3167, allocations: 93.12 kB / 462.8 MB, free: 20.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000719/0.3174, allocations: 325.8 kB / 463.2 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.3175, allocations: 27.73 kB / 463.2 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.3186, allocations: 0.8844 MB / 464.1 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3186, allocations: 0 / 464.1 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/0.3234, allocations: 1.638 MB / 465.7 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.3237, allocations: 212.8 kB / 465.9 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.3238, allocations: 28.73 kB / 466 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.3244, allocations: 50.69 kB / 466 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3245, allocations: 35.89 kB / 466 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.3245, allocations: 33.27 kB / 466.1 MB, free: 18.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004584/0.325, allocations: 465.3 kB / 466.5 MB, free: 18.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.325, allocations: 0 / 466.5 MB, free: 18.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008546/0.3259, allocations: 320.6 kB / 466.8 MB, free: 18.07 MB / 350.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.006214/0.3321, allocations: 2.746 MB / 469.6 MB, free: 16.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.3341, allocations: 0.9841 MB / 470.6 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3341, allocations: 0 / 470.6 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.3349, allocations: 489.4 kB / 471 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.3358, allocations: 167.5 kB / 471.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.3463, allocations: 7.685 MB / 478.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3468, allocations: 1.006 MB / 479.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005242/0.3473, allocations: 124 kB / 480 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.3477, allocations: 393.1 kB / 480.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3477, allocations: 3.938 kB / 480.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.3942, allocations: 20.14 MB / 0.4888 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.3943, allocations: 280.2 kB / 0.4891 GB, free: 228 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.611, allocations: 0 / 0.4891 GB, free: 228 kB / 350.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)