Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 102.3 kB / 15.71 MB, free: 460 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.00155/0.00155, allocations: 172.8 kB / 16.58 MB, free: 6.141 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.531/1.531, allocations: 223.2 MB / 240.6 MB, free: 5.027 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2353/0.2353, allocations: 5.386 MB / 297.1 MB, free: 4.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003562, allocations: 8 kB / 362.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 51.6 MB / 414.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004276/0.1326, allocations: 3.028 MB / 417.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.1351, allocations: 1.193 MB / 418.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005094/0.1357, allocations: 7.938 kB / 418.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007958/0.1365, allocations: 206.8 kB / 418.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006654/0.1372, allocations: 135 kB / 418.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1375, allocations: 71.89 kB / 418.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007626/0.1383, allocations: 0.5249 MB / 419.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1385, allocations: 94 kB / 419.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.1388, allocations: 187.2 kB / 419.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.1391, allocations: 227 kB / 419.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.1391, allocations: 24 kB / 419.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1393, allocations: 39.98 kB / 419.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1394, allocations: 79.59 kB / 419.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1395, allocations: 101.5 kB / 420 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.1399, allocations: 410.9 kB / 420.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1399, allocations: 0 / 420.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1399, allocations: 0 / 420.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.14, allocations: 0 / 420.4 MB, free: 4.152 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001808/0.1418, allocations: 0.7907 MB / 421.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1418, allocations: 12.03 kB / 421.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1419, allocations: 43.44 kB / 421.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.1432, allocations: 0.5129 MB / 421.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1433, allocations: 20.56 kB / 421.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1433, allocations: 28 kB / 421.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.1441, allocations: 361.3 kB / 422.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1441, allocations: 0 / 422.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.1442, allocations: 15.95 kB / 422.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1442, allocations: 8 kB / 422.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009703/0.1452, allocations: 393.9 kB / 422.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.1477, allocations: 1.422 MB / 424 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2541/0.4019, allocations: 463.1 kB / 424.5 MB, free: 45.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.4025, allocations: 171 kB / 424.6 MB, free: 45.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.4025, allocations: 4 kB / 424.6 MB, free: 45.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4026, allocations: 35.3 kB / 424.7 MB, free: 45.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.555e-06/0.4026, allocations: 0 / 424.7 MB, free: 45.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005455/0.408, allocations: 1.094 MB / 425.8 MB, free: 44.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4081, allocations: 57.38 kB / 425.8 MB, free: 44.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.4086, allocations: 393 kB / 426.2 MB, free: 44.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4087, allocations: 32.45 kB / 426.2 MB, free: 44.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4088, allocations: 216.9 kB / 426.4 MB, free: 44.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.4089, allocations: 76.66 kB / 426.5 MB, free: 44.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.4089, allocations: 6.938 kB / 426.5 MB, free: 44.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.774e-05/0.409, allocations: 351.9 kB / 426.9 MB, free: 44.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.4093, allocations: 153.9 kB / 427 MB, free: 44.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.4097, allocations: 191.1 kB / 427.2 MB, free: 44.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.4101, allocations: 166.8 kB / 427.4 MB, free: 44.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4101, allocations: 4 kB / 427.4 MB, free: 44.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003527/0.4137, allocations: 0.8638 MB / 428.2 MB, free: 44.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4137, allocations: 6.531 kB / 428.2 MB, free: 44.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4137, allocations: 0 / 428.2 MB, free: 44.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.4147, allocations: 346.4 kB / 428.6 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.415, allocations: 55.64 kB / 428.6 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/0.4217, allocations: 4.003 MB / 432.6 MB, free: 41.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.4221, allocations: 70.34 kB / 432.7 MB, free: 41.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.4221, allocations: 15.23 kB / 432.7 MB, free: 41.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.4223, allocations: 147.9 kB / 432.9 MB, free: 41.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.4224, allocations: 31.81 kB / 432.9 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.4225, allocations: 46.28 kB / 432.9 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4225, allocations: 0 / 432.9 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4225, allocations: 1.5 kB / 432.9 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4225, allocations: 8.797 kB / 433 MB, free: 41.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.4263, allocations: 1.228 MB / 434.2 MB, free: 40.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4263, allocations: 0 / 434.2 MB, free: 40.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.4265, allocations: 39.3 kB / 434.2 MB, free: 40.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005696/0.427, allocations: 267 kB / 434.5 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.4271, allocations: 6.672 kB / 434.5 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/0.4321, allocations: 2.411 MB / 436.9 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4321, allocations: 3.281 kB / 436.9 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.4352, allocations: 0.8145 MB / 437.7 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.4354, allocations: 139.9 kB / 437.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4355, allocations: 5.344 kB / 437.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.4358, allocations: 34.77 kB / 437.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.4358, allocations: 26.78 kB / 437.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4359, allocations: 13.66 kB / 437.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.4362, allocations: 269.4 kB / 438.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4362, allocations: 0 / 438.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.4367, allocations: 110.8 kB / 438.3 MB, free: 39.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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.0001337/0.4368, allocations: 103.4 kB / 438.4 MB, free: 39.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.438, allocations: 0.6063 MB / 439 MB, free: 38.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4381, allocations: 0.9375 kB / 439 MB, free: 38.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.4385, allocations: 286.7 kB / 439.3 MB, free: 38.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.4391, allocations: 85.94 kB / 439.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4404, allocations: 0.8476 MB / 440.2 MB, free: 38.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.4407, allocations: 0.7896 MB / 441 MB, free: 37.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.4407, allocations: 33.22 kB / 441 MB, free: 37.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4407, allocations: 0 / 441 MB, free: 37.44 MB / 350.1 MB Notification: Performance of Templates: time 0.009144/0.4499, allocations: 7.869 MB / 448.9 MB, free: 36.84 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetricCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetricCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetricCalcHelperMain.o] Error 1