Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.conf.json 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 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 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) Running command: translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008883, allocations: 92.7 kB / 16.02 MB, free: 80 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.001328/0.001328, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.548/1.548, allocations: 223.2 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.193/0.193, allocations: 5.375 MB / 297.5 MB, free: 3.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8 kB / 359.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 51.6 MB / 411.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.008252/0.1363, allocations: 6.394 MB / 417.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.142, allocations: 2.329 MB / 420.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.1434, allocations: 39.81 kB / 420.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.1447, allocations: 409.7 kB / 420.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.1465, allocations: 397.8 kB / 421 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1477, allocations: 371.6 kB / 421.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002939/0.1506, allocations: 2.189 MB / 423.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2688/0.4194, allocations: 2.109 MB / 425.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.421, allocations: 0.7435 MB / 426.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.4221, allocations: 1.016 MB / 427.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.4223, allocations: 118.2 kB / 427.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.4226, allocations: 129.7 kB / 427.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.4231, allocations: 0.5029 MB / 428.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009367/0.424, allocations: 1.029 MB / 429.2 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.4261, allocations: 2.856 MB / 432 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4262, allocations: 0 / 432 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4262, allocations: 0 / 432 MB, free: 33.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.146e-05/0.4262, allocations: 0 / 432 MB, free: 33.95 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.004712/0.4309, allocations: 2.375 MB / 434.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.431, allocations: 9.469 kB / 434.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005754/0.4316, allocations: 247.8 kB / 434.6 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.4342, allocations: 1.479 MB / 436.1 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.4344, allocations: 155.7 kB / 436.3 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.4347, allocations: 210.3 kB / 436.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/0.4387, allocations: 2.68 MB / 439.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.4388, allocations: 4 kB / 439.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.439, allocations: 90.28 kB / 439.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/0.4391, allocations: 81.5 kB / 439.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.4426, allocations: 2.245 MB / 441.6 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.4532, allocations: 8.004 MB / 449.6 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.455, allocations: 1.241 MB / 450.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/0.4559, allocations: 0.5175 MB / 451.3 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.4559, allocations: 13.28 kB / 451.4 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.4567, allocations: 0.5365 MB / 451.9 MB, free: 26.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.136e-06/0.4568, allocations: 0 / 451.9 MB, free: 26.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005213/0.462, allocations: 1.904 MB / 453.8 MB, free: 26.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.4621, allocations: 149.3 kB / 453.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4636, allocations: 1.062 MB / 455 MB, free: 25.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.4637, allocations: 36.61 kB / 455 MB, free: 25.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008667/0.4646, allocations: 0.9649 MB / 456 MB, free: 24.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.4648, allocations: 238.4 kB / 456.2 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.465, allocations: 82.19 kB / 456.3 MB, free: 24.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4651, allocations: 343.8 kB / 456.6 MB, free: 24.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008202/0.4659, allocations: 476.4 kB / 457.1 MB, free: 24.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009364/0.4669, allocations: 0.7433 MB / 457.9 MB, free: 23.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.4686, allocations: 1.284 MB / 459.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.4686, allocations: 3.031 kB / 459.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002625/0.4713, allocations: 1.443 MB / 460.6 MB, free: 22.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.4715, allocations: 384.2 kB / 461 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4715, allocations: 14.62 kB / 461 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/0.472, allocations: 81.34 kB / 461.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.4729, allocations: 262 kB / 461.3 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.4742, allocations: 1.47 MB / 462.8 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.4752, allocations: 159.7 kB / 462.9 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/0.4753, allocations: 44.12 kB / 463 MB, free: 20.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4753, allocations: 3.312 kB / 463 MB, free: 20.57 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002482/0.4778, allocations: 1.298 MB / 464.3 MB, free: 20.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4778, allocations: 9.312 kB / 464.3 MB, free: 20.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.4782, allocations: 89.19 kB / 464.4 MB, free: 20.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/0.4792, allocations: 249.8 kB / 464.6 MB, free: 20.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.4805, allocations: 1.474 MB / 466.1 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.4816, allocations: 132.1 kB / 466.2 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.4816, allocations: 39.81 kB / 466.3 MB, free: 18.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integratorOmega.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 (117): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * 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.001571/0.4832, allocations: 0.7527 MB / 467 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.4835, allocations: 112.5 kB / 467.1 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.4875, allocations: 1.449 MB / 468.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4875, allocations: 7.219 kB / 468.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4875, allocations: 0 / 468.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.4876, allocations: 4.578 kB / 468.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005805/0.4934, allocations: 2.977 MB / 471.6 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4934, allocations: 1.828 kB / 471.6 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.494, allocations: 148 kB / 471.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006123/0.4947, allocations: 266.9 kB / 472 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.4947, allocations: 19.61 kB / 472 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009604/0.4957, allocations: 0.8316 MB / 472.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4957, allocations: 1.062 kB / 472.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.4996, allocations: 1.859 MB / 474.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/0.5003, allocations: 277.8 kB / 475 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.5004, allocations: 21.56 kB / 475 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.5012, allocations: 85.56 kB / 475.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.5014, allocations: 50.25 kB / 475.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.5014, allocations: 25.16 kB / 475.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.5028, allocations: 0.73 MB / 475.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5028, allocations: 0 / 475.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002392/0.5052, allocations: 0.8388 MB / 476.7 MB, free: 14.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002364/0.5054, allocations: 133.4 kB / 476.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004276/0.5097, allocations: 2.087 MB / 478.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5097, allocations: 0 / 478.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.5109, allocations: 0.5907 MB / 479.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.5125, allocations: 252.5 kB / 479.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/0.5202, allocations: 4.35 MB / 484.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.5217, allocations: 1.671 MB / 485.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.5223, allocations: 90.09 kB / 485.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.5223, allocations: 0 / 485.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of Templates: time 0.03893/0.5612, allocations: 29.72 MB / 0.5035 GB, free: 14.49 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphaseCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphaseCalcHelperMain.o] Error 1