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.000981/0.000981, allocations: 92.11 kB / 17.31 MB, free: 6.535 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.001145/0.001145, allocations: 178.3 kB / 18.21 MB, free: 5.68 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.806/1.806, 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.1778/0.1778, allocations: 38.06 MB / 310.7 MB, free: 5.977 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.0005921/0.0005924, allocations: 19.27 kB / 377.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3864, allocations: 56.33 MB / 434.2 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.004039/0.3905, allocations: 3.669 MB / 437.8 MB, free: 15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3925, allocations: 1.396 MB / 439.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.3928, allocations: 19.88 kB / 439.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.3932, allocations: 87.41 kB / 439.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.3935, allocations: 123.2 kB / 439.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.3941, allocations: 311.2 kB / 439.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.3947, allocations: 0.6906 MB / 440.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.395, allocations: 213.2 kB / 440.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.3953, allocations: 222.9 kB / 440.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3956, allocations: 238.7 kB / 441.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.3956, allocations: 16 kB / 441.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3958, allocations: 71.98 kB / 441.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.3959, allocations: 103.5 kB / 441.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3961, allocations: 268 kB / 441.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.3966, allocations: 0.5962 MB / 442.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3966, allocations: 3.938 kB / 442.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3966, allocations: 0 / 442.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3966, allocations: 4 kB / 442.1 MB, free: 10.64 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.00162/0.3982, allocations: 0.9163 MB / 443.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3983, allocations: 12.03 kB / 443.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.3984, allocations: 72.09 kB / 443.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.399, allocations: 0.5201 MB / 443.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.399, allocations: 29.38 kB / 443.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.3991, allocations: 40.11 kB / 443.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.4001, allocations: 0.581 MB / 444.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.4001, allocations: 3.938 kB / 444.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.4002, allocations: 16 kB / 444.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4002, allocations: 12 kB / 444.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.4015, allocations: 0.5668 MB / 444.9 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.4033, allocations: 2.103 MB / 447 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.4048, allocations: 0.6584 MB / 447.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.4054, allocations: 263.3 kB / 447.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.4055, allocations: 8 kB / 447.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008006/0.4063, allocations: 390.2 kB / 448.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.054e-06/0.4063, allocations: 0 / 448.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001986/0.4083, allocations: 0.8335 MB / 449.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.4084, allocations: 191.9 kB / 449.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.4089, allocations: 0.5106 MB / 449.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.409, allocations: 37.7 kB / 449.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4092, allocations: 276.2 kB / 450.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.4093, allocations: 122.3 kB / 450.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.4093, allocations: 49.75 kB / 450.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.4094, allocations: 366.8 kB / 450.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.41, allocations: 244.7 kB / 450.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.4107, allocations: 366 kB / 451.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.4119, allocations: 0.6391 MB / 451.9 MB, free: 376 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4119, allocations: 3.938 kB / 451.9 MB, free: 372 kB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001702/0.4136, allocations: 0.7696 MB / 452.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.4138, allocations: 228.4 kB / 452.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4138, allocations: 7.984 kB / 452.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4138, allocations: 8 kB / 452.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.4143, allocations: 123.8 kB / 453.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4143, allocations: 7.938 kB / 453.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.4149, allocations: 95.53 kB / 453.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.4149, allocations: 20 kB / 453.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.4149, allocations: 0 / 453.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001545/0.4165, allocations: 0.6863 MB / 453.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4165, allocations: 4 kB / 453.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4165, allocations: 11.94 kB / 453.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.417, allocations: 116.1 kB / 454 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.417, allocations: 11.94 kB / 454 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.4174, allocations: 79.58 kB / 454.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.4175, allocations: 23.98 kB / 454.1 MB, free: 14.09 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 ($PRE.loadDispatcher.data.nextTimeEvent,$whenCondition2,loadDispatcher.hydroDaily.count,$PRE.loadDispatcher.hydroDaily.count,loadDispatcher.hydroDaily.T_start,$PRE.loadDispatcher.hydroDaily.T_start,loadDispatcher.data.nextTimeEventScaled,$PRE.loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEvent,$whenCondition3,frequency.count,$PRE.frequency.count,frequency.T_start,$PRE.frequency.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004121/0.4179, allocations: 291.2 kB / 454.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.418, allocations: 63.23 kB / 454.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.4182, allocations: 68.53 kB / 454.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4182, allocations: 8 kB / 454.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.4182, allocations: 0 / 454.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4182, allocations: 0 / 454.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/0.4189, allocations: 0.54 MB / 455.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4189, allocations: 0 / 455.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.4194, allocations: 99.86 kB / 455.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4194, allocations: 4 kB / 455.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.4194, allocations: 11.94 kB / 455.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.4194, allocations: 4 kB / 455.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4194, allocations: 0 / 455.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.4217, allocations: 0.9632 MB / 456.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.4219, allocations: 180.3 kB / 456.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.422, allocations: 19.92 kB / 456.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.4224, allocations: 68 kB / 456.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4225, allocations: 43.94 kB / 456.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.4226, allocations: 16 kB / 456.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004393/0.423, allocations: 358.8 kB / 456.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.423, allocations: 0 / 456.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.4237, allocations: 195.6 kB / 457 MB, free: 11.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.4247, allocations: 459.1 kB / 457.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.4271, allocations: 1.092 MB / 458.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4271, allocations: 0 / 458.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007462/0.4278, allocations: 287.9 kB / 458.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.4286, allocations: 126.1 kB / 458.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.4312, allocations: 1.177 MB / 460.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.4319, allocations: 0.8593 MB / 461 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.4321, allocations: 51.42 kB / 461 MB, free: 6.98 MB / 334.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4321, allocations: 0 / 461 MB, free: 6.98 MB / 334.1 MB Notification: Performance of Templates: time 0.01264/0.4447, allocations: 7.916 MB / 469 MB, free: 15.05 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.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.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