Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009279, allocations: 93.42 kB / 16.95 MB, free: 5.953 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.001159/0.001159, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.612/1.612, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.182/0.182, allocations: 38.04 MB / 310.3 MB, free: 6.027 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.0005237/0.0005237, allocations: 16 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3, allocations: 56.33 MB / 433.5 MB, free: 18.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008574/0.3086, allocations: 10.02 MB / 443.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.3145, allocations: 3.87 MB / 447.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007956/0.3154, allocations: 63.56 kB / 447.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.3161, allocations: 317.8 kB / 447.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.318, allocations: 0.9177 MB / 448.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3193, allocations: 467.2 kB / 449.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.3211, allocations: 2.178 MB / 451.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.3229, allocations: 1.313 MB / 452.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.324, allocations: 0.6145 MB / 453.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3253, allocations: 0.8645 MB / 454.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.3254, allocations: 56 kB / 454.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009994/0.3264, allocations: 427.1 kB / 454.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006452/0.3271, allocations: 0.5845 MB / 455.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.3275, allocations: 269 kB / 455.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3289, allocations: 1.422 MB / 456.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3289, allocations: 0 / 456.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3289, allocations: 0 / 456.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.329, allocations: 0 / 456.8 MB, free: 11.45 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.00266/0.3316, allocations: 1.407 MB / 458.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3317, allocations: 8.031 kB / 458.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.3331, allocations: 270.1 kB / 458.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.3348, allocations: 0.882 MB / 459.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.3348, allocations: 82.09 kB / 459.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.3351, allocations: 131.8 kB / 459.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.3374, allocations: 1.493 MB / 461.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.3375, allocations: 7.906 kB / 461.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/0.3376, allocations: 43.98 kB / 461.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000252/0.3378, allocations: 102.2 kB / 461.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.3398, allocations: 1.246 MB / 462.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00783/0.3477, allocations: 5.68 MB / 468.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.3486, allocations: 0.5858 MB / 468.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.3491, allocations: 395.3 kB / 469.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.3492, allocations: 16.55 kB / 469.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3493, allocations: 43.06 kB / 469.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.958e-06/0.3493, allocations: 0 / 469.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.007091/0.3564, allocations: 3.63 MB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.3565, allocations: 89.72 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.3574, allocations: 0.7312 MB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.3574, allocations: 41.7 kB / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.3579, allocations: 0.5919 MB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.3581, allocations: 268.1 kB / 474.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.3582, allocations: 23.94 kB / 474.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3584, allocations: 402.7 kB / 475 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.359, allocations: 381.8 kB / 475.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.3598, allocations: 0.6574 MB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.3606, allocations: 0.5065 MB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3606, allocations: 0 / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003042/0.3637, allocations: 1.705 MB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.3637, allocations: 8 kB / 478.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002496/0.3662, allocations: 1.299 MB / 479.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.3679, allocations: 0.5775 MB / 480.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.3685, allocations: 171.7 kB / 480.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.3798, allocations: 9.451 MB / 489.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/0.3807, allocations: 47.88 kB / 489.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.3808, allocations: 43.98 kB / 489.8 MB, free: 8.992 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007064/0.3815, allocations: 393.3 kB / 490.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3817, allocations: 90.88 kB / 490.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.3839, allocations: 1.248 MB / 491.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3839, allocations: 11.95 kB / 491.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3839, allocations: 4 kB / 491.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3839, allocations: 7.984 kB / 491.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/0.3879, allocations: 2.385 MB / 493.9 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.388, allocations: 4 kB / 493.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.3884, allocations: 107.9 kB / 494 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009933/0.3894, allocations: 376 kB / 494.4 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.3895, allocations: 28.17 kB / 494.4 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007635/0.3971, allocations: 8.49 MB / 0.4911 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3971, allocations: 4.031 kB / 0.4911 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.3998, allocations: 1.685 MB / 0.4928 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.4002, allocations: 239.8 kB / 0.493 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4003, allocations: 23.98 kB / 0.493 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.4007, allocations: 23.98 kB / 0.493 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4008, allocations: 60.47 kB / 0.4931 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.4009, allocations: 27.89 kB / 0.4931 GB, free: 8.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006951/0.4016, allocations: 0.499 MB / 0.4936 GB, free: 8.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4016, allocations: 4 kB / 0.4936 GB, free: 8.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001433/0.403, allocations: 368 kB / 0.494 GB, free: 8.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000347/0.4034, allocations: 134.7 kB / 0.4941 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.4057, allocations: 1.583 MB / 0.4956 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4058, allocations: 0 / 0.4956 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.4073, allocations: 1.091 MB / 0.4967 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/0.4082, allocations: 198.7 kB / 0.4969 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.4129, allocations: 3.392 MB / 0.5002 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.4139, allocations: 1.255 MB / 0.5014 GB, free: 204 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4141, allocations: 67.42 kB / 0.5015 GB, free: 136 kB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4141, allocations: 0 / 0.5015 GB, free: 136 kB / 382.1 MB Notification: Performance of Templates: time 0.2741/0.6882, allocations: 32.63 MB / 0.5334 GB, free: 78.48 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLineCalcHelperMain.o] Error 1