Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 103 kB / 15.71 MB, free: 460 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.487/1.487, allocations: 223.3 MB / 239.7 MB, free: 5.453 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.001027/0.001027, allocations: 188.3 kB / 290.9 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5134/0.5134, allocations: 79.48 MB / 421.5 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004413, allocations: 12 kB / 0.4897 GB, free: 5.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.46, allocations: 69.51 MB / 0.5576 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.008066/0.4682, allocations: 6.019 MB / 0.5635 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005889/0.4741, allocations: 1.978 MB / 0.5654 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009748/0.4751, allocations: 14.25 kB / 0.5654 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.4759, allocations: 176.8 kB / 0.5656 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.4778, allocations: 0.6275 MB / 0.5662 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.4792, allocations: 0.572 MB / 0.5668 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.4811, allocations: 1.417 MB / 0.5682 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.4817, allocations: 273.1 kB / 0.5684 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.4828, allocations: 0.556 MB / 0.569 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.4837, allocations: 0.7019 MB / 0.5697 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.4838, allocations: 58.62 kB / 0.5697 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006137/0.4844, allocations: 193.2 kB / 0.5699 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.4848, allocations: 253.4 kB / 0.5701 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.485, allocations: 229.9 kB / 0.5704 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.4866, allocations: 1.233 MB / 0.5716 GB, free: 35.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4866, allocations: 3.594 kB / 0.5716 GB, free: 35.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4866, allocations: 1.281 kB / 0.5716 GB, free: 35.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.4866, allocations: 0 / 0.5716 GB, free: 35.21 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.007498/0.4941, allocations: 2.581 MB / 0.5741 GB, free: 34.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4942, allocations: 10.25 kB / 0.5741 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.4989, allocations: 0.7894 MB / 0.5749 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.5006, allocations: 0.8454 MB / 0.5757 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.5008, allocations: 235.6 kB / 0.5759 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.5009, allocations: 88.72 kB / 0.576 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.5033, allocations: 1.242 MB / 0.5772 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.5033, allocations: 0 / 0.5772 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.5034, allocations: 35.88 kB / 0.5773 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.5034, allocations: 22.33 kB / 0.5773 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.5056, allocations: 1.164 MB / 0.5784 GB, free: 32.38 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.006269/0.5119, allocations: 3.789 MB / 0.5821 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.514, allocations: 1.592 MB / 0.5837 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.5153, allocations: 0.8536 MB / 0.5845 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.5155, allocations: 14.77 kB / 0.5845 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5155, allocations: 47.47 kB / 0.5846 GB, free: 28.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 3.116e-06/0.5155, allocations: 0 / 0.5846 GB, free: 28.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02405/0.5396, allocations: 7.727 MB / 0.5921 GB, free: 27.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.5397, allocations: 145.5 kB / 0.5922 GB, free: 27.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.5416, allocations: 1.009 MB / 0.5932 GB, free: 26.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.5419, allocations: 46.86 kB / 0.5933 GB, free: 26.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.5422, allocations: 0.5003 MB / 0.5938 GB, free: 26.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.5426, allocations: 360.2 kB / 0.5941 GB, free: 26.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.5427, allocations: 25.66 kB / 0.5941 GB, free: 26.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5428, allocations: 357.7 kB / 0.5945 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.5447, allocations: 0.8165 MB / 0.5953 GB, free: 25.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.5465, allocations: 0.9643 MB / 0.5962 GB, free: 25.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.5484, allocations: 0.9386 MB / 0.5971 GB, free: 24.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5484, allocations: 1.375 kB / 0.5971 GB, free: 24.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01576/0.5641, allocations: 5.338 MB / 0.6023 GB, free: 23.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.5643, allocations: 217.1 kB / 0.6025 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5644, allocations: 2.219 kB / 0.6026 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007665/0.572, allocations: 2.186 MB / 0.6047 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.5735, allocations: 237.8 kB / 0.6049 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/0.5972, allocations: 10.88 MB / 0.6155 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.5997, allocations: 225.3 kB / 0.6158 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004065/0.6002, allocations: 39.94 kB / 0.6158 GB, free: 16.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6002, allocations: 4.625 kB / 0.6158 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01362/0.6138, allocations: 5.185 MB / 0.6209 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.6139, allocations: 0 / 0.6209 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/0.6201, allocations: 2.189 MB / 0.623 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.6214, allocations: 235.6 kB / 0.6232 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.6421, allocations: 10.87 MB / 0.6338 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.6441, allocations: 206.9 kB / 0.634 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/0.6445, allocations: 43.98 kB / 0.6341 GB, free: 13.78 MB / 446.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.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.6457, allocations: 359.4 kB / 0.6344 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005612/0.6463, allocations: 130.5 kB / 0.6345 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.6597, allocations: 4.957 MB / 0.6394 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.6598, allocations: 8 kB / 0.6394 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6598, allocations: 4.766 kB / 0.6394 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/0.6598, allocations: 11.97 kB / 0.6394 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.677, allocations: 6.785 MB / 0.646 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.677, allocations: 1.5 kB / 0.646 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/0.6778, allocations: 125.8 kB / 0.6461 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005724/0.6836, allocations: 2.044 MB / 0.6481 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.6838, allocations: 27.94 kB / 0.6482 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.7014, allocations: 8.207 MB / 0.6562 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.7014, allocations: 0 / 0.6562 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.7166, allocations: 5.962 MB / 0.662 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.7173, allocations: 219.2 kB / 0.6622 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/0.7178, allocations: 20 kB / 0.6622 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.7191, allocations: 151.9 kB / 0.6624 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000663/0.7198, allocations: 196.5 kB / 0.6626 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.72, allocations: 35.98 kB / 0.6626 GB, free: 204 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001401/0.7214, allocations: 0.6893 MB / 0.6633 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7214, allocations: 0 / 0.6633 GB, free: 15.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00311/0.7245, allocations: 0.7607 MB / 0.664 GB, free: 14.74 MB / 478.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.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003695/0.7249, allocations: 136.3 kB / 0.6642 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01271/0.7376, allocations: 5.244 MB / 0.6693 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7376, allocations: 0 / 0.6693 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00458/0.7422, allocations: 1.831 MB / 0.6711 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.7436, allocations: 114.7 kB / 0.6712 GB, free: 7.301 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.7488, allocations: 2.861 MB / 0.674 GB, free: 4.461 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/0.7497, allocations: 1.133 MB / 0.6751 GB, free: 3.297 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.7501, allocations: 83.41 kB / 0.6751 GB, free: 3.215 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7501, allocations: 3.938 kB / 0.6752 GB, free: 3.211 MB / 478.1 MB Notification: Performance of Templates: time 0.03993/0.79, allocations: 24.89 MB / 0.6995 GB, free: 10.41 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.o] Error 1