Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.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.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000877/0.000877, allocations: 93.86 kB / 16.95 MB, free: 6.453 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.0008158/0.0008158, allocations: 179.2 kB / 17.84 MB, free: 6 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.617/1.617, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1784/0.1784, allocations: 38.05 MB / 310.3 MB, free: 6.02 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.0005451/0.0005451, allocations: 19.12 kB / 377.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.294, allocations: 56.33 MB / 433.5 MB, free: 18.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.003877/0.2979, allocations: 3.504 MB / 437 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2999, allocations: 1.362 MB / 438.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.3003, allocations: 19.88 kB / 438.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.3007, allocations: 79.39 kB / 438.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.301, allocations: 139.1 kB / 438.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.3016, allocations: 254.2 kB / 438.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.3021, allocations: 0.636 MB / 439.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3024, allocations: 162.8 kB / 439.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.3027, allocations: 215 kB / 439.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.3029, allocations: 222.8 kB / 440 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.3029, allocations: 20 kB / 440.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3031, allocations: 67.97 kB / 440.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.922e-05/0.3032, allocations: 95.58 kB / 440.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.3033, allocations: 125.3 kB / 440.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.3037, allocations: 0.5962 MB / 440.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3037, allocations: 4 kB / 440.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3037, allocations: 0 / 440.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3037, allocations: 0 / 440.9 MB, free: 11.3 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001339/0.3051, allocations: 0.9317 MB / 441.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3051, allocations: 8.031 kB / 441.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.3052, allocations: 67.16 kB / 442 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.3058, allocations: 0.5075 MB / 442.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.3058, allocations: 21 kB / 442.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.3059, allocations: 36 kB / 442.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.3068, allocations: 0.577 MB / 443.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3069, allocations: 4 kB / 443.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.3069, allocations: 16 kB / 443.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3069, allocations: 11.95 kB / 443.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.308, allocations: 0.5746 MB / 443.7 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.3098, allocations: 2.083 MB / 445.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.3111, allocations: 0.6586 MB / 446.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.3116, allocations: 263.3 kB / 446.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.3117, allocations: 11.97 kB / 446.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007179/0.3124, allocations: 398.1 kB / 447.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.993e-06/0.3124, allocations: 0 / 447.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001711/0.3142, allocations: 0.8257 MB / 447.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.3142, allocations: 191.9 kB / 448.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.3147, allocations: 0.499 MB / 448.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.3147, allocations: 41.69 kB / 448.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.3149, allocations: 280.2 kB / 448.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.315, allocations: 118.3 kB / 449 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.315, allocations: 12 kB / 449.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.3151, allocations: 370.7 kB / 449.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/0.3156, allocations: 244.7 kB / 449.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.3162, allocations: 374 kB / 450 MB, free: 1.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.3167, allocations: 328.1 kB / 450.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3167, allocations: 0 / 450.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001265/0.318, allocations: 0.7662 MB / 451.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.382e-05/0.3181, allocations: 235.8 kB / 451.3 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3181, allocations: 8 kB / 451.3 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3181, allocations: 4 kB / 451.3 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3186, allocations: 115.9 kB / 451.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3186, allocations: 11.92 kB / 451.5 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.319, allocations: 95.53 kB / 451.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.319, allocations: 23.95 kB / 451.6 MB, free: 120 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/0.319, allocations: 4 kB / 451.6 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001374/0.3204, allocations: 0.6745 MB / 452.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3204, allocations: 4 kB / 452.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.942e-06/0.3204, allocations: 4 kB / 452.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.3208, allocations: 116.2 kB / 452.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3209, allocations: 7.938 kB / 452.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.3212, allocations: 87.62 kB / 452.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.3213, allocations: 16 kB / 452.5 MB, free: 15.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$PRE.loadDispatcher.data.nextTimeEvent,$whenCondition3,loadDispatcher.data.nextTimeEvent,$PRE.loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEventScaled,$PRE.loadDispatcher.hydroDaily.T_start,loadDispatcher.hydroDaily.T_start,$PRE.loadDispatcher.hydroDaily.count,loadDispatcher.hydroDaily.count,$whenCondition1,$PRE.frequency.T_start,frequency.T_start,$PRE.frequency.count,frequency.count,system.initime,loadDispatcher.secondaryControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003702/0.3217, allocations: 291.2 kB / 452.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.3218, allocations: 63.2 kB / 452.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.3219, allocations: 64.59 kB / 452.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.3219, allocations: 8 kB / 452.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.3219, allocations: 4 kB / 452.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.322, allocations: 7.984 kB / 452.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.3226, allocations: 0.5361 MB / 453.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3226, allocations: 4 kB / 453.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.323, allocations: 91.88 kB / 453.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.323, allocations: 7.953 kB / 453.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.323, allocations: 15.98 kB / 453.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.323, allocations: 0 / 453.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.323, allocations: 11.88 kB / 453.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.3251, allocations: 0.9394 MB / 454.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.3254, allocations: 188.3 kB / 454.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.3254, allocations: 12 kB / 454.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.3258, allocations: 68 kB / 454.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3259, allocations: 51.86 kB / 454.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.326, allocations: 15.94 kB / 454.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004214/0.3264, allocations: 362.8 kB / 455.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3264, allocations: 0 / 455.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.327, allocations: 195.5 kB / 455.4 MB, free: 12.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (loadDispatcher.secondaryControl.I.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,loadDispatcher.data.nextTimeEvent,loadDispatcher.data.nextTimeEventScaled,loadDispatcher.hydroDaily.T_start,loadDispatcher.hydroDaily.count,$whenCondition1,frequency.T_start,frequency.count,system.initime) * Number of discrete states: 4 (frequency.count,loadDispatcher.hydroDaily.count,loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.3281, allocations: 457.1 kB / 455.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3302, allocations: 1.085 MB / 456.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3302, allocations: 4.062 kB / 456.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.3309, allocations: 287.8 kB / 457.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.3315, allocations: 118.6 kB / 457.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3334, allocations: 1.115 MB / 458.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3338, allocations: 0.8516 MB / 459.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.334, allocations: 59.41 kB / 459.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.334, allocations: 0 / 459.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of Templates: time 0.01128/0.3453, allocations: 7.93 MB / 467.3 MB, free: 220 kB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.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 OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTestCalcHelperMain.o] Error 1