Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008848, allocations: 93.31 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.001173/0.001173, allocations: 177.7 kB / 18.21 MB, free: 5.676 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.799/1.799, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2019/0.2019, allocations: 38.05 MB / 310.7 MB, free: 5.914 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.0005279/0.0005279, allocations: 12 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3087, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004817/0.3136, allocations: 3.211 MB / 437.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3155, allocations: 1.303 MB / 438.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.3157, allocations: 11.94 kB / 438.7 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.3159, allocations: 27.77 kB / 438.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.3164, allocations: 163.3 kB / 438.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.3167, allocations: 123.7 kB / 439 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.3171, allocations: 386.9 kB / 439.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006661/0.3178, allocations: 254.9 kB / 439.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.318, allocations: 95.52 kB / 439.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.3182, allocations: 111.5 kB / 439.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3183, allocations: 15.98 kB / 439.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.3187, allocations: 279.3 kB / 440.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.3188, allocations: 51.81 kB / 440.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3189, allocations: 117.2 kB / 440.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3192, allocations: 211.5 kB / 440.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3192, allocations: 0 / 440.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.3192, allocations: 0 / 440.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3192, allocations: 0 / 440.5 MB, free: 12.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006843/0.3199, allocations: 479 kB / 440.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.32, allocations: 12.03 kB / 440.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006586/0.3206, allocations: 76.58 kB / 441 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.3209, allocations: 251.9 kB / 441.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3209, allocations: 8.703 kB / 441.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.321, allocations: 24.27 kB / 441.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.3214, allocations: 272 kB / 441.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3214, allocations: 0 / 441.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.3214, allocations: 4 kB / 441.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.3215, allocations: 24.25 kB / 441.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.3218, allocations: 220.4 kB / 441.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.3232, allocations: 1.214 MB / 443 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3235, allocations: 133.1 kB / 443.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.3235, allocations: 49.84 kB / 443.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3236, allocations: 0 / 443.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3236, allocations: 42.5 kB / 443.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3236, allocations: 0 / 443.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003547/0.324, allocations: 165.3 kB / 443.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.324, allocations: 81.05 kB / 443.5 MB, free: 9.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3242, allocations: 207 kB / 443.7 MB, free: 8.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3242, allocations: 25.7 kB / 443.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.3243, allocations: 155.8 kB / 443.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3244, allocations: 43.39 kB / 443.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3244, allocations: 29.83 kB / 443.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.3245, allocations: 326.8 kB / 444.2 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.3246, allocations: 43.97 kB / 444.3 MB, free: 8.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3247, allocations: 122 kB / 444.4 MB, free: 8.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3249, allocations: 186.1 kB / 444.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3249, allocations: 0 / 444.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002502/0.3251, allocations: 213.2 kB / 444.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3252, allocations: 4 kB / 444.8 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3252, allocations: 7.984 kB / 444.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.3252, allocations: 7.938 kB / 444.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.3254, allocations: 55.91 kB / 444.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008158/0.3263, allocations: 1.325 MB / 446.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.3264, allocations: 15.83 kB / 446.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.3264, allocations: 15.98 kB / 446.2 MB, free: 6.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.3266, allocations: 145.7 kB / 446.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3266, allocations: 19.75 kB / 446.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.3268, allocations: 146.6 kB / 446.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3269, allocations: 0 / 446.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3269, allocations: 4 kB / 446.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3269, allocations: 3.938 kB / 446.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.3274, allocations: 499.9 kB / 447 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3274, allocations: 0 / 447 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3276, allocations: 35.98 kB / 447.1 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3276, allocations: 0 / 447.1 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.3276, allocations: 11.98 kB / 447.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/0.3284, allocations: 1.325 MB / 448.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3284, allocations: 4.031 kB / 448.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3287, allocations: 289.9 kB / 448.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.3288, allocations: 96.84 kB / 448.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3288, allocations: 8.156 kB / 448.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.3289, allocations: 7.938 kB / 448.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.329, allocations: 11.92 kB / 448.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.329, allocations: 4 kB / 448.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.3291, allocations: 152.4 kB / 449 MB, free: 3.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3291, allocations: 0 / 449 MB, free: 3.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.3295, allocations: 51.89 kB / 449 MB, free: 2.984 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.3296, allocations: 99.25 kB / 449.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.3299, allocations: 127.8 kB / 449.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3299, allocations: 0 / 449.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3301, allocations: 59.91 kB / 449.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3305, allocations: 32.8 kB / 449.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.3315, allocations: 0.6708 MB / 450 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3319, allocations: 0.7401 MB / 450.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.3319, allocations: 19.44 kB / 450.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3319, allocations: 0 / 450.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of Templates: time 0.005476/0.3374, allocations: 2.991 MB / 453.7 MB, free: 14.17 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.Generic.Test.GeneratorTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.o] Error 1