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.0009104/0.0009105, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0008968/0.0008967, allocations: 202.9 kB / 18.08 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.203/1.203, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1559/0.1559, allocations: 37.99 MB / 309.3 MB, free: 6.254 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.001183/0.001184, allocations: 63.03 kB / 375.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1907, allocations: 55.25 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006863/0.1976, allocations: 8.762 MB / 439.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.2015, allocations: 3.416 MB / 442.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.2023, allocations: 55.62 kB / 442.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2037, allocations: 0.6801 MB / 443.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.2047, allocations: 0.6303 MB / 444 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.2053, allocations: 339.4 kB / 444.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.2064, allocations: 1.988 MB / 446.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.207, allocations: 0.6698 MB / 447 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.2074, allocations: 485.8 kB / 447.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.2079, allocations: 0.6619 MB / 448.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.312e-05/0.208, allocations: 59.94 kB / 448.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005533/0.2086, allocations: 479.1 kB / 448.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.2088, allocations: 434.8 kB / 449.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.2091, allocations: 493.5 kB / 449.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.2099, allocations: 1.076 MB / 450.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2099, allocations: 0 / 450.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2099, allocations: 8 kB / 450.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.2099, allocations: 0 / 450.7 MB, free: 15.54 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.001984/0.2119, allocations: 1.277 MB / 452 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2119, allocations: 8.031 kB / 452 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.213, allocations: 215.5 kB / 452.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.2142, allocations: 0.702 MB / 452.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.2143, allocations: 66.3 kB / 453 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.2145, allocations: 95.92 kB / 453 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.216, allocations: 1.1 MB / 454.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.216, allocations: 11.94 kB / 454.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/0.2161, allocations: 24 kB / 454.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.2163, allocations: 77.95 kB / 454.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2175, allocations: 0.8704 MB / 455.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00461/0.2221, allocations: 4.012 MB / 459.1 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.2227, allocations: 435.7 kB / 459.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.2231, allocations: 282.8 kB / 459.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.2231, allocations: 4.438 kB / 459.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.2232, allocations: 43 kB / 459.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.454e-06/0.2232, allocations: 0 / 459.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.002627/0.2258, allocations: 1.713 MB / 461.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.2259, allocations: 93.48 kB / 461.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.2265, allocations: 0.586 MB / 462.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.2265, allocations: 33.7 kB / 462.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.2268, allocations: 466.5 kB / 462.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.2269, allocations: 193.2 kB / 463 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.2271, allocations: 134.6 kB / 463.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2273, allocations: 390.8 kB / 463.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.2276, allocations: 245.8 kB / 463.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.2281, allocations: 480.9 kB / 464.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.229, allocations: 0.7625 MB / 464.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.229, allocations: 4 kB / 464.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001776/0.2308, allocations: 1.114 MB / 466.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2308, allocations: 8 kB / 466.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001316/0.2322, allocations: 0.8037 MB / 466.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000665/0.2328, allocations: 218.4 kB / 467.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.2333, allocations: 163.7 kB / 467.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.2381, allocations: 5.241 MB / 472.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.2385, allocations: 35.88 kB / 472.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.2386, allocations: 32 kB / 472.6 MB, free: 8.504 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.0003819/0.239, allocations: 309.5 kB / 472.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2391, allocations: 63.25 kB / 472.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008836/0.24, allocations: 0.6085 MB / 473.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.24, allocations: 4 kB / 473.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.24, allocations: 4 kB / 473.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.24, allocations: 7.922 kB / 473.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.2421, allocations: 1.494 MB / 475 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2421, allocations: 4.031 kB / 475 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.2427, allocations: 131.8 kB / 475.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2427, allocations: 4 kB / 475.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.2428, allocations: 12 kB / 475.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2428, allocations: 4 kB / 475.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2428, allocations: 4.281 kB / 475.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2439, allocations: 0.927 MB / 476.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.2441, allocations: 184.2 kB / 476.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.2442, allocations: 19.94 kB / 476.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.2445, allocations: 19.98 kB / 476.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.2446, allocations: 36.39 kB / 476.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.2446, allocations: 19.94 kB / 476.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004149/0.245, allocations: 419 kB / 476.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.245, allocations: 0 / 476.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006922/0.2457, allocations: 236 kB / 477 MB, free: 3.879 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.0002556/0.246, allocations: 141.3 kB / 477.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.2474, allocations: 1.029 MB / 478.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2474, allocations: 0 / 478.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.2478, allocations: 259.7 kB / 478.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.2485, allocations: 155.1 kB / 478.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.2514, allocations: 2.483 MB / 481.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.252, allocations: 1.082 MB / 482.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.2521, allocations: 63.42 kB / 482.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2522, allocations: 0 / 482.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01612/0.2683, allocations: 15.22 MB / 497.4 MB, free: 15.32 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