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: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03088/0.03088, allocations: 5.383 MB / 21.16 MB, free: 1.488 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.0009931/0.0009931, allocations: 115.6 kB / 23.15 MB, free: 64 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.001683/0.001683, allocations: 194.7 kB / 25.25 MB, free: 1.531 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.5/1.5, allocations: 222.9 MB / 250.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008559/0.008559, allocations: 2.326 MB / 303.7 MB, free: 3.684 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 91.84 kB / 367.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1191, allocations: 51.21 MB / 418.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007814/0.127, allocations: 6.811 MB / 425.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2751/0.4021, allocations: 3.897 MB / 429 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.4037, allocations: 22.12 kB / 429 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.4067, allocations: 1.074 MB / 430.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.4095, allocations: 0.7658 MB / 430.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.4115, allocations: 0.4991 MB / 431.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.4134, allocations: 1.316 MB / 432.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.4148, allocations: 0.8474 MB / 433.5 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008066/0.4156, allocations: 0.4928 MB / 434 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007309/0.4164, allocations: 0.6487 MB / 434.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.4165, allocations: 86.53 kB / 434.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009421/0.4175, allocations: 375.5 kB / 435.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.4177, allocations: 262.6 kB / 435.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.4182, allocations: 0.5863 MB / 435.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.4196, allocations: 1.363 MB / 437.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.4196, allocations: 0 / 437.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4196, allocations: 0 / 437.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4196, allocations: 0 / 437.3 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004408/0.424, allocations: 1.811 MB / 439.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.4241, allocations: 16.41 kB / 439.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.4262, allocations: 378 kB / 439.5 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.4279, allocations: 0.8175 MB / 440.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.428, allocations: 87.95 kB / 440.4 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.4282, allocations: 105.6 kB / 440.5 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.4301, allocations: 1.175 MB / 441.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.4301, allocations: 3.094 kB / 441.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4302, allocations: 41.81 kB / 441.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.4303, allocations: 25.47 kB / 441.8 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.4322, allocations: 1.072 MB / 442.8 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005768/0.438, allocations: 4.372 MB / 447.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.4404, allocations: 1.742 MB / 448.9 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/0.4411, allocations: 335 kB / 449.3 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.4412, allocations: 95.7 kB / 449.4 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008201/0.442, allocations: 466.8 kB / 449.8 MB, free: 28.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.625e-06/0.442, allocations: 0 / 449.8 MB, free: 28.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.006007/0.448, allocations: 1.597 MB / 451.4 MB, free: 27.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.4482, allocations: 219.7 kB / 451.6 MB, free: 27.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/0.4491, allocations: 0.6506 MB / 452.3 MB, free: 27.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.4491, allocations: 36.8 kB / 452.3 MB, free: 27.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.4496, allocations: 0.5188 MB / 452.8 MB, free: 26.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.4497, allocations: 234.5 kB / 453.1 MB, free: 26.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.45, allocations: 187.2 kB / 453.2 MB, free: 26.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4502, allocations: 394.3 kB / 453.6 MB, free: 26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.4508, allocations: 297.3 kB / 453.9 MB, free: 25.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007954/0.4516, allocations: 0.5326 MB / 454.5 MB, free: 25.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.453, allocations: 0.9393 MB / 455.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.453, allocations: 0 / 455.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002118/0.4551, allocations: 1.122 MB / 456.5 MB, free: 24.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.4552, allocations: 64.52 kB / 456.6 MB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4552, allocations: 6.312 kB / 456.6 MB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.4557, allocations: 89.36 kB / 456.7 MB, free: 24.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/0.4566, allocations: 220 kB / 456.9 MB, free: 24.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.458, allocations: 1.471 MB / 458.4 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.4589, allocations: 116.8 kB / 458.5 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.459, allocations: 46.81 kB / 458.5 MB, free: 22.72 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.0006321/0.4596, allocations: 340.6 kB / 458.9 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.4598, allocations: 82.02 kB / 458.9 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.4618, allocations: 1.007 MB / 459.9 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4618, allocations: 10.53 kB / 460 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.4618, allocations: 0 / 460 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4619, allocations: 3.516 kB / 460 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/0.4681, allocations: 2.32 MB / 462.3 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4681, allocations: 0 / 462.3 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.4685, allocations: 97.25 kB / 462.4 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008314/0.4693, allocations: 336.8 kB / 462.7 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.4694, allocations: 24.08 kB / 462.7 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.4706, allocations: 0.8895 MB / 463.6 MB, free: 20.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4707, allocations: 3.25 kB / 463.6 MB, free: 20.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.4733, allocations: 1.404 MB / 465 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.4737, allocations: 221.4 kB / 465.2 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.4738, allocations: 24.16 kB / 465.3 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.4744, allocations: 47.64 kB / 465.3 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4745, allocations: 51.28 kB / 465.4 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.4746, allocations: 28.86 kB / 465.4 MB, free: 19.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005798/0.4752, allocations: 451.7 kB / 465.8 MB, free: 19.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4752, allocations: 0 / 465.8 MB, free: 19.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00117/0.4763, allocations: 324.9 kB / 466.1 MB, free: 18.95 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.001518/0.4779, allocations: 0.6576 MB / 466.8 MB, free: 18.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.4798, allocations: 0.9971 MB / 467.8 MB, free: 18.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4799, allocations: 0 / 467.8 MB, free: 18.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008729/0.4807, allocations: 0.4923 MB / 468.3 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.4816, allocations: 149 kB / 468.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.4851, allocations: 2.24 MB / 470.7 MB, free: 16.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.4857, allocations: 1.017 MB / 471.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.486, allocations: 81.84 kB / 471.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.486, allocations: 0 / 471.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Templates: time 0.03209/0.5181, allocations: 17.26 MB / 489 MB, free: 11.16 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704CalcHelperMain.o] Error 1