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.001179/0.001179, allocations: 99.98 kB / 15.71 MB, free: 452 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.001389/0.001389, allocations: 179.8 kB / 16.58 MB, free: 6.422 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.595/1.595, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1963/0.1963, allocations: 5.376 MB / 297.1 MB, free: 3.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 359.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 51.6 MB / 410.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.007955/0.1481, allocations: 6.018 MB / 416.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00582/0.1539, allocations: 2.232 MB / 419 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.1551, allocations: 43.81 kB / 419.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009969/0.1562, allocations: 373.6 kB / 419.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.1576, allocations: 377.7 kB / 419.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00087/0.1584, allocations: 291.6 kB / 420.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002268/0.1607, allocations: 2.052 MB / 422.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.1629, allocations: 1.683 MB / 423.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.1643, allocations: 0.7237 MB / 424.6 MB, free: 124 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3229/0.4872, allocations: 0.9582 MB / 425.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007835/0.4881, allocations: 116.5 kB / 425.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.4889, allocations: 128.4 kB / 425.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.4895, allocations: 0.4962 MB / 426.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000591/0.4901, allocations: 428 kB / 426.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002837/0.4929, allocations: 2.857 MB / 429.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.493, allocations: 0 / 429.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.493, allocations: 6.859 kB / 429.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.541e-05/0.493, allocations: 1.688 kB / 429.5 MB, free: 35.2 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.004917/0.498, allocations: 2.388 MB / 431.9 MB, free: 34.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.498, allocations: 9.594 kB / 431.9 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/0.4986, allocations: 245.8 kB / 432.2 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.5012, allocations: 1.44 MB / 433.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5014, allocations: 158.1 kB / 433.8 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.5016, allocations: 201.1 kB / 434 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/0.5063, allocations: 2.671 MB / 436.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.5063, allocations: 2.969 kB / 436.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.5065, allocations: 86.95 kB / 436.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.5066, allocations: 79.27 kB / 436.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.5104, allocations: 2.231 MB / 439 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.522, allocations: 7.997 MB / 447 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.5238, allocations: 1.242 MB / 448.3 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.5247, allocations: 0.5179 MB / 448.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.5248, allocations: 16.92 kB / 448.8 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008234/0.5256, allocations: 0.5349 MB / 449.3 MB, free: 29.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 4.919e-06/0.5256, allocations: 0 / 449.3 MB, free: 29.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004757/0.5304, allocations: 1.904 MB / 451.2 MB, free: 29.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.5305, allocations: 143.3 kB / 451.4 MB, free: 29.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.5319, allocations: 1.056 MB / 452.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.532, allocations: 41.2 kB / 452.5 MB, free: 28.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007923/0.5328, allocations: 0.9581 MB / 453.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.533, allocations: 233.7 kB / 453.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.5331, allocations: 24.56 kB / 453.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.5332, allocations: 344.4 kB / 454 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/0.534, allocations: 470.9 kB / 454.5 MB, free: 27.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.535, allocations: 0.741 MB / 455.2 MB, free: 26.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.536, allocations: 0.5828 MB / 455.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.5361, allocations: 0 / 455.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002891/0.5389, allocations: 1.438 MB / 457.2 MB, free: 26.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/0.5392, allocations: 370.3 kB / 457.6 MB, free: 25.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.5393, allocations: 14.53 kB / 457.6 MB, free: 25.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005038/0.5398, allocations: 88.02 kB / 457.7 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.5407, allocations: 260.9 kB / 458 MB, free: 25.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.5421, allocations: 1.468 MB / 459.4 MB, free: 24.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009769/0.543, allocations: 152.9 kB / 459.6 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.5431, allocations: 44.91 kB / 459.6 MB, free: 24.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.5431, allocations: 3.031 kB / 459.6 MB, free: 24.1 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002158/0.5453, allocations: 1.289 MB / 460.9 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5453, allocations: 9.125 kB / 460.9 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.5457, allocations: 91.88 kB / 461 MB, free: 23.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/0.5465, allocations: 258.6 kB / 461.3 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.5476, allocations: 1.469 MB / 462.7 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/0.5485, allocations: 135.2 kB / 462.9 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/0.5486, allocations: 45.77 kB / 462.9 MB, free: 22.17 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 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,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 (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.001537/0.5501, allocations: 0.7407 MB / 463.7 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.5504, allocations: 112.4 kB / 463.8 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.5542, allocations: 1.448 MB / 465.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.5542, allocations: 7.406 kB / 465.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5542, allocations: 1.406 kB / 465.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.5542, allocations: 3.281 kB / 465.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006142/0.5604, allocations: 2.978 MB / 468.2 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5604, allocations: 1.375 kB / 468.2 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.5611, allocations: 143 kB / 468.3 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006657/0.5618, allocations: 258.7 kB / 468.6 MB, free: 19.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.5618, allocations: 27.44 kB / 468.6 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.5629, allocations: 0.8382 MB / 469.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5629, allocations: 2.031 kB / 469.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/0.5665, allocations: 1.849 MB / 471.3 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/0.5672, allocations: 282.7 kB / 471.6 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.5673, allocations: 17.19 kB / 471.6 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.568, allocations: 86.48 kB / 471.7 MB, free: 18.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.5681, allocations: 47.55 kB / 471.7 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.5682, allocations: 20.56 kB / 471.8 MB, free: 18.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.5696, allocations: 0.7211 MB / 472.5 MB, free: 17.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.5696, allocations: 0 / 472.5 MB, free: 17.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002858/0.5725, allocations: 0.8431 MB / 473.3 MB, free: 17.54 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002528/0.5728, allocations: 129.5 kB / 473.4 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004384/0.5771, allocations: 2.087 MB / 475.5 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.5772, allocations: 1.344 kB / 475.5 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.5784, allocations: 0.586 MB / 476.1 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.58, allocations: 253.3 kB / 476.4 MB, free: 16.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007957/0.588, allocations: 4.126 MB / 480.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.5897, allocations: 1.673 MB / 482.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/0.5903, allocations: 91.27 kB / 482.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5903, allocations: 0 / 482.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Templates: time 0.04585/0.6362, allocations: 29.79 MB / 0.5 GB, free: 3.691 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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