Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007275/0.0007277, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001091, allocations: 192.1 kB / 291.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4682/0.4682, allocations: 78.55 MB / 420.9 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 8 kB / 0.4893 GB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 69.37 MB / 0.557 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.246/0.3977, allocations: 6.853 MB / 0.5637 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.4023, allocations: 2.146 MB / 0.5658 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007706/0.4031, allocations: 14.38 kB / 0.5658 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.4038, allocations: 191.2 kB / 0.566 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.4054, allocations: 0.6798 MB / 0.5667 GB, free: 34.58 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.4069, allocations: 0.6965 MB / 0.5674 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.4083, allocations: 1.628 MB / 0.569 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.4087, allocations: 359.7 kB / 0.5693 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.4094, allocations: 0.5999 MB / 0.5699 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.4101, allocations: 0.7511 MB / 0.5706 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.4103, allocations: 59.53 kB / 0.5707 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.4107, allocations: 194 kB / 0.5709 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.411, allocations: 269.9 kB / 0.5711 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.4115, allocations: 0.6571 MB / 0.5718 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.4124, allocations: 1.331 MB / 0.5731 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4124, allocations: 0.6875 kB / 0.5731 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4124, allocations: 0 / 0.5731 GB, free: 33.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4125, allocations: 3.5 kB / 0.5731 GB, free: 33.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007838/0.4203, allocations: 2.637 MB / 0.5756 GB, free: 32.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4204, allocations: 15.94 kB / 0.5757 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.4251, allocations: 0.8064 MB / 0.5764 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.4266, allocations: 0.9187 MB / 0.5773 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.4269, allocations: 342.8 kB / 0.5777 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.4271, allocations: 90.78 kB / 0.5778 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.4296, allocations: 1.374 MB / 0.5791 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4297, allocations: 0.5 kB / 0.5791 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.4298, allocations: 35.62 kB / 0.5791 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.4298, allocations: 20.58 kB / 0.5791 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.4324, allocations: 1.292 MB / 0.5804 GB, free: 31.11 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00604/0.4384, allocations: 4.272 MB / 0.5846 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.4416, allocations: 1.876 MB / 0.5864 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.4435, allocations: 0.9412 MB / 0.5873 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.4436, allocations: 15.86 kB / 0.5873 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/0.4457, allocations: 1.037 MB / 0.5884 GB, free: 27.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.817e-06/0.4457, allocations: 5.938 kB / 0.5884 GB, free: 27.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03581/0.4815, allocations: 9.474 MB / 0.5976 GB, free: 25.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.4816, allocations: 115.2 kB / 0.5977 GB, free: 25.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.4836, allocations: 1.04 MB / 0.5987 GB, free: 25.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/0.4839, allocations: 42.95 kB / 0.5988 GB, free: 25.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/0.4843, allocations: 0.5276 MB / 0.5993 GB, free: 24.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/0.4848, allocations: 391.7 kB / 0.5997 GB, free: 24.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.485, allocations: 126.4 kB / 0.5998 GB, free: 24.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4852, allocations: 357.8 kB / 0.6001 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.4872, allocations: 0.8655 MB / 0.601 GB, free: 23.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.4893, allocations: 1.023 MB / 0.602 GB, free: 23.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02404/0.5133, allocations: 6.02 MB / 0.6079 GB, free: 21.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.5134, allocations: 4.969 kB / 0.6079 GB, free: 21.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01669/0.5301, allocations: 5.375 MB / 0.6131 GB, free: 20 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.5302, allocations: 63.61 kB / 0.6132 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5302, allocations: 2.594 kB / 0.6132 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005938/0.5362, allocations: 2.045 MB / 0.6152 GB, free: 17.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.5377, allocations: 291.6 kB / 0.6154 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.5561, allocations: 9.319 MB / 0.6246 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.5584, allocations: 246.8 kB / 0.6248 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5585, allocations: 53.05 kB / 0.6248 GB, free: 7.871 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006927/0.5592, allocations: 295.6 kB / 0.6251 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.5594, allocations: 130.4 kB / 0.6252 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.5744, allocations: 5.339 MB / 0.6305 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.5745, allocations: 17.81 kB / 0.6305 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5745, allocations: 0 / 0.6305 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.5745, allocations: 3.984 kB / 0.6305 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/0.5933, allocations: 7.209 MB / 0.6375 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5934, allocations: 1.031 kB / 0.6375 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/0.5942, allocations: 139.8 kB / 0.6377 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007259/0.6015, allocations: 2.211 MB / 0.6398 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/0.6018, allocations: 27.98 kB / 0.6398 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02395/0.6257, allocations: 10.65 MB / 0.6502 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6258, allocations: 0 / 0.6502 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/0.6446, allocations: 6.444 MB / 0.6565 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.6452, allocations: 223.2 kB / 0.6567 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.6454, allocations: 23.94 kB / 0.6568 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.6468, allocations: 183.8 kB / 0.6569 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007412/0.6475, allocations: 228.6 kB / 0.6572 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/0.6476, allocations: 31.98 kB / 0.6572 GB, free: 6.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.6487, allocations: 0.7045 MB / 0.6579 GB, free: 5.516 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6487, allocations: 0 / 0.6579 GB, free: 5.516 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001461/0.6502, allocations: 489 kB / 0.6583 GB, free: 5.039 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003036/0.6505, allocations: 132.9 kB / 0.6585 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007734/0.6583, allocations: 3.005 MB / 0.6614 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6583, allocations: 0 / 0.6614 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005694/0.664, allocations: 2.066 MB / 0.6634 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.6653, allocations: 125.5 kB / 0.6635 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.6704, allocations: 3.112 MB / 0.6666 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.6712, allocations: 1.156 MB / 0.6677 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.6715, allocations: 83.41 kB / 0.6678 GB, free: 11.25 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6715, allocations: 0 / 0.6678 GB, free: 11.25 MB / 478.1 MB Notification: Performance of Templates: time 0.03128/0.7028, allocations: 25.16 MB / 0.6924 GB, free: 2.23 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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 OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_TestCalcHelperMain.o] Error 1