Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008368, allocations: 96.44 kB / 17.31 MB, free: 5.941 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.0009813/0.0009813, allocations: 175.2 kB / 18.21 MB, free: 5.422 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.835/1.835, allocations: 205.4 MB / 224.4 MB, free: 12.92 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1828/0.1828, allocations: 38.05 MB / 310.7 MB, free: 5.887 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.0006121/0.0006121, allocations: 12 kB / 377.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.321, allocations: 56.32 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007803/0.3288, allocations: 8.295 MB / 442.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005284/0.3342, allocations: 3.366 MB / 445.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008234/0.335, allocations: 47.69 kB / 445.9 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.3357, allocations: 182.8 kB / 446 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.3373, allocations: 0.6342 MB / 446.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009515/0.3383, allocations: 339.4 kB / 447 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.3401, allocations: 1.996 MB / 449 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.3415, allocations: 1.017 MB / 450 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.3421, allocations: 457.8 kB / 450.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.3429, allocations: 0.6111 MB / 451.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.343, allocations: 40 kB / 451.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007414/0.3437, allocations: 459.1 kB / 451.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.344, allocations: 406.8 kB / 452 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.3444, allocations: 491.2 kB / 452.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3454, allocations: 1.064 MB / 453.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3455, allocations: 0 / 453.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3455, allocations: 0 / 453.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3455, allocations: 0 / 453.5 MB, free: 15.2 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00218/0.3477, allocations: 1.106 MB / 454.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.3477, allocations: 8.031 kB / 454.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.349, allocations: 215.5 kB / 454.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.3504, allocations: 0.7059 MB / 455.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.3505, allocations: 62.36 kB / 455.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.3508, allocations: 95.92 kB / 455.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.3524, allocations: 1.1 MB / 456.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.3525, allocations: 3.906 kB / 456.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.3526, allocations: 36 kB / 456.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.3528, allocations: 69.95 kB / 456.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.3542, allocations: 0.8743 MB / 457.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005482/0.3597, allocations: 4.009 MB / 461.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.3604, allocations: 443.6 kB / 462.2 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.3608, allocations: 279 kB / 462.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.3608, allocations: 4.438 kB / 462.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.3609, allocations: 39 kB / 462.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.3609, allocations: 3.938 kB / 462.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003038/0.3639, allocations: 1.725 MB / 464.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.364, allocations: 89.42 kB / 464.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.3647, allocations: 0.5938 MB / 464.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.3648, allocations: 37.7 kB / 465 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.3651, allocations: 462.5 kB / 465.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3653, allocations: 189.3 kB / 465.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.3654, allocations: 69.67 kB / 465.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3656, allocations: 378.8 kB / 466 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.366, allocations: 253.8 kB / 466.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.3665, allocations: 476.9 kB / 466.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/0.3675, allocations: 0.7703 MB / 467.5 MB, free: 488 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3675, allocations: 0 / 467.5 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002039/0.3696, allocations: 1.119 MB / 468.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3696, allocations: 8 kB / 468.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001365/0.371, allocations: 0.7956 MB / 469.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/0.3717, allocations: 226.6 kB / 469.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.3722, allocations: 155.7 kB / 469.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/0.3778, allocations: 5.241 MB / 475.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.3785, allocations: 39.97 kB / 475.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/0.3785, allocations: 31.94 kB / 475.1 MB, free: 8.379 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005524/0.3791, allocations: 305.5 kB / 475.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3792, allocations: 67.16 kB / 475.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009885/0.3802, allocations: 0.6202 MB / 476.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3802, allocations: 4 kB / 476.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.3802, allocations: 0 / 476.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3803, allocations: 7.922 kB / 476.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.3826, allocations: 1.49 MB / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3827, allocations: 0 / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/0.3832, allocations: 131.8 kB / 477.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3833, allocations: 4 kB / 477.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3833, allocations: 16.16 kB / 477.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.3833, allocations: 7.984 kB / 477.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3833, allocations: 7.938 kB / 477.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.3845, allocations: 0.9232 MB / 478.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.3847, allocations: 188.1 kB / 478.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.3848, allocations: 16 kB / 478.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.3851, allocations: 23.97 kB / 478.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.3852, allocations: 28.41 kB / 479 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.3853, allocations: 19.92 kB / 479 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.3858, allocations: 419 kB / 479.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3858, allocations: 4 kB / 479.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008831/0.3867, allocations: 228 kB / 479.6 MB, free: 3.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000339/0.387, allocations: 141.5 kB / 479.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3887, allocations: 1.03 MB / 480.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3888, allocations: 4.188 kB / 480.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.3891, allocations: 270.2 kB / 481 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009749/0.3901, allocations: 143.7 kB / 481.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.3944, allocations: 2.629 MB / 483.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/0.3952, allocations: 1.082 MB / 484.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.3954, allocations: 63.42 kB / 485 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3954, allocations: 0 / 485 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Templates: time 0.02443/0.4198, allocations: 15.13 MB / 0.4884 GB, free: 15.13 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.AC3ph.Generation.TurbineGeneratorCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorCalcHelperMain.o] Error 1