Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 100.9 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.467/1.467, allocations: 223.3 MB / 239.7 MB, free: 5.621 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.001205/0.001206, allocations: 179.6 kB / 290.9 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4938/0.4938, allocations: 79.47 MB / 421.5 MB, free: 4.027 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 8 kB / 0.4897 GB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 69.51 MB / 0.5576 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.338/0.5143, allocations: 6.141 MB / 0.5636 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.5187, allocations: 1.959 MB / 0.5655 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.5192, allocations: 12.12 kB / 0.5655 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.5199, allocations: 174.1 kB / 0.5657 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.5214, allocations: 0.6752 MB / 0.5664 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.5225, allocations: 0.5217 MB / 0.5669 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.5239, allocations: 1.49 MB / 0.5683 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.5243, allocations: 270.2 kB / 0.5686 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.525, allocations: 0.5886 MB / 0.5692 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.5258, allocations: 0.7726 MB / 0.5699 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.5259, allocations: 64 kB / 0.57 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.5264, allocations: 183.5 kB / 0.5701 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.5267, allocations: 268.6 kB / 0.5704 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.5269, allocations: 235.8 kB / 0.5706 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.528, allocations: 1.286 MB / 0.5719 GB, free: 35.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.528, allocations: 0 / 0.5719 GB, free: 35.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.528, allocations: 0 / 0.5719 GB, free: 35.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.528, allocations: 1.781 kB / 0.5719 GB, free: 35.06 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007648/0.5357, allocations: 2.597 MB / 0.5744 GB, free: 33.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5357, allocations: 8.781 kB / 0.5744 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/0.5403, allocations: 0.7876 MB / 0.5752 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.5417, allocations: 0.8907 MB / 0.5761 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.5419, allocations: 265.9 kB / 0.5763 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.5421, allocations: 83.97 kB / 0.5764 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.5441, allocations: 1.164 MB / 0.5775 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5441, allocations: 4 kB / 0.5775 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.5442, allocations: 35.11 kB / 0.5776 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5442, allocations: 25.3 kB / 0.5776 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.5461, allocations: 1.061 MB / 0.5786 GB, free: 32.19 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.00565/0.5517, allocations: 4 MB / 0.5825 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006933/0.5587, allocations: 2.942 MB / 0.5854 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.5602, allocations: 0.7537 MB / 0.5862 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.5603, allocations: 20.05 kB / 0.5862 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.5619, allocations: 0.8976 MB / 0.587 GB, free: 28.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.755e-06/0.5619, allocations: 0 / 0.587 GB, free: 28.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02855/0.5905, allocations: 8.605 MB / 0.5955 GB, free: 26.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.5906, allocations: 115.5 kB / 0.5956 GB, free: 26.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.5931, allocations: 1.132 MB / 0.5967 GB, free: 26.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.5934, allocations: 50.2 kB / 0.5967 GB, free: 26.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.5938, allocations: 0.4925 MB / 0.5972 GB, free: 25.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.5943, allocations: 372 kB / 0.5976 GB, free: 25.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5944, allocations: 30.5 kB / 0.5976 GB, free: 25.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5945, allocations: 367.5 kB / 0.5979 GB, free: 25.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.5964, allocations: 0.8529 MB / 0.5988 GB, free: 24.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.5984, allocations: 1.028 MB / 0.5998 GB, free: 24.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.6003, allocations: 0.9895 MB / 0.6007 GB, free: 23.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.6003, allocations: 0 / 0.6007 GB, free: 23.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01552/0.6158, allocations: 5.301 MB / 0.6059 GB, free: 22.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/0.6159, allocations: 60.73 kB / 0.606 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.616, allocations: 2.406 kB / 0.606 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007229/0.6232, allocations: 2.013 MB / 0.6079 GB, free: 22.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.6249, allocations: 295.7 kB / 0.6082 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.645, allocations: 10.39 MB / 0.6184 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.6472, allocations: 238.6 kB / 0.6186 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.6474, allocations: 63.91 kB / 0.6187 GB, free: 13.88 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.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: 13 * 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 (171): * Single equations (assignments): 167 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000742/0.6481, allocations: 297.7 kB / 0.6189 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.6484, allocations: 134.4 kB / 0.6191 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.66, allocations: 4.76 MB / 0.6237 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.66, allocations: 12 kB / 0.6237 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.6601, allocations: 8.938 kB / 0.6237 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.6601, allocations: 7.969 kB / 0.6237 GB, free: 8.637 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 postOpt removeSimpleEquations (simulation): time 0.01349/0.6736, allocations: 6.38 MB / 0.63 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6736, allocations: 7.938 kB / 0.63 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.6742, allocations: 99.89 kB / 0.6301 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004762/0.679, allocations: 1.889 MB / 0.6319 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.6791, allocations: 30.89 kB / 0.632 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.6983, allocations: 9.661 MB / 0.6414 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6984, allocations: 8.906 kB / 0.6414 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.7129, allocations: 5.698 MB / 0.647 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/0.7137, allocations: 240.4 kB / 0.6472 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/0.7142, allocations: 20.8 kB / 0.6472 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.7157, allocations: 147.9 kB / 0.6473 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007098/0.7165, allocations: 196.6 kB / 0.6475 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.7166, allocations: 24 kB / 0.6476 GB, free: 15.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001607/0.7182, allocations: 0.7595 MB / 0.6483 GB, free: 15.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7183, allocations: 4 kB / 0.6483 GB, free: 15.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002522/0.7208, allocations: 491.6 kB / 0.6488 GB, free: 14.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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 (66): * Single equations (assignments): 63 * 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: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004279/0.7212, allocations: 141.2 kB / 0.6489 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008592/0.7298, allocations: 3 MB / 0.6518 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.413e-06/0.7299, allocations: 0 / 0.6518 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004895/0.7348, allocations: 1.828 MB / 0.6536 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.737, allocations: 119 kB / 0.6537 GB, free: 9.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/0.7435, allocations: 2.91 MB / 0.6566 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.7447, allocations: 1.136 MB / 0.6577 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.7452, allocations: 83.41 kB / 0.6578 GB, free: 5.246 MB / 462.1 MB Notification: Performance of SimCode: time 1.674e-06/0.7452, allocations: 0 / 0.6578 GB, free: 5.246 MB / 462.1 MB Notification: Performance of Templates: time 0.0367/0.7819, allocations: 26.49 MB / 0.6836 GB, free: 10.91 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.o] Error 1