Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 96.14 kB / 15.87 MB, free: 16 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.647/1.647, allocations: 222.9 MB / 239.5 MB, free: 4.734 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.001335/0.001335, allocations: 184.5 kB / 289.8 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5217/0.5217, allocations: 78.52 MB / 418.5 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 76.16 kB / 497.4 MB, free: 6.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1841, allocations: 68.17 MB / 0.5523 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.3363/0.5205, allocations: 7.341 MB / 0.5595 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.5258, allocations: 2.169 MB / 0.5616 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.5273, allocations: 15.97 kB / 0.5616 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.5285, allocations: 196 kB / 0.5618 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.5312, allocations: 0.6839 MB / 0.5625 GB, free: 34.79 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 generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.5332, allocations: 0.6941 MB / 0.5632 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.5354, allocations: 1.633 MB / 0.5648 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.536, allocations: 363 kB / 0.5651 GB, free: 34.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.537, allocations: 0.6348 MB / 0.5657 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009726/0.538, allocations: 0.801 MB / 0.5665 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.5382, allocations: 79.47 kB / 0.5666 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.5388, allocations: 205.5 kB / 0.5668 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.5391, allocations: 296.2 kB / 0.5671 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006662/0.5398, allocations: 0.666 MB / 0.5677 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.5412, allocations: 1.363 MB / 0.569 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.5412, allocations: 3.938 kB / 0.569 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5412, allocations: 2.719 kB / 0.569 GB, free: 33.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.5412, allocations: 2.875 kB / 0.569 GB, free: 33.56 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009341/0.5506, allocations: 2.836 MB / 0.5718 GB, free: 32.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5506, allocations: 11.88 kB / 0.5718 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.5554, allocations: 0.8005 MB / 0.5726 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.5571, allocations: 0.9256 MB / 0.5735 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.5574, allocations: 323.8 kB / 0.5738 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.5576, allocations: 93.81 kB / 0.5739 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.5601, allocations: 1.295 MB / 0.5752 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.5601, allocations: 0 / 0.5752 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5602, allocations: 36.14 kB / 0.5752 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.5602, allocations: 21.88 kB / 0.5752 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.5627, allocations: 1.198 MB / 0.5764 GB, free: 31.64 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.006626/0.5694, allocations: 4.191 MB / 0.5805 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.5725, allocations: 1.768 MB / 0.5822 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.5743, allocations: 0.8615 MB / 0.5831 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.5744, allocations: 17.12 kB / 0.5831 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/0.5764, allocations: 0.9591 MB / 0.584 GB, free: 27.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.757e-06/0.5765, allocations: 0 / 0.584 GB, free: 27.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03386/0.6103, allocations: 7.896 MB / 0.5917 GB, free: 26.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.6105, allocations: 123.8 kB / 0.5918 GB, free: 26.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.6126, allocations: 1.036 MB / 0.5929 GB, free: 25.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.613, allocations: 47.5 kB / 0.5929 GB, free: 25.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.6135, allocations: 0.5225 MB / 0.5934 GB, free: 25.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.6139, allocations: 392.8 kB / 0.5938 GB, free: 25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/0.6145, allocations: 239.3 kB / 0.594 GB, free: 24.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6146, allocations: 362.9 kB / 0.5944 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.6164, allocations: 0.7843 MB / 0.5951 GB, free: 24.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.6184, allocations: 0.9435 MB / 0.596 GB, free: 23.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02355/0.6419, allocations: 5.487 MB / 0.6014 GB, free: 22.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.642, allocations: 11.28 kB / 0.6014 GB, free: 22.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01562/0.6576, allocations: 4.454 MB / 0.6058 GB, free: 21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.97e-05/0.6578, allocations: 62.05 kB / 0.6058 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6578, allocations: 7.906 kB / 0.6058 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/0.6639, allocations: 1.735 MB / 0.6075 GB, free: 20.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.6656, allocations: 280.8 kB / 0.6078 GB, free: 20.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.6835, allocations: 8.323 MB / 0.6159 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.6854, allocations: 210.8 kB / 0.6161 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.6855, allocations: 43.98 kB / 0.6162 GB, free: 13.69 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.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: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005949/0.6862, allocations: 298.8 kB / 0.6165 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.6863, allocations: 131 kB / 0.6166 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.6995, allocations: 4.408 MB / 0.6209 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.6995, allocations: 9.062 kB / 0.6209 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6996, allocations: 7.938 kB / 0.6209 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.6996, allocations: 7.922 kB / 0.6209 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.7147, allocations: 6.268 MB / 0.627 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.7147, allocations: 0 / 0.627 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.7155, allocations: 127.8 kB / 0.6271 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005686/0.7212, allocations: 1.907 MB / 0.629 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.7214, allocations: 23.98 kB / 0.629 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/0.7431, allocations: 9.753 MB / 0.6386 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7432, allocations: 0 / 0.6386 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.7599, allocations: 5.42 MB / 0.6438 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.7604, allocations: 223.2 kB / 0.6441 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.7607, allocations: 27.94 kB / 0.6441 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.762, allocations: 135.8 kB / 0.6442 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007651/0.7628, allocations: 236.6 kB / 0.6444 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/0.7629, allocations: 30.06 kB / 0.6445 GB, free: 192 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.7639, allocations: 0.7045 MB / 0.6452 GB, free: 15.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7639, allocations: 0 / 0.6452 GB, free: 15.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001531/0.7655, allocations: 479.4 kB / 0.6456 GB, free: 15.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002873/0.7658, allocations: 145 kB / 0.6458 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006936/0.7727, allocations: 2.695 MB / 0.6484 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7727, allocations: 0 / 0.6484 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005161/0.7779, allocations: 1.831 MB / 0.6502 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.7793, allocations: 123.6 kB / 0.6503 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.7849, allocations: 3.014 MB / 0.6532 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.7857, allocations: 1.155 MB / 0.6544 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.7862, allocations: 83.41 kB / 0.6544 GB, free: 5.859 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7862, allocations: 0 / 0.6544 GB, free: 5.859 MB / 462.1 MB Notification: Performance of Templates: time 0.03527/0.8215, allocations: 25.29 MB / 0.6791 GB, free: 12.71 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_TestCalcHelperMain.o] Error 1