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.0008347/0.0008348, allocations: 92.77 kB / 17.31 MB, free: 6.023 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.001071/0.001071, allocations: 174.8 kB / 18.21 MB, free: 5.41 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.819/1.819, allocations: 205.4 MB / 224.4 MB, free: 12.98 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1803/0.1803, allocations: 38.06 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.0007369/0.0007369, allocations: 12 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3366, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01254/0.3492, allocations: 10.67 MB / 444.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008333/0.3577, allocations: 4.063 MB / 448.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3596, allocations: 63.56 kB / 448.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3607, allocations: 298.2 kB / 449.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.3642, allocations: 0.8171 MB / 450 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3656, allocations: 423.2 kB / 450.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003043/0.3686, allocations: 2.775 MB / 453.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.3717, allocations: 1.436 MB / 454.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.3734, allocations: 0.5949 MB / 455.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.375, allocations: 0.8915 MB / 456.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.3752, allocations: 52 kB / 456.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.3765, allocations: 0.5108 MB / 456.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006634/0.3772, allocations: 0.5766 MB / 457.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007942/0.378, allocations: 0.6467 MB / 457.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.3798, allocations: 1.426 MB / 459.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3798, allocations: 0 / 459.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.843e-06/0.3798, allocations: 4 kB / 459.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.3798, allocations: 0 / 459.4 MB, free: 9.297 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.003322/0.3832, allocations: 1.384 MB / 460.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.3832, allocations: 8.031 kB / 460.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.3849, allocations: 275 kB / 461 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.3868, allocations: 0.9138 MB / 461.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.3869, allocations: 78.11 kB / 462 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.3873, allocations: 135.9 kB / 462.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.3898, allocations: 1.493 MB / 463.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.3899, allocations: 7.938 kB / 463.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.39, allocations: 43.98 kB / 463.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002981/0.3903, allocations: 102.2 kB / 463.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.3925, allocations: 1.254 MB / 465.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.4026, allocations: 5.676 MB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.4037, allocations: 0.5936 MB / 471.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.4043, allocations: 399.3 kB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.483e-05/0.4044, allocations: 12.55 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.4044, allocations: 43.06 kB / 471.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.805e-06/0.4044, allocations: 0 / 471.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.00796/0.4124, allocations: 3.642 MB / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.4126, allocations: 89.7 kB / 475.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.4141, allocations: 0.7351 MB / 476.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.4142, allocations: 41.7 kB / 476.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.4149, allocations: 0.5919 MB / 476.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.4152, allocations: 260.3 kB / 477.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.4154, allocations: 89.66 kB / 477.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003211/0.4158, allocations: 402.7 kB / 477.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000873/0.4166, allocations: 385.8 kB / 478 MB, free: 5.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.4178, allocations: 0.6613 MB / 478.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.4199, allocations: 1.148 MB / 479.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.42, allocations: 0 / 479.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004946/0.4249, allocations: 1.717 MB / 481.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.425, allocations: 8 kB / 481.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003651/0.4286, allocations: 1.314 MB / 482.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/0.4312, allocations: 0.5813 MB / 483.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.4322, allocations: 171.7 kB / 483.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.449, allocations: 9.473 MB / 493 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4504, allocations: 43.97 kB / 493.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.4506, allocations: 47.98 kB / 493.1 MB, free: 5.914 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.4516, allocations: 385.4 kB / 493.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.4518, allocations: 90.88 kB / 493.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.4545, allocations: 1.248 MB / 494.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.4545, allocations: 8 kB / 494.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.4545, allocations: 8 kB / 494.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.4545, allocations: 7.984 kB / 494.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.461, allocations: 2.392 MB / 497.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.4611, allocations: 0 / 497.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.4618, allocations: 111.8 kB / 497.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.4633, allocations: 375.6 kB / 497.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.4634, allocations: 27.98 kB / 497.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/0.4745, allocations: 8.505 MB / 0.4944 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.4745, allocations: 12.03 kB / 0.4944 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.4786, allocations: 1.669 MB / 0.496 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/0.4794, allocations: 239.7 kB / 0.4963 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.4797, allocations: 24 kB / 0.4963 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.4803, allocations: 23.97 kB / 0.4963 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.4806, allocations: 64.36 kB / 0.4964 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.4806, allocations: 23.98 kB / 0.4964 GB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.4817, allocations: 0.5107 MB / 0.4969 GB, free: 5.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4817, allocations: 0 / 0.4969 GB, free: 5.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002126/0.4838, allocations: 368 kB / 0.4973 GB, free: 4.965 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (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.0004503/0.4843, allocations: 142.8 kB / 0.4974 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003791/0.4881, allocations: 1.571 MB / 0.4989 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4881, allocations: 0.5 kB / 0.4989 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.4903, allocations: 1.098 MB / 0.5 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.4922, allocations: 195.2 kB / 0.5002 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.4981, allocations: 3.471 MB / 0.5036 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.4994, allocations: 1.258 MB / 0.5048 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.4996, allocations: 71.42 kB / 0.5049 GB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4996, allocations: 0 / 0.5049 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.2945/0.7941, allocations: 32.58 MB / 0.5367 GB, free: 75.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++ -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.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