Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 96.14 kB / 15.87 MB, free: 16 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.467/1.467, allocations: 222.9 MB / 239.5 MB, free: 4.758 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.001608/0.001608, allocations: 188.5 kB / 289.8 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4855/0.4855, allocations: 78.51 MB / 418.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 67.89 kB / 497.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1796, allocations: 68.17 MB / 0.5523 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.3591/0.5388, allocations: 6.949 MB / 0.5591 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.5437, allocations: 2.071 MB / 0.5611 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000717/0.5445, allocations: 15.44 kB / 0.5611 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.5453, allocations: 196.8 kB / 0.5613 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.5471, allocations: 0.675 MB / 0.562 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.5485, allocations: 0.6243 MB / 0.5626 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.5499, allocations: 1.547 MB / 0.5641 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.5504, allocations: 307.5 kB / 0.5644 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00067/0.5511, allocations: 0.6078 MB / 0.565 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.5518, allocations: 0.776 MB / 0.5658 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.552, allocations: 72.47 kB / 0.5658 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.5525, allocations: 204.7 kB / 0.566 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.5527, allocations: 280.1 kB / 0.5663 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.5532, allocations: 0.6238 MB / 0.5669 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.5542, allocations: 1.283 MB / 0.5682 GB, free: 33.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5542, allocations: 2.188 kB / 0.5682 GB, free: 33.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5542, allocations: 0 / 0.5682 GB, free: 33.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.5543, allocations: 1.125 kB / 0.5682 GB, free: 33.94 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008772/0.563, allocations: 2.764 MB / 0.5709 GB, free: 32.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.5631, allocations: 8.781 kB / 0.5709 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.5679, allocations: 0.7813 MB / 0.5716 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5695, allocations: 0.8871 MB / 0.5725 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.5698, allocations: 258.6 kB / 0.5727 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5699, allocations: 87.75 kB / 0.5728 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.5723, allocations: 1.179 MB / 0.574 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.5723, allocations: 0 / 0.574 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5724, allocations: 38.81 kB / 0.574 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.5724, allocations: 18.38 kB / 0.574 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.5748, allocations: 1.069 MB / 0.5751 GB, free: 32.15 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.006146/0.581, allocations: 3.683 MB / 0.5787 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.5832, allocations: 1.557 MB / 0.5802 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.5846, allocations: 0.7809 MB / 0.581 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.5847, allocations: 12.28 kB / 0.581 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00195/0.5867, allocations: 0.8899 MB / 0.5818 GB, free: 29.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 4.639e-06/0.5867, allocations: 4 kB / 0.5818 GB, free: 29.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02774/0.6145, allocations: 6.95 MB / 0.5886 GB, free: 27.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.6146, allocations: 119.2 kB / 0.5887 GB, free: 27.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.6168, allocations: 1.036 MB / 0.5897 GB, free: 27.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003241/0.6171, allocations: 46.08 kB / 0.5898 GB, free: 27.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.6176, allocations: 0.5007 MB / 0.5903 GB, free: 26.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.618, allocations: 373.8 kB / 0.5906 GB, free: 26.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/0.6186, allocations: 247.9 kB / 0.5909 GB, free: 26.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6188, allocations: 358 kB / 0.5912 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.6206, allocations: 0.7652 MB / 0.592 GB, free: 25.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.6226, allocations: 0.9078 MB / 0.5929 GB, free: 25.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02271/0.6453, allocations: 5.416 MB / 0.5981 GB, free: 23.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.6454, allocations: 5.844 kB / 0.5981 GB, free: 23.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01626/0.6617, allocations: 4.511 MB / 0.6026 GB, free: 22.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-05/0.6618, allocations: 59.41 kB / 0.6026 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.6618, allocations: 3.188 kB / 0.6026 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007692/0.6695, allocations: 1.856 MB / 0.6044 GB, free: 22.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.6711, allocations: 248.4 kB / 0.6047 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/0.6956, allocations: 8.717 MB / 0.6132 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.6984, allocations: 194.8 kB / 0.6134 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005156/0.6989, allocations: 55.91 kB / 0.6134 GB, free: 16.63 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 order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.001171/0.7001, allocations: 289 kB / 0.6137 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005687/0.7007, allocations: 130.4 kB / 0.6138 GB, free: 16.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.7132, allocations: 4.19 MB / 0.6179 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.7133, allocations: 12 kB / 0.6179 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.7133, allocations: 0 / 0.6179 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.7134, allocations: 3.984 kB / 0.6179 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.7288, allocations: 5.976 MB / 0.6238 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.7289, allocations: 11.97 kB / 0.6238 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.7297, allocations: 103.8 kB / 0.6239 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005631/0.7353, allocations: 1.832 MB / 0.6257 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/0.7356, allocations: 16 kB / 0.6257 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/0.7578, allocations: 9.381 MB / 0.6348 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7579, allocations: 4 kB / 0.6348 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/0.7753, allocations: 5.135 MB / 0.6398 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.7761, allocations: 223.2 kB / 0.6401 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005847/0.7767, allocations: 20 kB / 0.6401 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.7784, allocations: 115.9 kB / 0.6402 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009093/0.7794, allocations: 207.2 kB / 0.6404 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.7796, allocations: 32 kB / 0.6404 GB, free: 4.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001507/0.7811, allocations: 0.7032 MB / 0.6411 GB, free: 3.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.7811, allocations: 0 / 0.6411 GB, free: 3.758 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002482/0.7836, allocations: 479.6 kB / 0.6416 GB, free: 3.289 MB / 446.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 (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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004542/0.7841, allocations: 139 kB / 0.6417 GB, free: 3.145 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008295/0.7924, allocations: 2.642 MB / 0.6443 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.7924, allocations: 0 / 0.6443 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005798/0.7982, allocations: 1.753 MB / 0.646 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.8003, allocations: 118.2 kB / 0.6461 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006412/0.8067, allocations: 2.848 MB / 0.6489 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.8081, allocations: 1.124 MB / 0.65 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.8086, allocations: 79.41 kB / 0.6501 GB, free: 10.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.342e-06/0.8086, allocations: 0 / 0.6501 GB, free: 10.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04553/0.8542, allocations: 24.08 MB / 0.6736 GB, free: 2.574 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.AVR.AVRTypeII_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o] Error 1