Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001076, allocations: 87.45 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 177.7 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1721/0.1721, allocations: 38.04 MB / 310.7 MB, free: 5.918 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005119, allocations: 12.61 kB / 377.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3252, allocations: 56.34 MB / 434.1 MB, free: 18.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003479/0.3287, allocations: 3.318 MB / 437.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3305, allocations: 1.595 MB / 439.1 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3306, allocations: 15.94 kB / 439.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.3308, allocations: 27.78 kB / 439.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.3313, allocations: 267.1 kB / 439.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.3315, allocations: 111.7 kB / 439.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.332, allocations: 0.5612 MB / 440 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005718/0.3326, allocations: 330.8 kB / 440.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3327, allocations: 115.4 kB / 440.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.3329, allocations: 151.5 kB / 440.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.333, allocations: 8 kB / 440.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.3334, allocations: 423 kB / 441 MB, free: 12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.3335, allocations: 91.77 kB / 441.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.3336, allocations: 121.1 kB / 441.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.3339, allocations: 271.4 kB / 441.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3339, allocations: 0 / 441.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3339, allocations: 0 / 441.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3339, allocations: 0 / 441.5 MB, free: 11.52 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005217/0.3344, allocations: 482.8 kB / 442 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3345, allocations: 8.031 kB / 442 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/0.3353, allocations: 108.5 kB / 442.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3355, allocations: 264.4 kB / 442.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3356, allocations: 20.31 kB / 442.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.3356, allocations: 23.92 kB / 442.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.336, allocations: 318.3 kB / 442.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3361, allocations: 3.938 kB / 442.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.3361, allocations: 11.94 kB / 442.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.3361, allocations: 16 kB / 442.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.3365, allocations: 299.7 kB / 443 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.3379, allocations: 1.301 MB / 444.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3382, allocations: 202.2 kB / 444.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.3383, allocations: 41.77 kB / 444.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3383, allocations: 0 / 444.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3383, allocations: 42.69 kB / 444.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.3383, allocations: 0 / 444.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002654/0.3386, allocations: 137.4 kB / 444.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3386, allocations: 77.11 kB / 444.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3388, allocations: 215.7 kB / 445 MB, free: 7.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3388, allocations: 29.7 kB / 445.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3389, allocations: 163.6 kB / 445.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3389, allocations: 35.45 kB / 445.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.339, allocations: 29.83 kB / 445.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.3391, allocations: 326.8 kB / 445.6 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.3391, allocations: 43.91 kB / 445.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3392, allocations: 132.7 kB / 445.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3394, allocations: 200.9 kB / 446 MB, free: 6.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3394, allocations: 0 / 446 MB, free: 6.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002423/0.3397, allocations: 213 kB / 446.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3397, allocations: 4 kB / 446.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3397, allocations: 4.438 kB / 446.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3398, allocations: 8 kB / 446.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3399, allocations: 43.92 kB / 446.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3399, allocations: 11.98 kB / 446.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.34, allocations: 23.78 kB / 446.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.34, allocations: 8 kB / 446.3 MB, free: 6.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.3402, allocations: 161.7 kB / 446.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.3402, allocations: 15.81 kB / 446.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.3404, allocations: 115 kB / 446.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3404, allocations: 8 kB / 446.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3404, allocations: 0 / 446.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3404, allocations: 0 / 446.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.341, allocations: 0.5797 MB / 447.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.341, allocations: 4 kB / 447.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.3411, allocations: 23.92 kB / 447.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3411, allocations: 3.938 kB / 447.2 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3411, allocations: 4.062 kB / 447.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3412, allocations: 8 kB / 447.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3412, allocations: 4 kB / 447.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3414, allocations: 288.1 kB / 447.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.3414, allocations: 92.92 kB / 447.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3414, allocations: 15.92 kB / 447.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.3415, allocations: 0 / 447.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.3416, allocations: 11.94 kB / 447.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3416, allocations: 12 kB / 447.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.3417, allocations: 153.5 kB / 447.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3417, allocations: 192 / 447.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.342, allocations: 51.84 kB / 447.8 MB, free: 4.625 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.617e-05/0.3421, allocations: 107.1 kB / 447.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3423, allocations: 120.4 kB / 448 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.3423, allocations: 0 / 448 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.3424, allocations: 43.86 kB / 448.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3428, allocations: 32 kB / 448.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.3435, allocations: 0.5678 MB / 448.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.3437, allocations: 0.7557 MB / 449.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.3437, allocations: 19.44 kB / 449.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3437, allocations: 7.875 kB / 449.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Templates: time 0.00372/0.3475, allocations: 2.16 MB / 451.6 MB, free: 0.7266 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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 OMCppPowerSystems_PowerSystems.Examples.Generic.Test.PMeterTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.PMeterTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.PMeterTestCalcHelperMain.o] Error 1