Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 93.94 kB / 16.37 MB, free: 6.449 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.001487/0.001487, allocations: 184.7 kB / 17.27 MB, free: 6.242 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.466/1.466, allocations: 223.2 MB / 241.3 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05845/0.05845, allocations: 8.098 MB / 300.5 MB, free: 6.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004432, allocations: 8 kB / 363.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2992, allocations: 52.51 MB / 416 MB, free: 24.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001295/0.3006, allocations: 1.1 MB / 417.1 MB, free: 23.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.302, allocations: 1.361 MB / 418.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.3021, allocations: 0 / 418.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3023, allocations: 83.61 kB / 418.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.3026, allocations: 135.4 kB / 418.7 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3037, allocations: 0.7311 MB / 419.4 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.3039, allocations: 175.2 kB / 419.6 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.304, allocations: 29.86 kB / 419.6 MB, free: 21.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.3041, allocations: 75.7 kB / 419.7 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3043, allocations: 91.66 kB / 419.8 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.3043, allocations: 12 kB / 419.8 MB, free: 21.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.3046, allocations: 211.7 kB / 420 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.3046, allocations: 31.86 kB / 420 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.3047, allocations: 53.62 kB / 420.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3049, allocations: 253.3 kB / 420.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3049, allocations: 0 / 420.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.305, allocations: 0 / 420.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.305, allocations: 0 / 420.3 MB, free: 20.65 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001674/0.3066, allocations: 0.678 MB / 421 MB, free: 19.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3067, allocations: 12.03 kB / 421 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.3068, allocations: 19.77 kB / 421 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.307, allocations: 234.7 kB / 421.2 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.3071, allocations: 67.41 kB / 421.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.3071, allocations: 23.94 kB / 421.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.3075, allocations: 221.2 kB / 421.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3075, allocations: 0 / 421.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.3075, allocations: 15.95 kB / 421.6 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3075, allocations: 4 kB / 421.6 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.3078, allocations: 203.9 kB / 421.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.309, allocations: 0.9205 MB / 422.7 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.3095, allocations: 231.6 kB / 422.9 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3097, allocations: 109.2 kB / 423 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3098, allocations: 85.3 kB / 423.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.3101, allocations: 178.7 kB / 423.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.512e-06/0.3101, allocations: 3.938 kB / 423.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001478/0.3116, allocations: 0.6036 MB / 423.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.3117, allocations: 67.23 kB / 424 MB, free: 16.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3118, allocations: 175.2 kB / 424.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3119, allocations: 33.7 kB / 424.2 MB, free: 16.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.312, allocations: 128.2 kB / 424.3 MB, free: 16.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.312, allocations: 74.98 kB / 424.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.312, allocations: 4 kB / 424.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.3121, allocations: 326.8 kB / 424.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.3123, allocations: 112.5 kB / 424.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3124, allocations: 166.1 kB / 425 MB, free: 15.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3126, allocations: 124 kB / 425.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3126, allocations: 4 kB / 425.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008765/0.3135, allocations: 474 kB / 425.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3136, allocations: 4 kB / 425.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3136, allocations: 0 / 425.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/0.3144, allocations: 200.7 kB / 425.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3146, allocations: 43.92 kB / 425.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005177/0.3151, allocations: 0.7357 MB / 426.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.3153, allocations: 23.78 kB / 426.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3153, allocations: 12 kB / 426.6 MB, free: 14.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.load.degradedMode,load.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.3154, allocations: 133.8 kB / 426.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3155, allocations: 19.77 kB / 426.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.3161, allocations: 390.2 kB / 427.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3161, allocations: 0 / 427.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3161, allocations: 4 kB / 427.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3161, allocations: 4 kB / 427.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3164, allocations: 341.2 kB / 427.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3164, allocations: 0 / 427.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3165, allocations: 27.92 kB / 427.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000644/0.3172, allocations: 192.8 kB / 427.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3172, allocations: 4 kB / 427.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004804/0.3177, allocations: 0.7319 MB / 428.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3177, allocations: 3.953 kB / 428.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.3182, allocations: 377.5 kB / 428.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.3183, allocations: 96.84 kB / 428.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.3183, allocations: 7.953 kB / 428.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3185, allocations: 19.98 kB / 428.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.3185, allocations: 19.92 kB / 428.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3186, allocations: 7.984 kB / 428.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.206e-05/0.3187, allocations: 133.6 kB / 429 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3187, allocations: 0 / 429 MB, free: 11.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3189, allocations: 56 kB / 429.1 MB, free: 11.39 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: 2 ($whenCondition1,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {3 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/0.3191, allocations: 119.8 kB / 429.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.3198, allocations: 307.5 kB / 429.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3198, allocations: 0 / 429.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.3201, allocations: 151.7 kB / 429.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3204, allocations: 20.23 kB / 429.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.3211, allocations: 0.5009 MB / 430.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3213, allocations: 0.7246 MB / 430.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.3213, allocations: 23.52 kB / 430.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3213, allocations: 3.938 kB / 430.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of Templates: time 0.004879/0.3262, allocations: 3.375 MB / 434.3 MB, free: 6.117 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.DegradedModeForLoadsCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.DegradedModeForLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.DegradedModeForLoadsCalcHelperMain.o] Error 1