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.0008247/0.0008244, allocations: 99.19 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.371 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.0009679/0.0009679, allocations: 188.4 kB / 291.3 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4988/0.4988, allocations: 78.55 MB / 420.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 12 kB / 0.4893 GB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 69.35 MB / 0.557 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.2862/0.4402, allocations: 6.248 MB / 0.5631 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.444, allocations: 1.957 MB / 0.565 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.4445, allocations: 13.22 kB / 0.565 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.4452, allocations: 187.1 kB / 0.5652 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.4466, allocations: 0.6372 MB / 0.5658 GB, free: 34.84 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.001199/0.4478, allocations: 0.6145 MB / 0.5664 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.4489, allocations: 1.389 MB / 0.5678 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.4493, allocations: 276.4 kB / 0.5681 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.4498, allocations: 0.526 MB / 0.5686 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.4504, allocations: 0.6551 MB / 0.5692 GB, free: 34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.4506, allocations: 52.97 kB / 0.5693 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.4509, allocations: 183.5 kB / 0.5694 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.4511, allocations: 230.6 kB / 0.5697 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.4516, allocations: 0.5799 MB / 0.5702 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008565/0.4524, allocations: 1.129 MB / 0.5713 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4524, allocations: 3.938 kB / 0.5713 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4524, allocations: 2.688 kB / 0.5713 GB, free: 33.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.4525, allocations: 1.781 kB / 0.5713 GB, free: 33.45 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.00697/0.4594, allocations: 2.363 MB / 0.5737 GB, free: 32.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4595, allocations: 7.969 kB / 0.5737 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/0.4641, allocations: 0.7883 MB / 0.5744 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.4654, allocations: 0.7994 MB / 0.5752 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.4656, allocations: 275.1 kB / 0.5755 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.4658, allocations: 74.97 kB / 0.5755 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.468, allocations: 1.201 MB / 0.5767 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4681, allocations: 3.938 kB / 0.5767 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.4682, allocations: 28.75 kB / 0.5767 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.4682, allocations: 18.38 kB / 0.5768 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.4707, allocations: 1.173 MB / 0.5779 GB, free: 31.8 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.005977/0.4767, allocations: 3.52 MB / 0.5813 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.4789, allocations: 1.538 MB / 0.5828 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.4805, allocations: 0.8299 MB / 0.5837 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.122e-05/0.4806, allocations: 8.875 kB / 0.5837 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4806, allocations: 43.06 kB / 0.5837 GB, free: 29.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.115e-06/0.4806, allocations: 0 / 0.5837 GB, free: 29.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02833/0.509, allocations: 8.054 MB / 0.5916 GB, free: 28.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.5091, allocations: 90.88 kB / 0.5917 GB, free: 28.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.5109, allocations: 0.9439 MB / 0.5926 GB, free: 27.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.5112, allocations: 42.02 kB / 0.5926 GB, free: 27.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.5116, allocations: 485.2 kB / 0.5931 GB, free: 27.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.5121, allocations: 326.4 kB / 0.5934 GB, free: 26.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.5124, allocations: 102.9 kB / 0.5935 GB, free: 26.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5125, allocations: 350.8 kB / 0.5938 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.5145, allocations: 0.7789 MB / 0.5946 GB, free: 26.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.5167, allocations: 0.9168 MB / 0.5955 GB, free: 25.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02128/0.538, allocations: 5.232 MB / 0.6006 GB, free: 24.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.538, allocations: 3.281 kB / 0.6006 GB, free: 24.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01759/0.5556, allocations: 5.141 MB / 0.6056 GB, free: 23.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.5558, allocations: 150.5 kB / 0.6058 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.5558, allocations: 2.969 kB / 0.6058 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007647/0.5635, allocations: 2.032 MB / 0.6077 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5648, allocations: 214.3 kB / 0.608 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/0.5885, allocations: 9.326 MB / 0.6171 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.5905, allocations: 220 kB / 0.6173 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.5909, allocations: 43.98 kB / 0.6173 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5909, allocations: 7.938 kB / 0.6173 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01433/0.6052, allocations: 4.98 MB / 0.6222 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.6053, allocations: 0 / 0.6222 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006081/0.6114, allocations: 2.033 MB / 0.6242 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.6125, allocations: 203.7 kB / 0.6244 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.6333, allocations: 9.321 MB / 0.6335 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.6353, allocations: 196.2 kB / 0.6337 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.6356, allocations: 40.92 kB / 0.6337 GB, free: 14.86 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-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 (111): * Single equations (assignments): 110 * 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.0009907/0.6366, allocations: 324.9 kB / 0.634 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/0.6371, allocations: 122.4 kB / 0.6341 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/0.6522, allocations: 4.859 MB / 0.6389 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.6522, allocations: 12 kB / 0.6389 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6522, allocations: 0 / 0.6389 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.6523, allocations: 5.766 kB / 0.6389 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.6699, allocations: 6.482 MB / 0.6452 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.67, allocations: 0 / 0.6452 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.6707, allocations: 111.9 kB / 0.6453 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006481/0.6772, allocations: 2.061 MB / 0.6473 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.6774, allocations: 20 kB / 0.6473 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.6975, allocations: 8.195 MB / 0.6553 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6976, allocations: 7.938 kB / 0.6554 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/0.7151, allocations: 5.858 MB / 0.6611 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.7158, allocations: 217.3 kB / 0.6613 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/0.7162, allocations: 16 kB / 0.6613 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.7177, allocations: 147.9 kB / 0.6614 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/0.7185, allocations: 200.7 kB / 0.6616 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.7186, allocations: 24 kB / 0.6617 GB, free: 1.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001287/0.7199, allocations: 0.6391 MB / 0.6623 GB, free: 1.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7199, allocations: 0 / 0.6623 GB, free: 1.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002849/0.7228, allocations: 0.6944 MB / 0.663 GB, free: 0.5312 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 (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.0004232/0.7232, allocations: 129 kB / 0.6631 GB, free: 404 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01293/0.7362, allocations: 4.606 MB / 0.6676 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.7362, allocations: 4.438 kB / 0.6676 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005196/0.7415, allocations: 1.747 MB / 0.6693 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.7429, allocations: 100.9 kB / 0.6694 GB, free: 9.914 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.7484, allocations: 2.669 MB / 0.672 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009736/0.7494, allocations: 1.109 MB / 0.6731 GB, free: 6.117 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.7498, allocations: 68.45 kB / 0.6731 GB, free: 6.051 MB / 478.1 MB Notification: Performance of SimCode: time 3.066e-06/0.7499, allocations: 0 / 0.6731 GB, free: 6.051 MB / 478.1 MB Notification: Performance of Templates: time 0.03589/0.7858, allocations: 20.87 MB / 0.6935 GB, free: 1.297 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++ -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.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