Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 88.52 kB / 16.37 MB, free: 5.969 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.0009668/0.0009668, allocations: 181.8 kB / 17.27 MB, free: 5.824 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.529/1.529, allocations: 223.2 MB / 241.3 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0603/0.0603, allocations: 8.096 MB / 300.5 MB, free: 6.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 8 kB / 363.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3478, allocations: 52.51 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001303/0.3492, allocations: 0.5488 MB / 416.5 MB, free: 24.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3513, allocations: 1.244 MB / 417.8 MB, free: 23.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3515, allocations: 0 / 417.8 MB, free: 23.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.3518, allocations: 39.84 kB / 417.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.352, allocations: 43.7 kB / 417.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.3529, allocations: 275.2 kB / 418.1 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.353, allocations: 63.61 kB / 418.2 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3532, allocations: 19.97 kB / 418.2 MB, free: 22.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.3533, allocations: 31.86 kB / 418.2 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.3535, allocations: 43.78 kB / 418.3 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3535, allocations: 0 / 418.3 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.3538, allocations: 95.88 kB / 418.4 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.3538, allocations: 3.984 kB / 418.4 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.3539, allocations: 45.64 kB / 418.4 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.3542, allocations: 113.7 kB / 418.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3542, allocations: 0 / 418.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3542, allocations: 0 / 418.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3542, allocations: 0 / 418.5 MB, free: 22.39 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001039/0.3553, allocations: 419 kB / 419 MB, free: 21.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3553, allocations: 8.031 kB / 419 MB, free: 21.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.3554, allocations: 19.86 kB / 419 MB, free: 21.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3556, allocations: 171 kB / 419.1 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3556, allocations: 8 kB / 419.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3557, allocations: 4 kB / 419.2 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.3559, allocations: 96.47 kB / 419.3 MB, free: 21.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3559, allocations: 3.938 kB / 419.3 MB, free: 21.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3559, allocations: 4 kB / 419.3 MB, free: 21.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.356, allocations: 4 kB / 419.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3561, allocations: 75.92 kB / 419.3 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.3568, allocations: 384.7 kB / 419.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.3572, allocations: 114.6 kB / 419.8 MB, free: 20.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.3573, allocations: 32.84 kB / 419.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.3573, allocations: 0 / 419.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3574, allocations: 38.56 kB / 419.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.3574, allocations: 0 / 419.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006724/0.3581, allocations: 243.8 kB / 420.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.3581, allocations: 51.41 kB / 420.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3583, allocations: 134.1 kB / 420.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3583, allocations: 29.7 kB / 420.3 MB, free: 20.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.3584, allocations: 108.1 kB / 420.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3584, allocations: 27.64 kB / 420.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.3584, allocations: 0 / 420.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.3585, allocations: 322.8 kB / 420.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.3585, allocations: 27.98 kB / 420.8 MB, free: 19.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.3586, allocations: 31.98 kB / 420.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.3587, allocations: 43.95 kB / 420.9 MB, free: 19.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3587, allocations: 3.938 kB / 420.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003189/0.359, allocations: 142.4 kB / 421 MB, free: 19.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3591, allocations: 4 kB / 421 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3591, allocations: 0 / 421 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.3594, allocations: 36.83 kB / 421.1 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.3595, allocations: 15.98 kB / 421.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.3606, allocations: 1.339 MB / 422.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.3607, allocations: 8.031 kB / 422.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3607, allocations: 0 / 422.4 MB, free: 18.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 8 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/0.3608, allocations: 122.5 kB / 422.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.3609, allocations: 7.906 kB / 422.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.3612, allocations: 134.8 kB / 422.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3612, allocations: 3.984 kB / 422.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3613, allocations: 0 / 422.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3613, allocations: 7.953 kB / 422.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.3615, allocations: 205.5 kB / 422.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3615, allocations: 0 / 422.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.3616, allocations: 15.98 kB / 422.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.3617, allocations: 36.83 kB / 423 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3618, allocations: 0 / 423 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009168/0.3627, allocations: 1.323 MB / 424.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3627, allocations: 288 / 424.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.363, allocations: 212.4 kB / 424.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3631, allocations: 89.02 kB / 424.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3631, allocations: 3.938 kB / 424.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3633, allocations: 11.98 kB / 424.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3633, allocations: 19.94 kB / 424.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3633, allocations: 0 / 424.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3635, allocations: 114.5 kB / 424.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3635, allocations: 0 / 424.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.3639, allocations: 20 kB / 424.7 MB, free: 15.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.3641, allocations: 119.2 kB / 424.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.3646, allocations: 194.5 kB / 425.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3646, allocations: 0 / 425.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.3648, allocations: 150.7 kB / 425.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.3653, allocations: 12.84 kB / 425.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.3659, allocations: 283.6 kB / 425.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.3661, allocations: 0.6887 MB / 426.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3661, allocations: 11.44 kB / 426.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3662, allocations: 0 / 426.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of Templates: time 0.005663/0.3718, allocations: 1.8 MB / 428 MB, free: 12.22 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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 OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadCalcHelperMain.o] Error 1