Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 102.5 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.52/1.52, allocations: 223.3 MB / 239.7 MB, free: 5.445 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.00143/0.001429, allocations: 179.6 kB / 290.9 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5552/0.5552, allocations: 78.55 MB / 420.6 MB, free: 4.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004114, allocations: 8 kB / 0.4887 GB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 69.37 MB / 0.5564 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.3329/0.5055, allocations: 5.946 MB / 0.5622 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.5093, allocations: 1.898 MB / 0.5641 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.5099, allocations: 11.12 kB / 0.5641 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.5105, allocations: 166.9 kB / 0.5643 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.5122, allocations: 0.6577 MB / 0.5649 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.5134, allocations: 0.5208 MB / 0.5654 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.5147, allocations: 1.402 MB / 0.5668 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.5151, allocations: 262.8 kB / 0.567 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.5157, allocations: 0.5639 MB / 0.5676 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.5164, allocations: 0.7188 MB / 0.5683 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.5166, allocations: 61 kB / 0.5683 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.517, allocations: 180.8 kB / 0.5685 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.5172, allocations: 254 kB / 0.5688 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.5175, allocations: 226.9 kB / 0.569 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.5186, allocations: 1.229 MB / 0.5702 GB, free: 35.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5186, allocations: 0 / 0.5702 GB, free: 35.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5186, allocations: 0 / 0.5702 GB, free: 35.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5186, allocations: 1 kB / 0.5702 GB, free: 35.62 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00715/0.5258, allocations: 2.507 MB / 0.5726 GB, free: 34.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5258, allocations: 9.031 kB / 0.5726 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.5305, allocations: 0.7919 MB / 0.5734 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.5322, allocations: 0.8417 MB / 0.5742 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.5325, allocations: 267.7 kB / 0.5745 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.5326, allocations: 83.53 kB / 0.5746 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.5348, allocations: 1.141 MB / 0.5757 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5349, allocations: 0 / 0.5757 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.535, allocations: 32.34 kB / 0.5757 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.535, allocations: 18.41 kB / 0.5757 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.5369, allocations: 1.047 MB / 0.5767 GB, free: 33.61 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.005699/0.5426, allocations: 3.899 MB / 0.5805 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006824/0.5494, allocations: 2.899 MB / 0.5834 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.551, allocations: 0.7371 MB / 0.5841 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.5511, allocations: 21.67 kB / 0.5841 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/0.5528, allocations: 0.8734 MB / 0.585 GB, free: 29.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.025e-06/0.5528, allocations: 0 / 0.585 GB, free: 29.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02895/0.5818, allocations: 8.772 MB / 0.5935 GB, free: 28.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.5819, allocations: 117.5 kB / 0.5937 GB, free: 28.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.584, allocations: 1.077 MB / 0.5947 GB, free: 27.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002604/0.5843, allocations: 46.84 kB / 0.5947 GB, free: 27.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.5847, allocations: 498.4 kB / 0.5952 GB, free: 27.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000576/0.5853, allocations: 348.2 kB / 0.5956 GB, free: 27.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.5855, allocations: 32.41 kB / 0.5956 GB, free: 27.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5856, allocations: 360.6 kB / 0.5959 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.5875, allocations: 0.8128 MB / 0.5967 GB, free: 26.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.5894, allocations: 0.9853 MB / 0.5977 GB, free: 25.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.5916, allocations: 0.9454 MB / 0.5986 GB, free: 25.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.5916, allocations: 5.172 kB / 0.5986 GB, free: 25.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01516/0.6068, allocations: 5.144 MB / 0.6036 GB, free: 24.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.6069, allocations: 60.14 kB / 0.6037 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6069, allocations: 3.969 kB / 0.6037 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006628/0.6136, allocations: 1.9 MB / 0.6056 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.6152, allocations: 296.6 kB / 0.6058 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/0.6363, allocations: 9.059 MB / 0.6147 GB, free: 18.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.6384, allocations: 238.7 kB / 0.6149 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/0.6388, allocations: 60.53 kB / 0.615 GB, free: 17.78 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis 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 (160): * Single equations (assignments): 157 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008873/0.6397, allocations: 301.9 kB / 0.6153 GB, free: 17.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.6401, allocations: 130.4 kB / 0.6154 GB, free: 17.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.6517, allocations: 4.701 MB / 0.62 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.6517, allocations: 12 kB / 0.62 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.6518, allocations: 8 kB / 0.62 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.6518, allocations: 7.938 kB / 0.62 GB, free: 12.59 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.01381/0.6656, allocations: 6.297 MB / 0.6261 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.6657, allocations: 0 / 0.6261 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.6662, allocations: 95.89 kB / 0.6262 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004965/0.6712, allocations: 1.89 MB / 0.6281 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.6714, allocations: 25.06 kB / 0.6281 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01937/0.6908, allocations: 9.666 MB / 0.6375 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.6908, allocations: 0 / 0.6375 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.7073, allocations: 5.635 MB / 0.6431 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/0.7082, allocations: 219.4 kB / 0.6433 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/0.7088, allocations: 26.59 kB / 0.6433 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.7103, allocations: 143.9 kB / 0.6434 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007615/0.7111, allocations: 192.6 kB / 0.6436 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.7112, allocations: 24 kB / 0.6436 GB, free: 3.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00164/0.7129, allocations: 0.7276 MB / 0.6443 GB, free: 3.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7129, allocations: 0 / 0.6443 GB, free: 3.211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002692/0.7156, allocations: 475.5 kB / 0.6448 GB, free: 2.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0004945/0.7161, allocations: 135.2 kB / 0.6449 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007971/0.7241, allocations: 2.775 MB / 0.6476 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.7242, allocations: 0 / 0.6476 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004674/0.7288, allocations: 1.805 MB / 0.6494 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.7306, allocations: 114.5 kB / 0.6495 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.736, allocations: 2.621 MB / 0.6521 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.737, allocations: 1.12 MB / 0.6532 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.7375, allocations: 83.41 kB / 0.6532 GB, free: 10 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7375, allocations: 0 / 0.6532 GB, free: 10 MB / 462.1 MB Notification: Performance of Templates: time 0.0387/0.7762, allocations: 23.37 MB / 0.6761 GB, free: 2.797 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o] Error 1