Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.0008265, allocations: 93.44 kB / 17.31 MB, free: 6.531 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.0008344/0.0008344, allocations: 178.1 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.721/1.721, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1938/0.1938, allocations: 38.05 MB / 310.7 MB, free: 5.91 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.0006159/0.0006159, allocations: 16 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.342, allocations: 56.32 MB / 434.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.00574/0.3478, allocations: 5.141 MB / 439.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.3511, allocations: 2.273 MB / 441.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.3516, allocations: 27.81 kB / 441.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.3521, allocations: 95.28 kB / 441.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.3527, allocations: 302.6 kB / 442 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.3534, allocations: 363 kB / 442.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.3541, allocations: 1.01 MB / 443.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.355, allocations: 0.6285 MB / 444 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.3553, allocations: 270.6 kB / 444.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.3556, allocations: 310.4 kB / 444.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.3557, allocations: 20 kB / 444.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.3561, allocations: 379.1 kB / 444.9 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3562, allocations: 127.5 kB / 445 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.3564, allocations: 307.9 kB / 445.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.357, allocations: 0.6936 MB / 446 MB, free: 6.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.357, allocations: 0 / 446 MB, free: 6.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.357, allocations: 0 / 446 MB, free: 6.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.357, allocations: 4 kB / 446 MB, free: 6.703 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001642/0.3586, allocations: 0.9255 MB / 447 MB, free: 5.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3587, allocations: 8.031 kB / 447 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/0.3595, allocations: 144 kB / 447.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.3602, allocations: 0.5131 MB / 447.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.3602, allocations: 41.31 kB / 447.7 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.49e-05/0.3603, allocations: 52.36 kB / 447.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.3614, allocations: 0.6944 MB / 448.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3614, allocations: 0 / 448.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/0.3615, allocations: 20 kB / 448.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.3615, allocations: 28.98 kB / 448.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3627, allocations: 0.6323 MB / 449.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.3655, allocations: 2.708 MB / 451.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.3667, allocations: 0.6557 MB / 452.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.3672, allocations: 218.3 kB / 452.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.3672, allocations: 16.34 kB / 452.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006418/0.3679, allocations: 317.8 kB / 453 MB, free: 15.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.764e-06/0.3679, allocations: 0 / 453 MB, free: 15.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.001856/0.3698, allocations: 0.7953 MB / 453.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.3699, allocations: 140.6 kB / 453.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.3706, allocations: 0.4981 MB / 454.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.3707, allocations: 33.7 kB / 454.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.371, allocations: 304.1 kB / 454.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3711, allocations: 138.1 kB / 454.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.3712, allocations: 53.62 kB / 454.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3714, allocations: 362.8 kB / 455.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.3719, allocations: 205 kB / 455.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.3725, allocations: 335.2 kB / 455.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3735, allocations: 0.549 MB / 456.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3735, allocations: 0 / 456.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001924/0.3755, allocations: 0.8348 MB / 457.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.3757, allocations: 214.7 kB / 457.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3757, allocations: 4 kB / 457.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.3763, allocations: 148.8 kB / 457.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.3767, allocations: 83.89 kB / 457.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.3804, allocations: 2.498 MB / 460.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.3809, allocations: 83.55 kB / 460.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.381, allocations: 20 kB / 460.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.381, allocations: 4 kB / 460.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001376/0.3824, allocations: 0.6505 MB / 460.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3824, allocations: 0 / 460.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.3827, allocations: 128.7 kB / 461 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.3831, allocations: 92.14 kB / 461.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.3859, allocations: 2.245 MB / 463.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.3864, allocations: 83.48 kB / 463.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.3864, allocations: 20 kB / 463.5 MB, free: 4.387 MB / 334.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: 7 (system.initime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004367/0.3868, allocations: 289 kB / 463.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.387, allocations: 55.33 kB / 463.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.3883, allocations: 0.5473 MB / 464.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3883, allocations: 4 kB / 464.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3883, allocations: 0 / 464.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3883, allocations: 8 kB / 464.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.3904, allocations: 1.205 MB / 465.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3904, allocations: 3.938 kB / 465.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.3909, allocations: 91.94 kB / 465.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.391, allocations: 40.78 kB / 465.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.3911, allocations: 11.98 kB / 465.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.3924, allocations: 1.347 MB / 467.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3924, allocations: 3.938 kB / 467.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.3942, allocations: 0.8879 MB / 468 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3944, allocations: 180.2 kB / 468.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.3945, allocations: 8 kB / 468.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.3949, allocations: 59.94 kB / 468.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3951, allocations: 27.95 kB / 468.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.3951, allocations: 19.94 kB / 468.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006171/0.3957, allocations: 358.8 kB / 468.6 MB, free: 15 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3958, allocations: 0 / 468.6 MB, free: 15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3968, allocations: 255.3 kB / 468.8 MB, free: 14.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.397, allocations: 114.6 kB / 469 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.3994, allocations: 1.168 MB / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.3995, allocations: 0 / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.4001, allocations: 358.9 kB / 470.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007761/0.4009, allocations: 121.8 kB / 470.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4033, allocations: 1.589 MB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.4038, allocations: 0.8981 MB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.4039, allocations: 43.42 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.404, allocations: 0 / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Templates: time 0.01253/0.4165, allocations: 9.53 MB / 482.7 MB, free: 0.7969 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.HydroPlantTest1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1CalcHelperMain.o] Error 1