Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 170.9 kB / 16.11 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 240.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.000903, allocations: 97.42 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0267/0.0267, allocations: 5.392 MB / 347.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009053/0.009052, allocations: 2.319 MB / 402.4 MB, free: 68.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005097, allocations: 20 kB / 466.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3219, allocations: 52.18 MB / 0.5067 GB, free: 40.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.4542, allocations: 98.9 MB / 0.6032 GB, free: 5.301 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4544, allocations: 76.78 kB / 0.6033 GB, free: 5.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3868/0.8413, allocations: 36.69 MB / 0.6391 GB, free: 94.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.8413, allocations: 0 / 0.6391 GB, free: 94.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.12e-05/0.8414, allocations: 22.12 kB / 0.6392 GB, free: 94.33 MB / 394.7 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.004022/0.8454, allocations: 1.46 MB / 0.6406 GB, free: 93.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8455, allocations: 11.75 kB / 0.6406 GB, free: 93.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.8473, allocations: 314.4 kB / 0.6409 GB, free: 93.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.8491, allocations: 0.6736 MB / 0.6416 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.8492, allocations: 83.36 kB / 0.6416 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/0.8495, allocations: 109.9 kB / 0.6417 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.853, allocations: 1.201 MB / 0.6429 GB, free: 92.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-05/0.8531, allocations: 4.188 kB / 0.6429 GB, free: 92.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.8533, allocations: 52.42 kB / 0.643 GB, free: 92.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.8533, allocations: 27.84 kB / 0.643 GB, free: 92.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.8567, allocations: 1.199 MB / 0.6442 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00978/0.8665, allocations: 4.575 MB / 0.6486 GB, free: 90.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.8693, allocations: 1.84 MB / 0.6504 GB, free: 88.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.87, allocations: 347.1 kB / 0.6508 GB, free: 88.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.8702, allocations: 94.42 kB / 0.6509 GB, free: 88.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000916/0.8711, allocations: 485 kB / 0.6513 GB, free: 88.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 5.761e-06/0.8711, allocations: 0 / 0.6513 GB, free: 88.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.008402/0.8795, allocations: 1.839 MB / 0.6531 GB, free: 86.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.8797, allocations: 247.9 kB / 0.6533 GB, free: 86.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.8813, allocations: 0.7172 MB / 0.654 GB, free: 85.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.8814, allocations: 45.7 kB / 0.6541 GB, free: 85.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.8819, allocations: 0.5178 MB / 0.6546 GB, free: 85.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.8822, allocations: 239.4 kB / 0.6548 GB, free: 85.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.8823, allocations: 20 kB / 0.6548 GB, free: 85.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.8825, allocations: 398.1 kB / 0.6552 GB, free: 84.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.8834, allocations: 321.2 kB / 0.6555 GB, free: 84.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.8843, allocations: 0.5607 MB / 0.6561 GB, free: 83.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.8859, allocations: 0.9819 MB / 0.657 GB, free: 82.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.8859, allocations: 0 / 0.657 GB, free: 82.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002915/0.8889, allocations: 1.162 MB / 0.6582 GB, free: 81.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.8889, allocations: 64.19 kB / 0.6582 GB, free: 81.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.889, allocations: 8 kB / 0.6582 GB, free: 81.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.8896, allocations: 96.98 kB / 0.6583 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.8907, allocations: 219.6 kB / 0.6585 GB, free: 81.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.8924, allocations: 1.565 MB / 0.6601 GB, free: 79.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8936, allocations: 110.2 kB / 0.6602 GB, free: 79.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.8937, allocations: 47.97 kB / 0.6602 GB, free: 79.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009214/0.8946, allocations: 333.6 kB / 0.6605 GB, free: 79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.895, allocations: 87 kB / 0.6606 GB, free: 78.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.8996, allocations: 1.368 MB / 0.662 GB, free: 77.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8996, allocations: 8 kB / 0.662 GB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.8996, allocations: 4 kB / 0.662 GB, free: 77.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.8996, allocations: 3.984 kB / 0.662 GB, free: 77.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.9032, allocations: 2.337 MB / 0.6643 GB, free: 75.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.9032, allocations: 0 / 0.6643 GB, free: 75.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.9036, allocations: 115.9 kB / 0.6644 GB, free: 74.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.9059, allocations: 0.5839 MB / 0.6649 GB, free: 74.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/0.906, allocations: 35.91 kB / 0.665 GB, free: 74.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009257/0.907, allocations: 0.9131 MB / 0.6659 GB, free: 73.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.907, allocations: 4.031 kB / 0.6659 GB, free: 73.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.9093, allocations: 1.524 MB / 0.6674 GB, free: 71.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.9099, allocations: 267.8 kB / 0.6676 GB, free: 71.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.9101, allocations: 23.69 kB / 0.6676 GB, free: 71.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.9106, allocations: 51.97 kB / 0.6677 GB, free: 71.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.9108, allocations: 40.59 kB / 0.6677 GB, free: 71.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.9108, allocations: 35.97 kB / 0.6678 GB, free: 71.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007243/0.9116, allocations: 0.4951 MB / 0.6682 GB, free: 70.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9116, allocations: 0 / 0.6682 GB, free: 70.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001319/0.9129, allocations: 378.7 kB / 0.6686 GB, free: 70.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.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 (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/0.9146, allocations: 0.7092 MB / 0.6693 GB, free: 70.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.9165, allocations: 1.047 MB / 0.6703 GB, free: 69.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9165, allocations: 0 / 0.6703 GB, free: 69.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.9173, allocations: 0.527 MB / 0.6708 GB, free: 68.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.9184, allocations: 164.8 kB / 0.671 GB, free: 68.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.9218, allocations: 2.212 MB / 0.6731 GB, free: 66.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.9223, allocations: 1.026 MB / 0.6741 GB, free: 65.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000557/0.9229, allocations: 118.2 kB / 0.6743 GB, free: 64.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.9231, allocations: 87.39 kB / 0.6743 GB, free: 64.83 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.9232, allocations: 0 / 0.6743 GB, free: 64.83 MB / 394.7 MB Notification: Performance of Templates: time 0.02149/0.9447, allocations: 12.84 MB / 0.6869 GB, free: 52.09 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.o PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.c In file included from PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.c:7: In file included from ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629_model.h:26: ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629_functions.h:336:1: error: unknown type name '_omcQComplexOutput_24converter_24potentialSensor_24v' _omcQComplexOutput_24converter_24potentialSensor_24v omc__omcQComplexOutput_24converter_24potentialSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629_functions.h:345:1: error: unknown type name '_omcQComplexOutput_24converter_24powerSensor_24apparentPower' _omcQComplexOutput_24converter_24powerSensor_24apparentPower omc__omcQComplexOutput_24converter_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.o] Error 1