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.0009393/0.0009394, allocations: 99.19 kB / 16.02 MB, free: 76 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.001268/0.001268, allocations: 182.6 kB / 16.92 MB, free: 6.914 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.46/1.46, allocations: 223.2 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1676/0.1676, allocations: 5.376 MB / 297.5 MB, free: 3.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004214, allocations: 8 kB / 363.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 51.6 MB / 414.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.00585/0.1391, allocations: 3.166 MB / 418 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.1429, allocations: 1.254 MB / 419.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006922/0.1436, allocations: 4 kB / 419.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1448, allocations: 206.9 kB / 419.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.1458, allocations: 151 kB / 419.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.1463, allocations: 99.91 kB / 419.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1476, allocations: 0.5678 MB / 420.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.148, allocations: 112 kB / 420.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/0.1486, allocations: 191.1 kB / 420.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.1492, allocations: 234.9 kB / 420.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.1494, allocations: 24 kB / 420.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.1497, allocations: 39.98 kB / 420.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1499, allocations: 83.58 kB / 421 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.1504, allocations: 232.5 kB / 421.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.1512, allocations: 414.9 kB / 421.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1512, allocations: 0 / 421.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1512, allocations: 0 / 421.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.184e-05/0.1513, allocations: 0 / 421.6 MB, free: 3.383 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.003067/0.1543, allocations: 0.7792 MB / 422.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.1544, allocations: 11.97 kB / 422.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.1547, allocations: 52.36 kB / 422.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.1567, allocations: 0.5179 MB / 423 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.1567, allocations: 24.69 kB / 423 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.1568, allocations: 28 kB / 423 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.158, allocations: 369.3 kB / 423.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.1581, allocations: 3.938 kB / 423.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.1581, allocations: 12 kB / 423.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1582, allocations: 11.98 kB / 423.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1596, allocations: 382 kB / 423.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2541/0.4137, allocations: 1.432 MB / 425.2 MB, free: 44.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4148, allocations: 462.2 kB / 425.6 MB, free: 44.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.4153, allocations: 169.8 kB / 425.8 MB, free: 44.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.4154, allocations: 2.562 kB / 425.8 MB, free: 44.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.4154, allocations: 39.02 kB / 425.9 MB, free: 44.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.236e-06/0.4154, allocations: 0.8438 kB / 425.9 MB, free: 44.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00569/0.4211, allocations: 1.094 MB / 426.9 MB, free: 44.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.4212, allocations: 54.56 kB / 427 MB, free: 44.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.4217, allocations: 392.8 kB / 427.4 MB, free: 44.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4218, allocations: 32.3 kB / 427.4 MB, free: 44.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4219, allocations: 220 kB / 427.6 MB, free: 44.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.422, allocations: 73.08 kB / 427.7 MB, free: 44.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.422, allocations: 28.69 kB / 427.7 MB, free: 44.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.4221, allocations: 349.8 kB / 428.1 MB, free: 43.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.4226, allocations: 154.7 kB / 428.2 MB, free: 43.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.423, allocations: 193.9 kB / 428.4 MB, free: 43.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.4237, allocations: 333.4 kB / 428.7 MB, free: 43.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4237, allocations: 0 / 428.7 MB, free: 43.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003975/0.4277, allocations: 0.8686 MB / 429.6 MB, free: 43.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4278, allocations: 10.47 kB / 429.6 MB, free: 43.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4278, allocations: 0 / 429.6 MB, free: 43.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.4289, allocations: 343.5 kB / 430 MB, free: 43.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.4292, allocations: 55.78 kB / 430 MB, free: 43.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007534/0.4367, allocations: 4.016 MB / 434 MB, free: 40.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.4373, allocations: 59.66 kB / 434.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.4373, allocations: 15.47 kB / 434.1 MB, free: 40.79 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 (not torn): 1 * Torn equation systems: 1 * 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: 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.4375, allocations: 149.8 kB / 434.2 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.4376, allocations: 35.5 kB / 434.3 MB, free: 40.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.4377, allocations: 46.66 kB / 434.3 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4377, allocations: 5.016 kB / 434.3 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.4377, allocations: 4 kB / 434.3 MB, free: 40.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4377, allocations: 3.141 kB / 434.3 MB, free: 40.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/0.4418, allocations: 1.223 MB / 435.6 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4419, allocations: 1.031 kB / 435.6 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.442, allocations: 40.53 kB / 435.6 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006102/0.4426, allocations: 253.1 kB / 435.8 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.4427, allocations: 6.812 kB / 435.9 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005849/0.4485, allocations: 2.436 MB / 438.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4485, allocations: 0 / 438.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.4521, allocations: 0.8205 MB / 439.1 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4523, allocations: 138.4 kB / 439.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.4523, allocations: 3.375 kB / 439.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.4527, allocations: 36.47 kB / 439.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.4528, allocations: 14.97 kB / 439.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.4528, allocations: 13.59 kB / 439.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003929/0.4532, allocations: 276.7 kB / 439.6 MB, free: 38.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4532, allocations: 0 / 439.6 MB, free: 38.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006513/0.4539, allocations: 112 kB / 439.7 MB, free: 38.52 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 (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.0001816/0.454, allocations: 102.1 kB / 439.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.4553, allocations: 0.6117 MB / 440.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4554, allocations: 3.938 kB / 440.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.4558, allocations: 291.7 kB / 440.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.4565, allocations: 82.39 kB / 440.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4578, allocations: 0.8867 MB / 441.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.4581, allocations: 0.7969 MB / 442.5 MB, free: 36.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.4582, allocations: 29.86 kB / 442.5 MB, free: 36.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4582, allocations: 0 / 442.5 MB, free: 36.65 MB / 350.1 MB Notification: Performance of Templates: time 0.008757/0.4669, allocations: 7.847 MB / 450.3 MB, free: 36.06 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetricCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetricCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetricCalcHelperMain.o] Error 1