Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008463/0.0008466, allocations: 97.78 kB / 16.02 MB, free: 76 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.359 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.001262/0.001262, allocations: 184.4 kB / 291.3 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4918/0.4918, allocations: 78.55 MB / 420.9 MB, free: 4.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.000479, allocations: 12 kB / 0.4893 GB, free: 5.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 69.36 MB / 0.557 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.3031/0.4723, allocations: 5.69 MB / 0.5626 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.4761, allocations: 1.768 MB / 0.5643 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000516/0.4767, allocations: 14.38 kB / 0.5643 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.4772, allocations: 161.1 kB / 0.5645 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.4786, allocations: 0.5949 MB / 0.5651 GB, free: 35.28 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.001123/0.4797, allocations: 0.5203 MB / 0.5656 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.4809, allocations: 1.2 MB / 0.5667 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.4813, allocations: 237.4 kB / 0.567 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.4818, allocations: 475.3 kB / 0.5674 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.4824, allocations: 0.5949 MB / 0.568 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.4825, allocations: 47 kB / 0.568 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.4829, allocations: 178.1 kB / 0.5682 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.4831, allocations: 191.1 kB / 0.5684 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.4835, allocations: 0.5272 MB / 0.5689 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008322/0.4843, allocations: 0.9965 MB / 0.5699 GB, free: 34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4843, allocations: 0 / 0.5699 GB, free: 34 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4843, allocations: 3.156 kB / 0.5699 GB, free: 34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4844, allocations: 0 / 0.5699 GB, free: 34 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006691/0.4911, allocations: 2.196 MB / 0.572 GB, free: 33.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4911, allocations: 7.875 kB / 0.572 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.4958, allocations: 0.7638 MB / 0.5728 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009681/0.4967, allocations: 0.7041 MB / 0.5735 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.497, allocations: 262.3 kB / 0.5737 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4972, allocations: 69.62 kB / 0.5738 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.4991, allocations: 1.035 MB / 0.5748 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4992, allocations: 3.938 kB / 0.5748 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/0.4993, allocations: 29.31 kB / 0.5748 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.4993, allocations: 15.55 kB / 0.5748 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.5013, allocations: 1.064 MB / 0.5759 GB, free: 32.48 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.004854/0.5062, allocations: 3.243 MB / 0.5791 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.508, allocations: 1.386 MB / 0.5804 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5095, allocations: 0.7822 MB / 0.5812 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.5096, allocations: 13.61 kB / 0.5812 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.5096, allocations: 51.78 kB / 0.5812 GB, free: 30.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.344e-06/0.5096, allocations: 0 / 0.5812 GB, free: 30.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02775/0.5374, allocations: 8.056 MB / 0.5891 GB, free: 29.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5375, allocations: 64.41 kB / 0.5892 GB, free: 29.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.5388, allocations: 0.793 MB / 0.5899 GB, free: 29.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.539, allocations: 41.02 kB / 0.59 GB, free: 29.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.5393, allocations: 428.1 kB / 0.5904 GB, free: 28.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.5396, allocations: 299.8 kB / 0.5907 GB, free: 28.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.5397, allocations: 100.9 kB / 0.5908 GB, free: 28.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.5399, allocations: 344.6 kB / 0.5911 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.5415, allocations: 0.7362 MB / 0.5918 GB, free: 27.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5432, allocations: 0.8563 MB / 0.5926 GB, free: 27.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01912/0.5623, allocations: 5.024 MB / 0.5976 GB, free: 26.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.5624, allocations: 3.469 kB / 0.5976 GB, free: 26.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0159/0.5783, allocations: 4.993 MB / 0.6024 GB, free: 25.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5783, allocations: 6.219 kB / 0.6024 GB, free: 25.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5784, allocations: 1.5 kB / 0.6024 GB, free: 25.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007177/0.5855, allocations: 2.045 MB / 0.6044 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.5867, allocations: 193.4 kB / 0.6046 GB, free: 24.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.6085, allocations: 9.31 MB / 0.6137 GB, free: 19.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.6101, allocations: 198.1 kB / 0.6139 GB, free: 19.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.6102, allocations: 35.66 kB / 0.6139 GB, free: 19.03 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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.0004372/0.6107, allocations: 227.2 kB / 0.6142 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.6108, allocations: 106.6 kB / 0.6143 GB, free: 18.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.6235, allocations: 4.733 MB / 0.6189 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6236, allocations: 8 kB / 0.6189 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6236, allocations: 1.188 kB / 0.6189 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.6236, allocations: 3.984 kB / 0.6189 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.6375, allocations: 6.291 MB / 0.625 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.6375, allocations: 0 / 0.625 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.6381, allocations: 99.89 kB / 0.6251 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005659/0.6437, allocations: 2.049 MB / 0.6271 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.6439, allocations: 16 kB / 0.6271 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/0.6606, allocations: 8.215 MB / 0.6352 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6607, allocations: 0.7969 kB / 0.6352 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.6765, allocations: 5.731 MB / 0.6408 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.677, allocations: 183.7 kB / 0.6409 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6772, allocations: 20 kB / 0.641 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/0.6781, allocations: 127.9 kB / 0.6411 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006248/0.6788, allocations: 196.7 kB / 0.6413 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.6788, allocations: 22.91 kB / 0.6413 GB, free: 6.883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006602/0.6795, allocations: 0.5341 MB / 0.6418 GB, free: 6.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6795, allocations: 0 / 0.6418 GB, free: 6.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001215/0.6807, allocations: 407.5 kB / 0.6422 GB, free: 5.953 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002479/0.681, allocations: 131.7 kB / 0.6423 GB, free: 5.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006697/0.6877, allocations: 2.566 MB / 0.6448 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6877, allocations: 0.5625 kB / 0.6448 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004808/0.6925, allocations: 1.698 MB / 0.6465 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.6933, allocations: 83.84 kB / 0.6466 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.6964, allocations: 2.252 MB / 0.6488 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.697, allocations: 1.033 MB / 0.6498 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.6972, allocations: 55.42 kB / 0.6498 GB, free: 14.09 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6972, allocations: 4 kB / 0.6498 GB, free: 14.09 MB / 462.1 MB Notification: Performance of Templates: time 0.02342/0.7207, allocations: 17.68 MB / 0.6671 GB, free: 12.52 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Machines.PSAT.Order4test2CalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o] Error 1