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.0008978/0.0008979, allocations: 99.05 kB / 15.71 MB, free: 452 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.491/1.491, allocations: 223.3 MB / 239.7 MB, free: 5.605 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.001048/0.001048, allocations: 183.6 kB / 290.9 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6317/0.6317, allocations: 78.56 MB / 420.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 19.94 kB / 0.4887 GB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1638, allocations: 69.36 MB / 0.5564 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.3426/0.5065, allocations: 6.423 MB / 0.5627 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005348/0.5119, allocations: 2.045 MB / 0.5647 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.5137, allocations: 17.44 kB / 0.5647 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.5147, allocations: 184 kB / 0.5649 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.5172, allocations: 0.636 MB / 0.5655 GB, free: 37.05 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.001573/0.5188, allocations: 0.6068 MB / 0.5661 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002274/0.5211, allocations: 1.539 MB / 0.5676 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.5217, allocations: 331.2 kB / 0.5679 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.5228, allocations: 0.5918 MB / 0.5685 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007948/0.5236, allocations: 0.7292 MB / 0.5692 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.5237, allocations: 58.88 kB / 0.5693 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005408/0.5243, allocations: 189.9 kB / 0.5694 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.5245, allocations: 261 kB / 0.5697 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.5249, allocations: 249 kB / 0.5699 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.5261, allocations: 1.335 MB / 0.5712 GB, free: 35.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5261, allocations: 0 / 0.5712 GB, free: 35.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5262, allocations: 0 / 0.5712 GB, free: 35.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.5262, allocations: 0 / 0.5712 GB, free: 35.79 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.007586/0.5338, allocations: 2.662 MB / 0.5738 GB, free: 34.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5338, allocations: 9.844 kB / 0.5738 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.5387, allocations: 0.808 MB / 0.5746 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.5407, allocations: 0.8771 MB / 0.5755 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.5411, allocations: 341.7 kB / 0.5758 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.5412, allocations: 93.88 kB / 0.5759 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.5436, allocations: 1.362 MB / 0.5772 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.5437, allocations: 0 / 0.5772 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5438, allocations: 35.84 kB / 0.5773 GB, free: 33.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.5438, allocations: 21.67 kB / 0.5773 GB, free: 33.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.5462, allocations: 1.29 MB / 0.5786 GB, free: 33.04 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.006408/0.5526, allocations: 4.257 MB / 0.5827 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.5556, allocations: 1.869 MB / 0.5845 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/0.5587, allocations: 0.9372 MB / 0.5854 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.5589, allocations: 16.27 kB / 0.5855 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00334/0.5623, allocations: 1.035 MB / 0.5865 GB, free: 28.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 5e-06/0.5623, allocations: 0 / 0.5865 GB, free: 28.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04988/0.6122, allocations: 9.431 MB / 0.5957 GB, free: 27.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.6124, allocations: 114.8 kB / 0.5958 GB, free: 27.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.6153, allocations: 1.039 MB / 0.5968 GB, free: 26.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004955/0.6158, allocations: 45.94 kB / 0.5969 GB, free: 26.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/0.6165, allocations: 0.5237 MB / 0.5974 GB, free: 26.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007689/0.6173, allocations: 388.8 kB / 0.5977 GB, free: 25.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.6174, allocations: 29.78 kB / 0.5978 GB, free: 25.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6176, allocations: 354.4 kB / 0.5981 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.62, allocations: 0.8649 MB / 0.5989 GB, free: 25.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.6232, allocations: 1.015 MB / 0.5999 GB, free: 24.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.6263, allocations: 0.9749 MB / 0.6009 GB, free: 24.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.6263, allocations: 0 / 0.6009 GB, free: 24.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.02467/0.651, allocations: 5.408 MB / 0.6062 GB, free: 23.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.6512, allocations: 61.75 kB / 0.6062 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.6513, allocations: 2.375 kB / 0.6062 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.6631, allocations: 2.16 MB / 0.6083 GB, free: 22.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.6656, allocations: 284.1 kB / 0.6086 GB, free: 22.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0329/0.6986, allocations: 9.718 MB / 0.6181 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.7017, allocations: 252.1 kB / 0.6183 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000465/0.7022, allocations: 47.98 kB / 0.6184 GB, free: 14.34 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 exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-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 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 13} Notification: Performance of prepare postOptimizeDAE: time 0.001488/0.7037, allocations: 305.8 kB / 0.6187 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007015/0.7044, allocations: 130.4 kB / 0.6188 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.7186, allocations: 5.326 MB / 0.624 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/0.7187, allocations: 12 kB / 0.624 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.7187, allocations: 2.25 kB / 0.624 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.933e-05/0.7188, allocations: 8.812 kB / 0.624 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.7372, allocations: 7.188 MB / 0.631 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.7373, allocations: 0 / 0.631 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.7382, allocations: 148.5 kB / 0.6312 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006545/0.7447, allocations: 2.208 MB / 0.6333 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003806/0.7451, allocations: 23.98 kB / 0.6334 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02554/0.7707, allocations: 10.65 MB / 0.6438 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.7708, allocations: 7.938 kB / 0.6438 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02907/0.7999, allocations: 6.416 MB / 0.65 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.801, allocations: 227.2 kB / 0.6503 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00086/0.8019, allocations: 23.94 kB / 0.6503 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/0.8046, allocations: 187.8 kB / 0.6505 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/0.8061, allocations: 228.6 kB / 0.6507 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/0.8064, allocations: 25.06 kB / 0.6507 GB, free: 12.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002215/0.8086, allocations: 0.702 MB / 0.6514 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8087, allocations: 0 / 0.6514 GB, free: 12.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003258/0.8119, allocations: 491.4 kB / 0.6519 GB, free: 11.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006129/0.8126, allocations: 132.6 kB / 0.652 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009432/0.822, allocations: 3.031 MB / 0.6549 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.8221, allocations: 0 / 0.6549 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005456/0.8275, allocations: 2.06 MB / 0.657 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.8292, allocations: 129.2 kB / 0.6571 GB, free: 6.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00702/0.8363, allocations: 2.985 MB / 0.66 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.8377, allocations: 1.156 MB / 0.6611 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/0.8383, allocations: 83.41 kB / 0.6612 GB, free: 1.871 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/0.8383, allocations: 0 / 0.6612 GB, free: 1.871 MB / 462.1 MB Notification: Performance of Templates: time 0.0469/0.8852, allocations: 25.26 MB / 0.6859 GB, free: 8.742 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++ 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 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