Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 100.5 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.48/1.48, allocations: 223.3 MB / 239.7 MB, free: 5.555 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.001346/0.001346, allocations: 187.8 kB / 290.9 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5602/0.5602, allocations: 78.56 MB / 420.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.000533, allocations: 19.94 kB / 0.4887 GB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.204, allocations: 69.37 MB / 0.5564 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.3307/0.5347, allocations: 6.072 MB / 0.5624 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.5395, allocations: 1.932 MB / 0.5642 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009365/0.5404, allocations: 11.28 kB / 0.5642 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.5412, allocations: 176.5 kB / 0.5644 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.5433, allocations: 0.6666 MB / 0.5651 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.5446, allocations: 0.5259 MB / 0.5656 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.5466, allocations: 1.454 MB / 0.567 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.5471, allocations: 264 kB / 0.5673 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.548, allocations: 0.5749 MB / 0.5678 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009466/0.5489, allocations: 0.7542 MB / 0.5686 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.5491, allocations: 60.78 kB / 0.5686 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.5496, allocations: 188 kB / 0.5688 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.5499, allocations: 261.1 kB / 0.569 GB, free: 36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.5502, allocations: 235 kB / 0.5693 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.5514, allocations: 1.272 MB / 0.5705 GB, free: 35.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5514, allocations: 0 / 0.5705 GB, free: 35.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5514, allocations: 0.5312 kB / 0.5705 GB, free: 35.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.5514, allocations: 0 / 0.5705 GB, free: 35.7 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007826/0.5592, allocations: 2.569 MB / 0.573 GB, free: 34.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5593, allocations: 13.81 kB / 0.573 GB, free: 34.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.5642, allocations: 0.7859 MB / 0.5738 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.5661, allocations: 0.8671 MB / 0.5746 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.5664, allocations: 264.7 kB / 0.5749 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.5666, allocations: 95.53 kB / 0.575 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.569, allocations: 1.149 MB / 0.5761 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5691, allocations: 4 kB / 0.5761 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.5692, allocations: 34.73 kB / 0.5761 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.5692, allocations: 17.69 kB / 0.5762 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.5711, allocations: 1.058 MB / 0.5772 GB, free: 33.43 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.006363/0.5775, allocations: 3.961 MB / 0.5811 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006976/0.5845, allocations: 2.918 MB / 0.5839 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.5861, allocations: 0.7556 MB / 0.5846 GB, free: 30.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.5863, allocations: 10.62 kB / 0.5847 GB, free: 30.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.5881, allocations: 0.8974 MB / 0.5855 GB, free: 29.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 6.272e-06/0.5881, allocations: 0 / 0.5855 GB, free: 29.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03055/0.6186, allocations: 8.798 MB / 0.5941 GB, free: 28.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.6188, allocations: 114.5 kB / 0.5942 GB, free: 27.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.621, allocations: 1.111 MB / 0.5953 GB, free: 27.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.6212, allocations: 47.58 kB / 0.5954 GB, free: 27.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.6217, allocations: 0.4984 MB / 0.5959 GB, free: 27.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/0.6223, allocations: 363.5 kB / 0.5962 GB, free: 26.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.6225, allocations: 29.47 kB / 0.5962 GB, free: 26.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6227, allocations: 366.4 kB / 0.5966 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.6248, allocations: 0.838 MB / 0.5974 GB, free: 26.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.6272, allocations: 1.008 MB / 0.5984 GB, free: 25.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.6295, allocations: 0.979 MB / 0.5993 GB, free: 25.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.6295, allocations: 5.141 kB / 0.5993 GB, free: 25.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01559/0.6451, allocations: 5.195 MB / 0.6044 GB, free: 23.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.6452, allocations: 59.12 kB / 0.6045 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.6452, allocations: 3.406 kB / 0.6045 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006758/0.652, allocations: 1.926 MB / 0.6064 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.654, allocations: 320.5 kB / 0.6067 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.6747, allocations: 8.976 MB / 0.6154 GB, free: 17.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.6772, allocations: 238.7 kB / 0.6157 GB, free: 17.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/0.6776, allocations: 55.97 kB / 0.6157 GB, free: 17.17 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-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 (168): * Single equations (assignments): 165 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009498/0.6785, allocations: 312.5 kB / 0.616 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/0.679, allocations: 131.9 kB / 0.6161 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.6906, allocations: 4.74 MB / 0.6208 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.6907, allocations: 9 kB / 0.6208 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.151e-05/0.6907, allocations: 12 kB / 0.6208 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.6908, allocations: 3.984 kB / 0.6208 GB, free: 11.93 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.01434/0.7051, allocations: 6.352 MB / 0.627 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7052, allocations: 0 / 0.627 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.7058, allocations: 111.9 kB / 0.6271 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005052/0.7109, allocations: 1.87 MB / 0.6289 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.711, allocations: 25.62 kB / 0.6289 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.7303, allocations: 9.684 MB / 0.6384 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.7303, allocations: 0.875 kB / 0.6384 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.7457, allocations: 5.687 MB / 0.644 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/0.7465, allocations: 232.9 kB / 0.6442 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004662/0.747, allocations: 20 kB / 0.6442 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.7485, allocations: 147.9 kB / 0.6443 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006994/0.7492, allocations: 196.6 kB / 0.6445 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.7494, allocations: 27.95 kB / 0.6446 GB, free: 3.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001591/0.751, allocations: 0.7435 MB / 0.6453 GB, free: 2.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.751, allocations: 0 / 0.6453 GB, free: 2.395 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002347/0.7533, allocations: 487.6 kB / 0.6457 GB, free: 1.918 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003828/0.7537, allocations: 144 kB / 0.6459 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007414/0.7612, allocations: 2.845 MB / 0.6487 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7612, allocations: 0 / 0.6487 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004591/0.7658, allocations: 1.791 MB / 0.6504 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.7676, allocations: 115.2 kB / 0.6505 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.7737, allocations: 2.816 MB / 0.6533 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.7749, allocations: 1.128 MB / 0.6544 GB, free: 8.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.7755, allocations: 87.41 kB / 0.6545 GB, free: 8.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.844e-06/0.7755, allocations: 0 / 0.6545 GB, free: 8.91 MB / 462.1 MB Notification: Performance of Templates: time 0.04166/0.8172, allocations: 23.87 MB / 0.6778 GB, free: 1.199 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.o] Error 1