Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001042, allocations: 99.67 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.561/1.561, allocations: 223.3 MB / 239.7 MB, free: 5.609 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.001134/0.001134, allocations: 172.5 kB / 290.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5466/0.5466, allocations: 78.54 MB / 420.6 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 15.94 kB / 0.4887 GB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1798, allocations: 69.37 MB / 0.5564 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.3738/0.5537, allocations: 5.853 MB / 0.5621 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.5586, allocations: 1.876 MB / 0.564 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000998/0.5597, allocations: 11.56 kB / 0.564 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.5604, allocations: 174.5 kB / 0.5641 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.5623, allocations: 0.5983 MB / 0.5647 GB, free: 36.96 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.001424/0.5637, allocations: 0.559 MB / 0.5653 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.5653, allocations: 1.31 MB / 0.5666 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004442/0.5658, allocations: 252 kB / 0.5668 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.5664, allocations: 0.5171 MB / 0.5673 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/0.5671, allocations: 0.6359 MB / 0.5679 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.5672, allocations: 51.03 kB / 0.568 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.5676, allocations: 178.3 kB / 0.5681 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.5678, allocations: 218 kB / 0.5683 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.568, allocations: 218.9 kB / 0.5686 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.5691, allocations: 1.131 MB / 0.5697 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5691, allocations: 0 / 0.5697 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5691, allocations: 0 / 0.5697 GB, free: 35.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5691, allocations: 3.938 kB / 0.5697 GB, free: 35.87 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007119/0.5763, allocations: 2.377 MB / 0.572 GB, free: 35.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5763, allocations: 9.844 kB / 0.572 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.5811, allocations: 0.7832 MB / 0.5728 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.5828, allocations: 0.775 MB / 0.5735 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.5831, allocations: 273.8 kB / 0.5738 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.5832, allocations: 74.77 kB / 0.5738 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5857, allocations: 1.195 MB / 0.575 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.5857, allocations: 2.812 kB / 0.575 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.5858, allocations: 35.42 kB / 0.5751 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.5859, allocations: 16.16 kB / 0.5751 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.5884, allocations: 1.163 MB / 0.5762 GB, free: 34.06 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.006284/0.5947, allocations: 3.52 MB / 0.5796 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.5969, allocations: 1.536 MB / 0.5811 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.5983, allocations: 0.8221 MB / 0.5819 GB, free: 30.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.5985, allocations: 15 kB / 0.582 GB, free: 30.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.5985, allocations: 42.09 kB / 0.582 GB, free: 30.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.404e-06/0.5985, allocations: 0 / 0.582 GB, free: 30.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02601/0.6245, allocations: 8.048 MB / 0.5899 GB, free: 29.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.6246, allocations: 87.55 kB / 0.5899 GB, free: 29.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.6263, allocations: 0.9299 MB / 0.5908 GB, free: 28.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.6266, allocations: 45.77 kB / 0.5909 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.627, allocations: 484.3 kB / 0.5914 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.6274, allocations: 328.8 kB / 0.5917 GB, free: 28.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.6275, allocations: 24.47 kB / 0.5917 GB, free: 28.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6277, allocations: 346.4 kB / 0.592 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.6294, allocations: 0.781 MB / 0.5928 GB, free: 27.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.6312, allocations: 0.9026 MB / 0.5937 GB, free: 27.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.633, allocations: 0.8313 MB / 0.5945 GB, free: 26.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.633, allocations: 1.844 kB / 0.5945 GB, free: 26.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01643/0.6495, allocations: 5.136 MB / 0.5995 GB, free: 25.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.6497, allocations: 150 kB / 0.5996 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.6497, allocations: 3.938 kB / 0.5996 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007503/0.6572, allocations: 2.095 MB / 0.6017 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6584, allocations: 206.4 kB / 0.6019 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.6812, allocations: 9.521 MB / 0.6112 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.683, allocations: 224 kB / 0.6114 GB, free: 20.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/0.6831, allocations: 35.33 kB / 0.6114 GB, free: 20.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.6832, allocations: 4 kB / 0.6114 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0133/0.6965, allocations: 4.977 MB / 0.6163 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.6965, allocations: 0 / 0.6163 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005703/0.7023, allocations: 2.099 MB / 0.6183 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7034, allocations: 196.7 kB / 0.6185 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.7226, allocations: 9.499 MB / 0.6278 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.7244, allocations: 203.1 kB / 0.628 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/0.7246, allocations: 37.12 kB / 0.628 GB, free: 4.406 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006902/0.7253, allocations: 321.7 kB / 0.6283 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.7255, allocations: 114.5 kB / 0.6285 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.7377, allocations: 4.855 MB / 0.6332 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.7377, allocations: 8.797 kB / 0.6332 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7378, allocations: 4 kB / 0.6332 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/0.7378, allocations: 11.92 kB / 0.6332 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/0.7542, allocations: 6.463 MB / 0.6395 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.7543, allocations: 0 / 0.6395 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.755, allocations: 117.2 kB / 0.6396 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005999/0.761, allocations: 2.05 MB / 0.6416 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.7613, allocations: 23.98 kB / 0.6417 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.7792, allocations: 8.196 MB / 0.6497 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.7793, allocations: 3.984 kB / 0.6497 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/0.7951, allocations: 5.854 MB / 0.6554 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/0.7958, allocations: 207.5 kB / 0.6556 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.796, allocations: 16 kB / 0.6556 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.797, allocations: 155.9 kB / 0.6558 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006727/0.7977, allocations: 200.6 kB / 0.6559 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.7978, allocations: 28.67 kB / 0.656 GB, free: 7.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.7989, allocations: 0.6313 MB / 0.6566 GB, free: 6.824 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7989, allocations: 0 / 0.6566 GB, free: 6.824 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002562/0.8014, allocations: 0.6983 MB / 0.6573 GB, free: 6.125 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.8018, allocations: 131.2 kB / 0.6574 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01181/0.8136, allocations: 4.62 MB / 0.6619 GB, free: 1.355 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8136, allocations: 0.5 kB / 0.6619 GB, free: 1.355 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004651/0.8183, allocations: 1.746 MB / 0.6636 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.8195, allocations: 93.17 kB / 0.6637 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.8239, allocations: 2.548 MB / 0.6662 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/0.8247, allocations: 1.117 MB / 0.6673 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.825, allocations: 67.42 kB / 0.6673 GB, free: 11.75 MB / 478.1 MB Notification: Performance of SimCode: time 4.118e-06/0.825, allocations: 0 / 0.6673 GB, free: 11.75 MB / 478.1 MB Notification: Performance of Templates: time 0.03432/0.8594, allocations: 20.92 MB / 0.6878 GB, free: 6.945 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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.Tests.Machines.PSAT.Order4test2_TGCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TGCalcHelperMain.o] Error 1