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: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03003/0.03003, allocations: 5.374 MB / 21.3 MB, free: 1.613 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.0007085/0.0007086, allocations: 98.59 kB / 23.3 MB, free: 204 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.001024/0.001024, allocations: 174.1 kB / 25.39 MB, free: 1.754 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.295/1.295, allocations: 223.3 MB / 250.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008111/0.008111, allocations: 2.315 MB / 305.2 MB, free: 4 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004384, allocations: 12.33 kB / 369.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 52.2 MB / 421.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006648/0.1138, allocations: 6.334 MB / 428.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2136/0.3274, allocations: 3.826 MB / 431.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.3281, allocations: 20.12 kB / 431.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3292, allocations: 458.8 kB / 432.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.331, allocations: 0.7512 MB / 433.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.3326, allocations: 494.6 kB / 433.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3338, allocations: 1.307 MB / 434.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.3358, allocations: 1.424 MB / 436.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.3363, allocations: 459.5 kB / 436.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007937/0.3372, allocations: 0.5806 MB / 437.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3373, allocations: 58.88 kB / 437.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.3383, allocations: 351.5 kB / 437.8 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.3386, allocations: 223.5 kB / 438 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.3391, allocations: 0.5631 MB / 438.5 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3403, allocations: 1.334 MB / 439.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3403, allocations: 0 / 439.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3403, allocations: 0 / 439.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3403, allocations: 7.938 kB / 439.9 MB, free: 33.46 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.003367/0.3437, allocations: 1.573 MB / 441.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3437, allocations: 9.219 kB / 441.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.3457, allocations: 388.7 kB / 441.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.3472, allocations: 0.8293 MB / 442.7 MB, free: 32.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.3473, allocations: 81.67 kB / 442.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.3474, allocations: 106.2 kB / 442.9 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.3493, allocations: 1.178 MB / 444 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.3494, allocations: 0 / 444 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3495, allocations: 45.34 kB / 444.1 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.3495, allocations: 25.81 kB / 444.1 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.3513, allocations: 1.078 MB / 445.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.3565, allocations: 4.405 MB / 449.6 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.3587, allocations: 1.75 MB / 451.3 MB, free: 28.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.3592, allocations: 332.8 kB / 451.7 MB, free: 27.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.3593, allocations: 97.81 kB / 451.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007094/0.36, allocations: 466.6 kB / 452.2 MB, free: 27.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/0.36, allocations: 0 / 452.2 MB, free: 27.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005278/0.3653, allocations: 1.642 MB / 453.9 MB, free: 27.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3654, allocations: 223.5 kB / 454.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/0.3661, allocations: 0.6491 MB / 454.7 MB, free: 26.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.3662, allocations: 44.08 kB / 454.8 MB, free: 26.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.3665, allocations: 0.5203 MB / 455.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.3666, allocations: 235.4 kB / 455.5 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.3667, allocations: 81.3 kB / 455.6 MB, free: 25.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.3668, allocations: 397.5 kB / 456 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.3674, allocations: 300 kB / 456.3 MB, free: 25.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.368, allocations: 0.5346 MB / 456.8 MB, free: 24.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.3693, allocations: 0.9432 MB / 457.8 MB, free: 24.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3693, allocations: 3.25 kB / 457.8 MB, free: 24.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001911/0.3712, allocations: 1.119 MB / 458.9 MB, free: 23.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3713, allocations: 64.66 kB / 458.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3713, allocations: 6.969 kB / 459 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.3717, allocations: 85.61 kB / 459 MB, free: 23.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.3725, allocations: 228.1 kB / 459.3 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.3739, allocations: 1.482 MB / 460.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/0.3747, allocations: 107.5 kB / 460.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.3748, allocations: 43.78 kB / 460.9 MB, free: 22.22 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.0005754/0.3753, allocations: 336.3 kB / 461.2 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3755, allocations: 86.66 kB / 461.3 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.3773, allocations: 1.022 MB / 462.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3773, allocations: 10.11 kB / 462.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3773, allocations: 5.859 kB / 462.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3773, allocations: 3.422 kB / 462.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005339/0.3826, allocations: 2.338 MB / 464.7 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3827, allocations: 0 / 464.7 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.383, allocations: 101.1 kB / 464.8 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/0.3838, allocations: 335.9 kB / 465.1 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.3838, allocations: 36.84 kB / 465.1 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3849, allocations: 0.9016 MB / 466 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3849, allocations: 0 / 466 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.3873, allocations: 1.417 MB / 467.5 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.3876, allocations: 237 kB / 467.7 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.3877, allocations: 27.06 kB / 467.7 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.3883, allocations: 48.91 kB / 467.8 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3884, allocations: 47.64 kB / 467.8 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.3884, allocations: 29.06 kB / 467.8 MB, free: 18.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005143/0.389, allocations: 451.6 kB / 468.3 MB, free: 18.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.389, allocations: 0 / 468.3 MB, free: 18.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009916/0.39, allocations: 321.8 kB / 468.6 MB, free: 18.44 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.001386/0.3914, allocations: 0.6663 MB / 469.3 MB, free: 18.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.393, allocations: 1 MB / 470.3 MB, free: 17.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.393, allocations: 0 / 470.3 MB, free: 17.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.3937, allocations: 0.5018 MB / 470.8 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.3946, allocations: 141.2 kB / 470.9 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.3976, allocations: 2.317 MB / 473.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.3981, allocations: 1.015 MB / 474.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.3984, allocations: 86.61 kB / 474.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3984, allocations: 0 / 474.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Templates: time 0.02685/0.4252, allocations: 17.11 MB / 491.4 MB, free: 10.42 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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_20160808CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808CalcHelperMain.o] Error 1