Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_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.03239/0.03239, allocations: 5.386 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.0009213/0.0009212, 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.00108/0.00108, allocations: 193.4 kB / 24.7 MB, free: 1.699 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.334/1.334, allocations: 222.9 MB / 249.6 MB, free: 12.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008803/0.008802, allocations: 2.313 MB / 303.2 MB, free: 4.551 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 91.84 kB / 366.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09394, allocations: 51.2 MB / 417.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.00789/0.1019, allocations: 6.858 MB / 424.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.2591, allocations: 3.94 MB / 428.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.2599, allocations: 23.38 kB / 428.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.2623, allocations: 1.093 MB / 429.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.2639, allocations: 0.7817 MB / 430.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.2654, allocations: 0.5477 MB / 431.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.2665, allocations: 1.404 MB / 432.6 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2677, allocations: 1.082 MB / 433.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.2682, allocations: 0.5726 MB / 434.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.2689, allocations: 0.6851 MB / 434.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.269, allocations: 140 kB / 435 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.2697, allocations: 439.4 kB / 435.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.2698, allocations: 293.7 kB / 435.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.2703, allocations: 0.6285 MB / 436.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.2715, allocations: 1.745 MB / 438.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2715, allocations: 0 / 438.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2715, allocations: 0 / 438.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.2716, allocations: 0 / 438.1 MB, free: 33.93 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.003503/0.2751, allocations: 1.801 MB / 439.9 MB, free: 33.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2751, allocations: 12.72 kB / 440 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.2753, allocations: 155.8 kB / 440.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.2773, allocations: 376.9 kB / 440.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.2788, allocations: 0.8017 MB / 441.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.2788, allocations: 83.59 kB / 441.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.279, allocations: 98.06 kB / 441.5 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.2806, allocations: 1.14 MB / 442.6 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.2807, allocations: 0 / 442.6 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.2808, allocations: 44.44 kB / 442.6 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.2808, allocations: 25.12 kB / 442.7 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.2824, allocations: 0.953 MB / 443.6 MB, free: 31.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/0.2872, allocations: 4.339 MB / 447.9 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.2893, allocations: 1.678 MB / 449.6 MB, free: 27.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.2899, allocations: 311.2 kB / 449.9 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/0.2899, allocations: 94.27 kB / 450 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007421/0.2907, allocations: 469.8 kB / 450.5 MB, free: 27.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.2907, allocations: 0 / 450.5 MB, free: 27.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005495/0.2962, allocations: 1.548 MB / 452 MB, free: 26.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.2963, allocations: 280.6 kB / 452.3 MB, free: 26.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.2969, allocations: 0.6575 MB / 453 MB, free: 26.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.297, allocations: 40.67 kB / 453 MB, free: 26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.2973, allocations: 0.5234 MB / 453.5 MB, free: 25.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2974, allocations: 212.6 kB / 453.7 MB, free: 25.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.2976, allocations: 186.9 kB / 453.9 MB, free: 25.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.2977, allocations: 386.3 kB / 454.3 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.2983, allocations: 284.5 kB / 454.6 MB, free: 24.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.2989, allocations: 0.5334 MB / 455.1 MB, free: 24.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3001, allocations: 0.9138 MB / 456 MB, free: 23.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.3001, allocations: 3.219 kB / 456 MB, free: 23.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001978/0.3021, allocations: 1.076 MB / 457.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.3022, allocations: 64.27 kB / 457.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3022, allocations: 9.531 kB / 457.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.3026, allocations: 83.25 kB / 457.3 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.3034, allocations: 218.6 kB / 457.5 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3046, allocations: 1.584 MB / 459 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/0.3055, allocations: 116.3 kB / 459.2 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.3055, allocations: 48.66 kB / 459.2 MB, free: 21.68 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.0004118/0.306, allocations: 333.7 kB / 459.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.3061, allocations: 83.19 kB / 459.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.3078, allocations: 0.9169 MB / 460.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3078, allocations: 6.219 kB / 460.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3078, allocations: 3.188 kB / 460.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3078, allocations: 3.938 kB / 460.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.3133, allocations: 2.221 MB / 462.8 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3133, allocations: 0 / 462.8 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.3136, allocations: 83.41 kB / 462.8 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007435/0.3144, allocations: 332.1 kB / 463.2 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.3144, allocations: 24.11 kB / 463.2 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.3155, allocations: 0.8897 MB / 464.1 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3155, allocations: 0.8438 kB / 464.1 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/0.3204, allocations: 1.635 MB / 465.7 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.3206, allocations: 212 kB / 465.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.3208, allocations: 26.06 kB / 466 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.3213, allocations: 55.75 kB / 466 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.3214, allocations: 40.17 kB / 466 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.3215, allocations: 30.12 kB / 466.1 MB, free: 18.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004439/0.3219, allocations: 462.9 kB / 466.5 MB, free: 18.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3219, allocations: 0 / 466.5 MB, free: 18.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008146/0.3228, allocations: 323.2 kB / 466.8 MB, free: 17.97 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.006321/0.3291, allocations: 2.74 MB / 469.6 MB, free: 16.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.331, allocations: 0.9833 MB / 470.6 MB, free: 16.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.331, allocations: 0 / 470.6 MB, free: 16.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.3318, allocations: 489.5 kB / 471 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.3327, allocations: 175.7 kB / 471.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009968/0.3427, allocations: 7.681 MB / 478.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.3431, allocations: 1.009 MB / 479.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005056/0.3436, allocations: 123.8 kB / 480 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.344, allocations: 387.7 kB / 480.4 MB, free: 10 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.344, allocations: 0 / 480.4 MB, free: 10 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.3822, allocations: 20.14 MB / 0.4888 GB, free: 0.6523 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.3824, allocations: 280.2 kB / 0.4891 GB, free: 276 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.643, allocations: 3.938 kB / 0.4891 GB, free: 272 kB / 350.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)