Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 100.1 kB / 15.72 MB, free: 448 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.478/1.478, allocations: 223.3 MB / 239.7 MB, free: 5.617 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.00137/0.001369, allocations: 180.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5853/0.5853, allocations: 78.56 MB / 420.6 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 12 kB / 0.4887 GB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 69.36 MB / 0.5564 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.3562/0.526, allocations: 5.996 MB / 0.5623 GB, free: 38.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005398/0.5315, allocations: 1.91 MB / 0.5641 GB, free: 37.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.5325, allocations: 11.28 kB / 0.5642 GB, free: 37.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007887/0.5333, allocations: 167.8 kB / 0.5643 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.5354, allocations: 0.6634 MB / 0.565 GB, free: 37.59 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.5368, allocations: 0.5229 MB / 0.5655 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.5386, allocations: 1.41 MB / 0.5668 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.5391, allocations: 259 kB / 0.5671 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.5398, allocations: 0.562 MB / 0.5676 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.5406, allocations: 0.7223 MB / 0.5683 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.5407, allocations: 57.94 kB / 0.5684 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004756/0.5412, allocations: 186.1 kB / 0.5686 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.5415, allocations: 253.7 kB / 0.5688 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.5418, allocations: 227.4 kB / 0.569 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.543, allocations: 1.23 MB / 0.5702 GB, free: 36.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.543, allocations: 0 / 0.5702 GB, free: 36.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.543, allocations: 0 / 0.5702 GB, free: 36.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.5431, allocations: 0 / 0.5702 GB, free: 36.5 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007246/0.5503, allocations: 2.51 MB / 0.5727 GB, free: 35.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5504, allocations: 13 kB / 0.5727 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/0.5551, allocations: 0.7804 MB / 0.5735 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.5568, allocations: 0.845 MB / 0.5743 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.5571, allocations: 267.8 kB / 0.5745 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.5573, allocations: 87.77 kB / 0.5746 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.5593, allocations: 1.139 MB / 0.5757 GB, free: 34.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5594, allocations: 0 / 0.5757 GB, free: 34.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/0.5595, allocations: 29.25 kB / 0.5758 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.5595, allocations: 18.94 kB / 0.5758 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.5614, allocations: 1.048 MB / 0.5768 GB, free: 34.05 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.005896/0.5674, allocations: 3.908 MB / 0.5806 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.5743, allocations: 2.91 MB / 0.5835 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.5759, allocations: 0.7398 MB / 0.5842 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.576, allocations: 16.59 kB / 0.5842 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.5778, allocations: 0.8743 MB / 0.5851 GB, free: 30.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.056e-06/0.5778, allocations: 0 / 0.5851 GB, free: 30.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0299/0.6077, allocations: 8.64 MB / 0.5935 GB, free: 28.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.6079, allocations: 115.3 kB / 0.5936 GB, free: 28.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.61, allocations: 1.069 MB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002549/0.6103, allocations: 47.17 kB / 0.5947 GB, free: 28.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.6107, allocations: 0.4897 MB / 0.5952 GB, free: 27.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.6112, allocations: 349.1 kB / 0.5955 GB, free: 27.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/0.6113, allocations: 30.88 kB / 0.5955 GB, free: 27.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6114, allocations: 373.7 kB / 0.5959 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.6132, allocations: 0.8211 MB / 0.5967 GB, free: 26.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.6151, allocations: 0.9914 MB / 0.5977 GB, free: 26.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.617, allocations: 0.9637 MB / 0.5986 GB, free: 25.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.617, allocations: 4.656 kB / 0.5986 GB, free: 25.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01554/0.6326, allocations: 5.156 MB / 0.6036 GB, free: 24.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-05/0.6327, allocations: 63.42 kB / 0.6037 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.6327, allocations: 4.359 kB / 0.6037 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007578/0.6403, allocations: 1.9 MB / 0.6056 GB, free: 24.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.6421, allocations: 299 kB / 0.6059 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/0.6642, allocations: 9.016 MB / 0.6147 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.6664, allocations: 235.2 kB / 0.6149 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/0.6668, allocations: 55.97 kB / 0.6149 GB, free: 18.07 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (164): * Single equations (assignments): 161 * 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.001101/0.6679, allocations: 316.2 kB / 0.6152 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.6684, allocations: 122.4 kB / 0.6154 GB, free: 17.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.68, allocations: 4.711 MB / 0.62 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.68, allocations: 8 kB / 0.62 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/0.6801, allocations: 8 kB / 0.62 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.6801, allocations: 9.297 kB / 0.62 GB, free: 12.86 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.01399/0.6941, allocations: 6.29 MB / 0.6261 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.6941, allocations: 5 kB / 0.6261 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.6947, allocations: 99.83 kB / 0.6262 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005005/0.6997, allocations: 1.893 MB / 0.6281 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.6999, allocations: 20 kB / 0.6281 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/0.719, allocations: 9.642 MB / 0.6375 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.719, allocations: 4.609 kB / 0.6375 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/0.7341, allocations: 5.632 MB / 0.643 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/0.7348, allocations: 227.3 kB / 0.6432 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004272/0.7352, allocations: 23.95 kB / 0.6432 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.7367, allocations: 139.9 kB / 0.6434 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006808/0.7374, allocations: 202.5 kB / 0.6436 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7375, allocations: 24 kB / 0.6436 GB, free: 4.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00151/0.739, allocations: 0.7157 MB / 0.6443 GB, free: 3.508 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.739, allocations: 4 kB / 0.6443 GB, free: 3.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002415/0.7414, allocations: 483.4 kB / 0.6448 GB, free: 3.031 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (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: 1 {(21,21.8%) 11} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004071/0.7419, allocations: 141.1 kB / 0.6449 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006838/0.7487, allocations: 2.774 MB / 0.6476 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.7487, allocations: 7.875 kB / 0.6476 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004537/0.7533, allocations: 1.82 MB / 0.6494 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.7546, allocations: 116 kB / 0.6495 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.7596, allocations: 2.686 MB / 0.6521 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/0.7605, allocations: 1.124 MB / 0.6532 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.7609, allocations: 79.42 kB / 0.6533 GB, free: 10.19 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7609, allocations: 7.938 kB / 0.6533 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Templates: time 0.03473/0.7956, allocations: 23.43 MB / 0.6762 GB, free: 2.938 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_ContinuousCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_ContinuousCalcHelperMain.o] Error 1