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.0009482/0.0009484, allocations: 102.6 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.497/1.497, allocations: 223.3 MB / 239.7 MB, free: 5.645 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.001226/0.001227, allocations: 191.6 kB / 290.9 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5325/0.5325, allocations: 78.55 MB / 420.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12 kB / 0.4887 GB, free: 6.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1664, allocations: 69.37 MB / 0.5564 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.3791/0.5456, allocations: 6.077 MB / 0.5624 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.5504, allocations: 1.954 MB / 0.5643 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.5511, allocations: 11.94 kB / 0.5643 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.5518, allocations: 173.4 kB / 0.5644 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.5533, allocations: 0.6272 MB / 0.5651 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.5546, allocations: 0.5542 MB / 0.5656 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.5559, allocations: 1.461 MB / 0.567 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.5563, allocations: 277.6 kB / 0.5673 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.557, allocations: 0.5678 MB / 0.5678 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.5577, allocations: 0.7095 MB / 0.5685 GB, free: 36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.5578, allocations: 61.78 kB / 0.5686 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.5582, allocations: 184.6 kB / 0.5688 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.5585, allocations: 246.6 kB / 0.569 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.5588, allocations: 230.9 kB / 0.5692 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.5599, allocations: 1.251 MB / 0.5704 GB, free: 35.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5599, allocations: 3.312 kB / 0.5704 GB, free: 35.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5599, allocations: 0 / 0.5704 GB, free: 35.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.5599, allocations: 0 / 0.5704 GB, free: 35.64 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.007108/0.5671, allocations: 2.598 MB / 0.573 GB, free: 34.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5671, allocations: 15.91 kB / 0.573 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.5717, allocations: 0.7941 MB / 0.5738 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.5734, allocations: 0.8331 MB / 0.5746 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.5737, allocations: 267.4 kB / 0.5748 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.5739, allocations: 90.19 kB / 0.5749 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.5764, allocations: 1.228 MB / 0.5761 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.5764, allocations: 6.516 kB / 0.5761 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.5765, allocations: 30.09 kB / 0.5762 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.5765, allocations: 22.17 kB / 0.5762 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.5786, allocations: 1.148 MB / 0.5773 GB, free: 33.48 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.005719/0.5843, allocations: 3.749 MB / 0.581 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.5866, allocations: 1.61 MB / 0.5825 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.588, allocations: 0.8499 MB / 0.5834 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.5881, allocations: 9 kB / 0.5834 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/0.5898, allocations: 0.9577 MB / 0.5843 GB, free: 29.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.046e-06/0.5898, allocations: 0 / 0.5843 GB, free: 29.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02684/0.6166, allocations: 8.482 MB / 0.5926 GB, free: 28.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.6168, allocations: 123.1 kB / 0.5927 GB, free: 28.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.6188, allocations: 1.027 MB / 0.5937 GB, free: 27.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.6191, allocations: 47.38 kB / 0.5938 GB, free: 27.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/0.6196, allocations: 0.4999 MB / 0.5943 GB, free: 27.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.62, allocations: 369.6 kB / 0.5946 GB, free: 26.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.6201, allocations: 25.84 kB / 0.5946 GB, free: 26.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6203, allocations: 359 kB / 0.595 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.6221, allocations: 0.8251 MB / 0.5958 GB, free: 26.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.6241, allocations: 0.977 MB / 0.5967 GB, free: 25.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.6261, allocations: 0.943 MB / 0.5977 GB, free: 25.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.6261, allocations: 1.188 kB / 0.5977 GB, free: 25.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01779/0.6439, allocations: 5.384 MB / 0.6029 GB, free: 24.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/0.6441, allocations: 60.12 kB / 0.603 GB, free: 24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.6441, allocations: 7.594 kB / 0.603 GB, free: 24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007806/0.6519, allocations: 2.222 MB / 0.6051 GB, free: 23.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.6534, allocations: 256.5 kB / 0.6054 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.6762, allocations: 9.91 MB / 0.6151 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.6785, allocations: 238.8 kB / 0.6153 GB, free: 17.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6787, allocations: 48.98 kB / 0.6153 GB, free: 17.59 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.0008489/0.6795, allocations: 284.9 kB / 0.6156 GB, free: 17.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.6798, allocations: 132 kB / 0.6157 GB, free: 17.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/0.6961, allocations: 5.091 MB / 0.6207 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.6962, allocations: 15.98 kB / 0.6207 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6963, allocations: 0.9375 kB / 0.6207 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.548e-05/0.6963, allocations: 7.984 kB / 0.6207 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/0.7183, allocations: 6.873 MB / 0.6274 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.7184, allocations: 0 / 0.6274 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.7194, allocations: 107.9 kB / 0.6276 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006314/0.7257, allocations: 2.137 MB / 0.6296 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/0.726, allocations: 25.3 kB / 0.6297 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/0.7456, allocations: 10.28 MB / 0.6397 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7457, allocations: 2.562 kB / 0.6397 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/0.7615, allocations: 6.103 MB / 0.6457 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.7621, allocations: 223.2 kB / 0.6459 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.7623, allocations: 24.83 kB / 0.6459 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7635, allocations: 147.9 kB / 0.646 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006717/0.7642, allocations: 212.6 kB / 0.6462 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.7643, allocations: 28 kB / 0.6463 GB, free: 1.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.7654, allocations: 0.6876 MB / 0.6469 GB, free: 0.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7654, allocations: 0 / 0.6469 GB, free: 0.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001727/0.7671, allocations: 491.5 kB / 0.6474 GB, free: 232 kB / 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 (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.0003022/0.7674, allocations: 140.7 kB / 0.6475 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007422/0.7748, allocations: 2.93 MB / 0.6504 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7749, allocations: 0.5625 kB / 0.6504 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004987/0.7799, allocations: 1.981 MB / 0.6523 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.7812, allocations: 111 kB / 0.6525 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.786, allocations: 2.813 MB / 0.6552 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/0.7868, allocations: 1.136 MB / 0.6563 GB, free: 7.035 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.7872, allocations: 67.42 kB / 0.6564 GB, free: 6.969 MB / 462.1 MB Notification: Performance of SimCode: time 1.021e-06/0.7872, allocations: 0 / 0.6564 GB, free: 6.969 MB / 462.1 MB Notification: Performance of Templates: time 0.03728/0.8245, allocations: 24.07 MB / 0.6799 GB, free: 15.02 MB / 494.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++ 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.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