Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009155/0.0009148, allocations: 93.33 kB / 17.31 MB, free: 6.531 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.001325/0.001325, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.825/1.825, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1827/0.1827, 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.0005911/0.0005911, allocations: 20 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3285, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01136/0.3399, allocations: 11.63 MB / 445.8 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009199/0.3491, allocations: 4.453 MB / 450.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.3512, allocations: 75.44 kB / 450.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.3523, allocations: 302.1 kB / 450.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.3553, allocations: 0.8638 MB / 451.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3569, allocations: 0.5811 MB / 452 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004085/0.361, allocations: 3.051 MB / 455.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.364, allocations: 1.643 MB / 456.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.3657, allocations: 0.6571 MB / 457.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.3673, allocations: 0.9615 MB / 458.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.3675, allocations: 64 kB / 458.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.3687, allocations: 0.5108 MB / 458.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.3695, allocations: 0.6155 MB / 459.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.3706, allocations: 0.7284 MB / 460.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.3729, allocations: 1.753 MB / 462 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3729, allocations: 0 / 462 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.373, allocations: 4 kB / 462 MB, free: 6.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.84e-05/0.373, allocations: 0 / 462 MB, free: 6.641 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003293/0.3763, allocations: 1.528 MB / 463.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3763, allocations: 8.031 kB / 463.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.378, allocations: 298.8 kB / 463.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.381, allocations: 1.044 MB / 464.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.3812, allocations: 86.73 kB / 465 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/0.3816, allocations: 151.8 kB / 465.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/0.3848, allocations: 1.705 MB / 466.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.3849, allocations: 7.938 kB / 466.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.385, allocations: 51.98 kB / 466.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002959/0.3853, allocations: 110.3 kB / 467 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.3878, allocations: 1.442 MB / 468.4 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008855/0.3966, allocations: 6.103 MB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.3978, allocations: 0.7136 MB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/0.3985, allocations: 468.3 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.849e-05/0.3986, allocations: 20.64 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.3986, allocations: 43.16 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.946e-06/0.3987, allocations: 0 / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.01002/0.4087, allocations: 4.446 MB / 480.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.4089, allocations: 166.9 kB / 480.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.4102, allocations: 0.8376 MB / 481.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.4103, allocations: 45.69 kB / 481.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/0.4109, allocations: 0.6311 MB / 481.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.4112, allocations: 307.7 kB / 482.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.4114, allocations: 101.7 kB / 482.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4115, allocations: 353.9 kB / 482.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008012/0.4124, allocations: 494.3 kB / 483.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.4135, allocations: 0.7737 MB / 483.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.4153, allocations: 1.32 MB / 485.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4153, allocations: 4 kB / 485.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003938/0.4193, allocations: 1.913 MB / 487.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.4196, allocations: 336.2 kB / 487.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003198/0.4228, allocations: 1.514 MB / 489 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.4249, allocations: 0.5739 MB / 489.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.4265, allocations: 487.4 kB / 490 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.4431, allocations: 13.25 MB / 0.4915 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.4443, allocations: 79.94 kB / 0.4916 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.4444, allocations: 44 kB / 0.4916 GB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4444, allocations: 4 kB / 0.4916 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003494/0.4479, allocations: 1.753 MB / 0.4933 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002966/0.4509, allocations: 1.452 MB / 0.4947 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.4529, allocations: 0.5738 MB / 0.4953 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.4537, allocations: 215.7 kB / 0.4955 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.4654, allocations: 10.17 MB / 0.5054 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.4665, allocations: 59.89 kB / 0.5055 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.4666, allocations: 40 kB / 0.5055 GB, free: 12.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems 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 {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001019/0.4676, allocations: 0.5162 MB / 0.506 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.4679, allocations: 102.7 kB / 0.5061 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.4706, allocations: 1.417 MB / 0.5075 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.4706, allocations: 15.98 kB / 0.5075 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4706, allocations: 4 kB / 0.5075 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4706, allocations: 3.984 kB / 0.5076 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/0.4759, allocations: 2.882 MB / 0.5104 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.476, allocations: 4 kB / 0.5104 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.4765, allocations: 127.9 kB / 0.5105 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.4777, allocations: 383.9 kB / 0.5109 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.4777, allocations: 39.91 kB / 0.5109 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2675/0.7452, allocations: 8.662 MB / 0.5194 GB, free: 80.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.7453, allocations: 7 kB / 0.5194 GB, free: 80.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/0.7489, allocations: 1.959 MB / 0.5213 GB, free: 80.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.7494, allocations: 261.1 kB / 0.5215 GB, free: 80.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.7495, allocations: 31.09 kB / 0.5216 GB, free: 80.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.7501, allocations: 43.94 kB / 0.5216 GB, free: 80.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.7503, allocations: 73.14 kB / 0.5217 GB, free: 80.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.7503, allocations: 29.39 kB / 0.5217 GB, free: 80.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009514/0.7513, allocations: 0.5789 MB / 0.5223 GB, free: 80.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7513, allocations: 2.938 kB / 0.5223 GB, free: 80.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002322/0.7536, allocations: 0.6466 MB / 0.5229 GB, free: 80.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,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 (66): * Single equations (assignments): 60 * 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.0003673/0.754, allocations: 158 kB / 0.523 GB, free: 80 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005821/0.7598, allocations: 3.548 MB / 0.5265 GB, free: 78.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7599, allocations: 1.719 kB / 0.5265 GB, free: 78.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.7619, allocations: 1.183 MB / 0.5277 GB, free: 77.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.7639, allocations: 226.8 kB / 0.5279 GB, free: 77.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.7688, allocations: 3.918 MB / 0.5317 GB, free: 75.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.7697, allocations: 1.343 MB / 0.533 GB, free: 74.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.77, allocations: 83.48 kB / 0.5331 GB, free: 74.51 MB / 398.1 MB Notification: Performance of SimCode: time 9.01e-07/0.77, allocations: 0 / 0.5331 GB, free: 74.51 MB / 398.1 MB Notification: Performance of Templates: time 0.03867/0.8086, allocations: 46.68 MB / 0.5787 GB, free: 31.3 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o] Error 1