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.02894/0.02894, allocations: 5.389 MB / 20.62 MB, free: 2.027 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.0009195/0.0009196, allocations: 104.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.001117/0.001117, allocations: 192 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.322/1.322, allocations: 222.9 MB / 249.6 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009563/0.009564, allocations: 2.323 MB / 303.2 MB, free: 3.797 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 95.86 kB / 366.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1159, allocations: 51.2 MB / 417.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.01194/0.1279, allocations: 6.827 MB / 424.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2032/0.3311, allocations: 3.854 MB / 428.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.3323, allocations: 23.34 kB / 428.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.335, allocations: 1.074 MB / 429.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.3372, allocations: 0.761 MB / 430.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.3389, allocations: 0.4937 MB / 431 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3405, allocations: 1.408 MB / 432.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.3418, allocations: 1.089 MB / 433.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006566/0.3425, allocations: 0.5638 MB / 434 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006821/0.3432, allocations: 0.6843 MB / 434.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.3433, allocations: 140.1 kB / 434.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008171/0.3442, allocations: 442.3 kB / 435.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.3444, allocations: 313.7 kB / 435.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.3449, allocations: 0.6449 MB / 436.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.3463, allocations: 1.766 MB / 438 MB, free: 34.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3464, allocations: 0 / 438 MB, free: 34.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3464, allocations: 3.375 kB / 438 MB, free: 34.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3464, allocations: 4 kB / 438 MB, free: 34.75 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.00368/0.3501, allocations: 1.814 MB / 439.8 MB, free: 33.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3501, allocations: 9.25 kB / 439.8 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.3503, allocations: 157.3 kB / 440 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.3523, allocations: 376.8 kB / 440.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.354, allocations: 0.8211 MB / 441.2 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.354, allocations: 87.17 kB / 441.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3542, allocations: 102.2 kB / 441.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.356, allocations: 1.174 MB / 442.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.356, allocations: 2.969 kB / 442.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/0.3561, allocations: 45.02 kB / 442.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.3562, allocations: 28.12 kB / 442.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.3579, allocations: 1.074 MB / 443.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.3632, allocations: 4.372 MB / 448 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.3654, allocations: 1.747 MB / 449.8 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.366, allocations: 323 kB / 450.1 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.713e-05/0.3661, allocations: 96.14 kB / 450.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007675/0.3668, allocations: 462 kB / 450.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 3.337e-06/0.3669, allocations: 3.094 kB / 450.7 MB, free: 27.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005574/0.3724, allocations: 1.598 MB / 452.2 MB, free: 26.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.3725, allocations: 222.4 kB / 452.5 MB, free: 26.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/0.3733, allocations: 0.646 MB / 453.1 MB, free: 26.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.3733, allocations: 47.45 kB / 453.2 MB, free: 26.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.3736, allocations: 0.5185 MB / 453.7 MB, free: 25.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3738, allocations: 236.7 kB / 453.9 MB, free: 25.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.374, allocations: 186.9 kB / 454.1 MB, free: 25.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.3741, allocations: 393.2 kB / 454.5 MB, free: 25.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.3747, allocations: 299.5 kB / 454.8 MB, free: 25.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.3754, allocations: 0.5352 MB / 455.3 MB, free: 24.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.3766, allocations: 0.9358 MB / 456.2 MB, free: 24.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3766, allocations: 2.938 kB / 456.2 MB, free: 24.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001902/0.3785, allocations: 1.113 MB / 457.4 MB, free: 23.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.3786, allocations: 72.94 kB / 457.4 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3786, allocations: 6.344 kB / 457.4 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.379, allocations: 79.17 kB / 457.5 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.3799, allocations: 226.8 kB / 457.7 MB, free: 23.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.3811, allocations: 1.583 MB / 459.3 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.3818, allocations: 112 kB / 459.4 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.3819, allocations: 45.03 kB / 459.5 MB, free: 21.98 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.0004221/0.3823, allocations: 340.4 kB / 459.8 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3825, allocations: 81.41 kB / 459.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.3843, allocations: 1.014 MB / 460.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3843, allocations: 6.375 kB / 460.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3843, allocations: 0 / 460.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3843, allocations: 3.516 kB / 460.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.3899, allocations: 2.311 MB / 463.2 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3899, allocations: 3.188 kB / 463.2 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.3903, allocations: 100.2 kB / 463.3 MB, free: 20.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.3911, allocations: 330.2 kB / 463.6 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.3911, allocations: 27.61 kB / 463.7 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.3923, allocations: 0.8946 MB / 464.6 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3923, allocations: 4.062 kB / 464.6 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.3946, allocations: 1.4 MB / 466 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.3948, allocations: 228.8 kB / 466.2 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.395, allocations: 21.75 kB / 466.2 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.3955, allocations: 51.3 kB / 466.3 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3957, allocations: 43.47 kB / 466.3 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.3957, allocations: 28.83 kB / 466.3 MB, free: 18.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005054/0.3962, allocations: 455.3 kB / 466.8 MB, free: 18.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3962, allocations: 0 / 466.8 MB, free: 18.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009476/0.3972, allocations: 328.1 kB / 467.1 MB, free: 18.2 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.004019/0.4012, allocations: 2.497 MB / 469.6 MB, free: 16.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.4034, allocations: 1.016 MB / 470.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4034, allocations: 1.25 kB / 470.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008429/0.4042, allocations: 0.501 MB / 471.1 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.4051, allocations: 157.5 kB / 471.3 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.4162, allocations: 7.763 MB / 479 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.4167, allocations: 1.022 MB / 480 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000616/0.4174, allocations: 129.5 kB / 480.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.4179, allocations: 401.1 kB / 480.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4179, allocations: 1.188 kB / 480.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3784/0.7963, allocations: 20.03 MB / 0.4889 GB, free: 0.6406 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.7965, allocations: 283.4 kB / 0.4891 GB, free: 264 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.209, allocations: 4 kB / 0.4891 GB, free: 260 kB / 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)