Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009815, allocations: 92.88 kB / 17.31 MB, free: 5.59 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.001269/0.001269, allocations: 178.6 kB / 18.21 MB, free: 5.191 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.759/1.759, 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.1723/0.1723, allocations: 38.05 MB / 310.7 MB, free: 5.906 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.0005532/0.0005533, allocations: 19.98 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3567, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004752/0.3616, allocations: 4.958 MB / 439.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.3646, allocations: 2.626 MB / 441.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.3649, allocations: 19.88 kB / 441.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3651, allocations: 67.47 kB / 441.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000935/0.3661, allocations: 494.3 kB / 442.3 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.3665, allocations: 247.4 kB / 442.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008328/0.3674, allocations: 1.138 MB / 443.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/0.3683, allocations: 0.575 MB / 444.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.3686, allocations: 250.8 kB / 444.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.3689, allocations: 322.8 kB / 444.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.369, allocations: 23.94 kB / 444.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.3698, allocations: 0.7638 MB / 445.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.37, allocations: 179.5 kB / 445.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.3702, allocations: 244.5 kB / 446 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.3707, allocations: 0.565 MB / 446.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3707, allocations: 0 / 446.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3707, allocations: 0 / 446.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3707, allocations: 0 / 446.6 MB, free: 6.18 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009189/0.3717, allocations: 0.6904 MB / 447.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3717, allocations: 16.03 kB / 447.3 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.3732, allocations: 196.2 kB / 447.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.3736, allocations: 370.2 kB / 447.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.3736, allocations: 29.38 kB / 447.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.186e-05/0.3737, allocations: 44.36 kB / 447.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.3745, allocations: 0.6305 MB / 448.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3746, allocations: 0 / 448.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.3746, allocations: 19.94 kB / 448.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.3747, allocations: 40.97 kB / 448.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.3754, allocations: 0.6011 MB / 449.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.378, allocations: 2.276 MB / 451.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.3786, allocations: 494.3 kB / 452 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.3789, allocations: 233.7 kB / 452.2 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3789, allocations: 7.984 kB / 452.2 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3789, allocations: 38.56 kB / 452.2 MB, free: 244 kB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.379, allocations: 0 / 452.2 MB, free: 244 kB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.003593/0.3826, allocations: 1.716 MB / 453.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.3826, allocations: 85.11 kB / 454 MB, free: 14.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.383, allocations: 279 kB / 454.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.383, allocations: 33.7 kB / 454.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3832, allocations: 232.2 kB / 454.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.3833, allocations: 149.8 kB / 454.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.3834, allocations: 45.7 kB / 454.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3836, allocations: 350.7 kB / 455.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3839, allocations: 181 kB / 455.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.3842, allocations: 290.4 kB / 455.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.3849, allocations: 0.4966 MB / 456.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3849, allocations: 0 / 456.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001165/0.3861, allocations: 0.6848 MB / 456.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3861, allocations: 4 kB / 456.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3862, allocations: 7.938 kB / 456.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.3868, allocations: 181 kB / 456.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.3871, allocations: 91.83 kB / 457 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.3908, allocations: 2.535 MB / 459.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.3911, allocations: 23.98 kB / 459.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.3911, allocations: 16 kB / 459.6 MB, free: 8.512 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002949/0.3914, allocations: 201.6 kB / 459.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.3915, allocations: 35.62 kB / 459.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.3927, allocations: 0.6412 MB / 460.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3927, allocations: 4 kB / 460.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3927, allocations: 4 kB / 460.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3928, allocations: 0 / 460.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.3952, allocations: 1.359 MB / 461.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3952, allocations: 0 / 461.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.3955, allocations: 79.95 kB / 461.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.396, allocations: 144.7 kB / 462 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.3961, allocations: 11.98 kB / 462.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.3991, allocations: 2.307 MB / 464.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-05/0.3991, allocations: 4 kB / 464.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.4006, allocations: 0.9523 MB / 465.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4007, allocations: 112.7 kB / 465.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.4008, allocations: 11.94 kB / 465.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.401, allocations: 19.98 kB / 465.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.4011, allocations: 31.95 kB / 465.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.4011, allocations: 16 kB / 465.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.4013, allocations: 201.9 kB / 465.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4013, allocations: 0 / 465.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006309/0.402, allocations: 140 kB / 465.8 MB, free: 1.965 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.4021, allocations: 107.2 kB / 466 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4034, allocations: 0.6575 MB / 466.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4034, allocations: 0.875 kB / 466.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.4041, allocations: 442.2 kB / 467 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.4047, allocations: 61.27 kB / 467.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.4068, allocations: 1.444 MB / 468.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.4075, allocations: 0.8671 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4076, allocations: 39.42 kB / 469.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4076, allocations: 4 kB / 469.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01018/0.4178, allocations: 6.831 MB / 476.3 MB, free: 7.422 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.GeneratorTest2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o] Error 1