Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08513/0.08513, allocations: 12.2 MB / 28.13 MB, free: 0.9453 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007116/0.0007116, allocations: 99.52 kB / 31.65 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 240.5 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001072, allocations: 177.7 kB / 291.6 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4646/0.4646, allocations: 78.53 MB / 421.1 MB, free: 48.81 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008994/0.0008996, allocations: 33.22 kB / 0.4907 GB, free: 2.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3982, allocations: 69.23 MB / 0.5583 GB, free: 43.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005489/0.4038, allocations: 5.736 MB / 0.5639 GB, free: 40.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.4074, allocations: 1.746 MB / 0.5656 GB, free: 39.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.4079, allocations: 11.16 kB / 0.5657 GB, free: 39.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.4083, allocations: 159.6 kB / 0.5658 GB, free: 39.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.4098, allocations: 0.6011 MB / 0.5664 GB, free: 39.52 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.00124/0.411, allocations: 0.5252 MB / 0.5669 GB, free: 39.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.4125, allocations: 1.2 MB / 0.5681 GB, free: 38.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.4128, allocations: 240.8 kB / 0.5683 GB, free: 38.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/0.4135, allocations: 476.2 kB / 0.5688 GB, free: 38.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006364/0.4142, allocations: 0.5815 MB / 0.5693 GB, free: 38.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.4143, allocations: 46.06 kB / 0.5694 GB, free: 38.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.4148, allocations: 185.1 kB / 0.5696 GB, free: 38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.415, allocations: 198.6 kB / 0.5697 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.4154, allocations: 0.5229 MB / 0.5703 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.4165, allocations: 0.9899 MB / 0.5712 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4165, allocations: 0 / 0.5712 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4165, allocations: 3.938 kB / 0.5712 GB, free: 37.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4165, allocations: 0 / 0.5712 GB, free: 37.21 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.006982/0.4235, allocations: 2.2 MB / 0.5734 GB, free: 36.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4236, allocations: 12.3 kB / 0.5734 GB, free: 36.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.4284, allocations: 0.7625 MB / 0.5741 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.4295, allocations: 0.7007 MB / 0.5748 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.4298, allocations: 262.3 kB / 0.5751 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.43, allocations: 71.03 kB / 0.5751 GB, free: 35.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.4319, allocations: 1.032 MB / 0.5761 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4319, allocations: 11.78 kB / 0.5761 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.432, allocations: 27.03 kB / 0.5762 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.432, allocations: 16.59 kB / 0.5762 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.434, allocations: 1.064 MB / 0.5772 GB, free: 34.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.004477/0.4385, allocations: 3.235 MB / 0.5804 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.4404, allocations: 1.394 MB / 0.5818 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.4417, allocations: 0.7744 MB / 0.5825 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.4418, allocations: 25.05 kB / 0.5825 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4418, allocations: 40.44 kB / 0.5826 GB, free: 31.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.796e-06/0.4419, allocations: 0 / 0.5826 GB, free: 31.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.0254/0.4673, allocations: 8.056 MB / 0.5904 GB, free: 30.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.4673, allocations: 59.16 kB / 0.5905 GB, free: 30.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.4685, allocations: 0.7961 MB / 0.5913 GB, free: 29.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.4686, allocations: 43.08 kB / 0.5913 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.4689, allocations: 434 kB / 0.5917 GB, free: 29.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.4692, allocations: 307.2 kB / 0.592 GB, free: 29.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.4695, allocations: 97.91 kB / 0.5921 GB, free: 29.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.4696, allocations: 343.6 kB / 0.5924 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.4712, allocations: 0.7382 MB / 0.5932 GB, free: 28.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.473, allocations: 0.861 MB / 0.594 GB, free: 28.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/0.4919, allocations: 5.018 MB / 0.5989 GB, free: 26.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.492, allocations: 0 / 0.5989 GB, free: 26.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01555/0.5075, allocations: 4.985 MB / 0.6038 GB, free: 25.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.5076, allocations: 6.812 kB / 0.6038 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.5076, allocations: 7.375 kB / 0.6038 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006767/0.5144, allocations: 2.054 MB / 0.6058 GB, free: 25.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.5154, allocations: 193.7 kB / 0.606 GB, free: 25.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.5351, allocations: 9.32 MB / 0.6151 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.5367, allocations: 191 kB / 0.6153 GB, free: 17.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.5369, allocations: 35.98 kB / 0.6153 GB, free: 17.36 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.000538/0.5374, allocations: 225.7 kB / 0.6155 GB, free: 17.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.5377, allocations: 110.6 kB / 0.6156 GB, free: 17.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.5501, allocations: 4.723 MB / 0.6202 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5501, allocations: 8 kB / 0.6202 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5501, allocations: 3.938 kB / 0.6202 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.5502, allocations: 3.984 kB / 0.6202 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.5644, allocations: 6.294 MB / 0.6264 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5645, allocations: 3.938 kB / 0.6264 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.565, allocations: 99.89 kB / 0.6265 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005635/0.5707, allocations: 2.054 MB / 0.6285 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.5708, allocations: 19.98 kB / 0.6285 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.5888, allocations: 8.201 MB / 0.6365 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5889, allocations: 4 kB / 0.6365 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.605, allocations: 5.723 MB / 0.6421 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.6055, allocations: 191.6 kB / 0.6423 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.6058, allocations: 16 kB / 0.6423 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.607, allocations: 123.9 kB / 0.6424 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006783/0.6077, allocations: 204.6 kB / 0.6426 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/0.6078, allocations: 19.98 kB / 0.6426 GB, free: 5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008478/0.6087, allocations: 0.5381 MB / 0.6432 GB, free: 4.465 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6087, allocations: 0 / 0.6432 GB, free: 4.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00159/0.6103, allocations: 403.6 kB / 0.6436 GB, free: 4.07 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.0003308/0.6106, allocations: 126.1 kB / 0.6437 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00705/0.6177, allocations: 2.571 MB / 0.6462 GB, free: 1.355 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6177, allocations: 0 / 0.6462 GB, free: 1.355 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005054/0.6228, allocations: 1.701 MB / 0.6478 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.6239, allocations: 84.73 kB / 0.6479 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.6277, allocations: 2.249 MB / 0.6501 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.6284, allocations: 1.033 MB / 0.6511 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.6287, allocations: 59.42 kB / 0.6512 GB, free: 12.17 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6287, allocations: 0 / 0.6512 GB, free: 12.17 MB / 462.1 MB Notification: Performance of Templates: time 0.02674/0.6554, allocations: 17.68 MB / 0.6685 GB, free: 10.47 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile make -j1 -f OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o] Error 1