Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08508/0.08508, allocations: 12.2 MB / 27.81 MB, free: 1.051 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008173/0.0008174, allocations: 107.5 kB / 31.32 MB, free: 4.629 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 240.1 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 180.5 kB / 291.3 MB, free: 13.76 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4626/0.4625, allocations: 78.54 MB / 420.8 MB, free: 12.15 MB / 302.1 MB Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.0008299/0.0008301, allocations: 35.98 kB / 0.4901 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3228, allocations: 69.23 MB / 0.5577 GB, free: 21.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004904/0.3278, allocations: 6.129 MB / 0.5637 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.3309, allocations: 1.917 MB / 0.5656 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.3313, allocations: 15.94 kB / 0.5656 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.3318, allocations: 170.8 kB / 0.5657 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.3331, allocations: 0.6435 MB / 0.5664 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3341, allocations: 0.5456 MB / 0.5669 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009982/0.3351, allocations: 1.46 MB / 0.5683 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.3355, allocations: 274 kB / 0.5686 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.336, allocations: 0.5678 MB / 0.5691 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.3366, allocations: 0.7116 MB / 0.5698 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.3367, allocations: 64 kB / 0.5699 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.337, allocations: 191.8 kB / 0.5701 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.3372, allocations: 242.8 kB / 0.5703 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3373, allocations: 229 kB / 0.5705 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.3381, allocations: 1.258 MB / 0.5718 GB, free: 6.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3381, allocations: 0 / 0.5718 GB, free: 6.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3382, allocations: 0 / 0.5718 GB, free: 6.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3382, allocations: 0 / 0.5718 GB, free: 6.668 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.006603/0.3448, allocations: 2.59 MB / 0.5743 GB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3448, allocations: 19.97 kB / 0.5743 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.3491, allocations: 0.7865 MB / 0.5751 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3504, allocations: 0.8518 MB / 0.5759 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.3507, allocations: 264.2 kB / 0.5762 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3508, allocations: 84 kB / 0.5762 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.3528, allocations: 1.239 MB / 0.5774 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3529, allocations: 0 / 0.5774 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/0.3529, allocations: 32 kB / 0.5775 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.353, allocations: 19.94 kB / 0.5775 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.3551, allocations: 1.14 MB / 0.5786 GB, free: 15.48 MB / 398.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.006159/0.3613, allocations: 3.743 MB / 0.5823 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.3637, allocations: 1.616 MB / 0.5838 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.3652, allocations: 0.8441 MB / 0.5847 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.3654, allocations: 20.98 kB / 0.5847 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/0.3672, allocations: 0.9505 MB / 0.5856 GB, free: 8.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 3.115e-06/0.3672, allocations: 4 kB / 0.5856 GB, free: 8.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.0259/0.3931, allocations: 8.484 MB / 0.5939 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3932, allocations: 115.8 kB / 0.594 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.3949, allocations: 1.023 MB / 0.595 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.3952, allocations: 45.69 kB / 0.5951 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.3956, allocations: 0.5046 MB / 0.5955 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/0.3961, allocations: 374.7 kB / 0.5959 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.3962, allocations: 32 kB / 0.5959 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3964, allocations: 349.9 kB / 0.5963 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.398, allocations: 0.8277 MB / 0.5971 GB, free: 12.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.3997, allocations: 0.9779 MB / 0.598 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.4014, allocations: 0.9325 MB / 0.5989 GB, free: 10.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.4015, allocations: 4 kB / 0.5989 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01412/0.4156, allocations: 5.39 MB / 0.6042 GB, free: 4.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/0.4157, allocations: 63.41 kB / 0.6043 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.4157, allocations: 4 kB / 0.6043 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006801/0.4226, allocations: 2.22 MB / 0.6064 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.4239, allocations: 251.7 kB / 0.6067 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/0.4449, allocations: 9.927 MB / 0.6164 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4468, allocations: 234.8 kB / 0.6166 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.447, allocations: 51.94 kB / 0.6166 GB, free: 7.898 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(flow=false start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006072/0.4476, allocations: 283.3 kB / 0.6169 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.4478, allocations: 126.4 kB / 0.617 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.4609, allocations: 5.099 MB / 0.622 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.461, allocations: 12 kB / 0.622 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.461, allocations: 0 / 0.622 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.461, allocations: 7.969 kB / 0.622 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.4763, allocations: 6.867 MB / 0.6287 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.4763, allocations: 0 / 0.6287 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.477, allocations: 111.8 kB / 0.6289 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.483, allocations: 2.152 MB / 0.631 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.4832, allocations: 19.95 kB / 0.631 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/0.5024, allocations: 10.27 MB / 0.641 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5024, allocations: 4 kB / 0.641 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.5171, allocations: 6.103 MB / 0.647 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.5176, allocations: 227.2 kB / 0.6472 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.5178, allocations: 20 kB / 0.6472 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5188, allocations: 147.9 kB / 0.6473 GB, free: 7.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006012/0.5194, allocations: 220.6 kB / 0.6475 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/0.5195, allocations: 27.98 kB / 0.6476 GB, free: 7.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009944/0.5205, allocations: 0.6915 MB / 0.6483 GB, free: 6.996 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5205, allocations: 0 / 0.6483 GB, free: 6.996 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00143/0.522, allocations: 479.6 kB / 0.6487 GB, free: 6.527 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * 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 (64): * Single equations (assignments): 61 * 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 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.5223, allocations: 143.1 kB / 0.6488 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006494/0.5288, allocations: 2.937 MB / 0.6517 GB, free: 3.398 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5288, allocations: 0 / 0.6517 GB, free: 3.398 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.5331, allocations: 1.969 MB / 0.6536 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.534, allocations: 112.4 kB / 0.6537 GB, free: 1.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.538, allocations: 2.824 MB / 0.6565 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.5387, allocations: 1.124 MB / 0.6576 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.539, allocations: 75.42 kB / 0.6577 GB, free: 13.2 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.539, allocations: 0 / 0.6577 GB, free: 13.2 MB / 478.1 MB Notification: Performance of Templates: time 0.02795/0.5669, allocations: 24.04 MB / 0.6811 GB, free: 5.156 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o] Error 1