Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.000829/0.0008287, allocations: 102.8 kB / 15.71 MB, free: 460 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.394/1.394, allocations: 223.3 MB / 239.7 MB, free: 5.613 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.001013/0.001013, allocations: 184.5 kB / 290.9 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.517/0.517, allocations: 79.48 MB / 421.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004277, allocations: 20 kB / 0.4897 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1649, allocations: 69.52 MB / 0.5576 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.3531/0.518, allocations: 5.351 MB / 0.5629 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006067/0.5241, allocations: 1.705 MB / 0.5645 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.526, allocations: 11.72 kB / 0.5645 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008877/0.5269, allocations: 147.7 kB / 0.5647 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.5304, allocations: 0.5637 MB / 0.5652 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.5323, allocations: 497.9 kB / 0.5657 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.5351, allocations: 1.139 MB / 0.5668 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006779/0.5358, allocations: 218.1 kB / 0.567 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.537, allocations: 460.2 kB / 0.5675 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009221/0.538, allocations: 0.5686 MB / 0.568 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.5381, allocations: 45.62 kB / 0.5681 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.5389, allocations: 170.7 kB / 0.5682 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.5391, allocations: 188.5 kB / 0.5684 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.5394, allocations: 204 kB / 0.5686 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.541, allocations: 0.9969 MB / 0.5696 GB, free: 36.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.541, allocations: 0 / 0.5696 GB, free: 36.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.541, allocations: 0 / 0.5696 GB, free: 36.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5411, allocations: 0 / 0.5696 GB, free: 36.37 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.008201/0.5493, allocations: 2.196 MB / 0.5717 GB, free: 35.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.5493, allocations: 7.688 kB / 0.5717 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/0.5542, allocations: 0.7784 MB / 0.5725 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.5564, allocations: 0.6655 MB / 0.5731 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.5568, allocations: 262.2 kB / 0.5734 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004581/0.5573, allocations: 69.09 kB / 0.5734 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.5601, allocations: 1.026 MB / 0.5744 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5601, allocations: 0 / 0.5744 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.5602, allocations: 28.72 kB / 0.5745 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.5603, allocations: 25.52 kB / 0.5745 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.5626, allocations: 1.057 MB / 0.5755 GB, free: 34.27 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.006978/0.5696, allocations: 3.284 MB / 0.5787 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.5715, allocations: 1.374 MB / 0.5801 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.5729, allocations: 0.7793 MB / 0.5808 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.573, allocations: 12.73 kB / 0.5808 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.573, allocations: 46.19 kB / 0.5809 GB, free: 31.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.895e-06/0.573, allocations: 0 / 0.5809 GB, free: 31.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02693/0.6, allocations: 8.011 MB / 0.5887 GB, free: 29.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.6002, allocations: 60.25 kB / 0.5888 GB, free: 29.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.6025, allocations: 0.7842 MB / 0.5895 GB, free: 29.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004548/0.603, allocations: 41.23 kB / 0.5896 GB, free: 29.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008412/0.6039, allocations: 428.8 kB / 0.59 GB, free: 29.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00092/0.6048, allocations: 295.7 kB / 0.5903 GB, free: 28.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.6052, allocations: 24.22 kB / 0.5903 GB, free: 28.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.6054, allocations: 348.1 kB / 0.5906 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.6077, allocations: 0.7333 MB / 0.5913 GB, free: 28.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.6099, allocations: 0.8494 MB / 0.5922 GB, free: 27.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.6122, allocations: 0.7847 MB / 0.5929 GB, free: 27.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.6122, allocations: 0 / 0.5929 GB, free: 27.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01681/0.629, allocations: 5.037 MB / 0.5979 GB, free: 26.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.6291, allocations: 7.188 kB / 0.5979 GB, free: 26.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6291, allocations: 3.5 kB / 0.5979 GB, free: 26.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007438/0.6366, allocations: 2.085 MB / 0.5999 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.6378, allocations: 181.6 kB / 0.6001 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02555/0.6633, allocations: 9.518 MB / 0.6094 GB, free: 21.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.6653, allocations: 193.1 kB / 0.6096 GB, free: 21.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/0.6657, allocations: 35.84 kB / 0.6096 GB, free: 21.84 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * 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.0009048/0.6666, allocations: 231.2 kB / 0.6098 GB, free: 21.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/0.6671, allocations: 106.2 kB / 0.6099 GB, free: 21.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.6809, allocations: 4.728 MB / 0.6145 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/0.681, allocations: 8.562 kB / 0.6145 GB, free: 18.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.681, allocations: 0 / 0.6145 GB, free: 18.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.681, allocations: 3.984 kB / 0.6145 GB, free: 18.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.6952, allocations: 6.251 MB / 0.6206 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.6952, allocations: 1.125 kB / 0.6206 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.6958, allocations: 103.9 kB / 0.6207 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00538/0.7012, allocations: 2.049 MB / 0.6227 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/0.7014, allocations: 16 kB / 0.6228 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/0.7187, allocations: 8.187 MB / 0.6308 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7188, allocations: 0 / 0.6308 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/0.7338, allocations: 5.673 MB / 0.6363 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.7345, allocations: 196.4 kB / 0.6365 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005281/0.735, allocations: 17.2 kB / 0.6365 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7363, allocations: 127.9 kB / 0.6366 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007585/0.7371, allocations: 200.6 kB / 0.6368 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.7372, allocations: 20 kB / 0.6368 GB, free: 11.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000927/0.7382, allocations: 0.5263 MB / 0.6373 GB, free: 10.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7382, allocations: 0 / 0.6373 GB, free: 10.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002027/0.7402, allocations: 415.5 kB / 0.6377 GB, free: 10.45 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 (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.000377/0.7406, allocations: 121.3 kB / 0.6379 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007157/0.7478, allocations: 2.58 MB / 0.6404 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7478, allocations: 4.5 kB / 0.6404 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004659/0.7525, allocations: 1.7 MB / 0.642 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7539, allocations: 84.38 kB / 0.6421 GB, free: 5.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.7586, allocations: 2.131 MB / 0.6442 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.7594, allocations: 1.029 MB / 0.6452 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.7598, allocations: 59.42 kB / 0.6453 GB, free: 2.691 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.7598, allocations: 4 kB / 0.6453 GB, free: 2.688 MB / 446.1 MB Notification: Performance of Templates: time 0.0294/0.7892, allocations: 17.7 MB / 0.6626 GB, free: 1.098 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o] Error 1