Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 213.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.0316/0.0316, allocations: 5.493 MB / 318.7 MB, free: 13.77 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 71.89 kB / 447.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.09937, allocations: 54.62 MB / 0.4903 GB, free: 12.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01331/0.1127, allocations: 10.23 MB / 0.5003 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006932/0.1196, allocations: 3.605 MB / 0.5038 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.121, allocations: 87.56 kB / 0.5039 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007965/0.1289, allocations: 3.281 MB / 0.5071 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.1319, allocations: 0.8855 MB / 0.508 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.1345, allocations: 1.094 MB / 0.509 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005165/0.1396, allocations: 4.258 MB / 0.5132 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2017/0.3413, allocations: 6.632 MB / 0.5197 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.3442, allocations: 2.422 MB / 0.522 GB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.3482, allocations: 2.669 MB / 0.5246 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.3495, allocations: 0.7197 MB / 0.5253 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.3517, allocations: 1.043 MB / 0.5264 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.3527, allocations: 1.333 MB / 0.5277 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.3555, allocations: 2.598 MB / 0.5302 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009256/0.3648, allocations: 9.169 MB / 0.5391 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3648, allocations: 0 / 0.5391 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3648, allocations: 2 kB / 0.5391 GB, free: 8.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002036/0.365, allocations: 0 / 0.5391 GB, free: 8.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01417/0.3792, allocations: 5.361 MB / 0.5444 GB, free: 4.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3792, allocations: 9.531 kB / 0.5444 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009763/0.389, allocations: 1.638 MB / 0.546 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/0.3952, allocations: 2.949 MB / 0.5489 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.3954, allocations: 323.8 kB / 0.5492 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.3966, allocations: 421.2 kB / 0.5496 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.4114, allocations: 6.664 MB / 0.5561 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.4115, allocations: 11.33 kB / 0.5561 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008466/0.4124, allocations: 176.6 kB / 0.5563 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.4125, allocations: 208.8 kB / 0.5565 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.425, allocations: 5.625 MB / 0.562 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03997/0.465, allocations: 21.39 MB / 0.5829 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00532/0.4703, allocations: 2.167 MB / 0.585 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4717, allocations: 0.7461 MB / 0.5857 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.4719, allocations: 50.72 kB / 0.5857 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.4732, allocations: 0.7821 MB / 0.5865 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 3.777e-06/0.4733, allocations: 2.625 kB / 0.5865 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005155/0.4784, allocations: 2.145 MB / 0.5886 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.4785, allocations: 149.5 kB / 0.5888 GB, free: 13.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.4817, allocations: 1.823 MB / 0.5905 GB, free: 11.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.4817, allocations: 45.7 kB / 0.5906 GB, free: 11.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.4838, allocations: 2.038 MB / 0.5926 GB, free: 9.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.4842, allocations: 411.7 kB / 0.593 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/0.4852, allocations: 0.5475 MB / 0.5935 GB, free: 8.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4853, allocations: 301.1 kB / 0.5938 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.4873, allocations: 1.082 MB / 0.5948 GB, free: 7.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/0.4902, allocations: 2.175 MB / 0.597 GB, free: 4.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004798/0.495, allocations: 3.369 MB / 0.6003 GB, free: 0.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-05/0.4951, allocations: 12 kB / 0.6003 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006419/0.5015, allocations: 3.496 MB / 0.6037 GB, free: 13.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5016, allocations: 49.7 kB / 0.6037 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.143e-05/0.5016, allocations: 36 kB / 0.6038 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/0.5022, allocations: 132.2 kB / 0.6039 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.5045, allocations: 0.6046 MB / 0.6045 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.5064, allocations: 1.541 MB / 0.606 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.5086, allocations: 373.8 kB / 0.6063 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.5089, allocations: 136 kB / 0.6065 GB, free: 10.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.002935/0.5118, allocations: 1.714 MB / 0.6081 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.5122, allocations: 167.4 kB / 0.6083 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/0.5158, allocations: 1.745 MB / 0.61 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002683/0.5185, allocations: 1.402 MB / 0.6114 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5185, allocations: 0 / 0.6114 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.5185, allocations: 3.984 kB / 0.6114 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.5287, allocations: 4.941 MB / 0.6162 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.5287, allocations: 7.938 kB / 0.6162 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/0.5297, allocations: 214.5 kB / 0.6164 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/0.5303, allocations: 266.1 kB / 0.6167 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.5304, allocations: 31.98 kB / 0.6167 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.5317, allocations: 0.8282 MB / 0.6175 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.5317, allocations: 0 / 0.6175 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004804/0.5365, allocations: 2.572 MB / 0.62 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008542/0.5373, allocations: 298.5 kB / 0.6203 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.5377, allocations: 24 kB / 0.6203 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/0.5386, allocations: 75.91 kB / 0.6204 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.5388, allocations: 80.86 kB / 0.6205 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.5389, allocations: 39.98 kB / 0.6205 GB, free: 12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002166/0.5411, allocations: 1.244 MB / 0.6217 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5411, allocations: 0 / 0.6217 GB, free: 10.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003008/0.5441, allocations: 0.9535 MB / 0.6227 GB, free: 9.805 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004429/0.5445, allocations: 194.9 kB / 0.6228 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004447/0.5489, allocations: 2.374 MB / 0.6252 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.549, allocations: 4.062 kB / 0.6252 GB, free: 7.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.5503, allocations: 0.7025 MB / 0.6259 GB, free: 6.645 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.5522, allocations: 376.4 kB / 0.6262 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.5652, allocations: 6.417 MB / 0.6325 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003572/0.5687, allocations: 2.949 MB / 0.6354 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.5693, allocations: 167.4 kB / 0.6355 GB, free: 12.69 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5693, allocations: 0 / 0.6355 GB, free: 12.69 MB / 478.1 MB Notification: Performance of Templates: time 0.1038/0.6731, allocations: 79.99 MB / 0.7136 GB, free: 12.8 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile [Timeout 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile clang++ -std=c++17 -fopenmp=libomp -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.cpp In file included from OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.cpp:29: ./OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3Initialize.cpp:1240:77: error: use of undeclared identifier 'converter_P_vAC_' _functions->Modelica_Units_SI_ComplexVoltage__omcQ_27_2A_27_scalarProduct(converter_P_vAC_, tmp46, tmp50); ^ 1 error generated. make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.815874367021024] Failed to read output from testmodel.py, exit status != 0: 0.6815762131009251 0.851639943 0.329768758 Calling exit ...