Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008359, allocations: 91.92 kB / 16.02 MB, free: 80 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.512 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.0009288/0.0009288, allocations: 179.4 kB / 291.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4762/0.4762, allocations: 78.55 MB / 420.9 MB, free: 4.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 15.98 kB / 0.4893 GB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 69.36 MB / 0.557 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2789/0.4414, allocations: 6.243 MB / 0.5631 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.445, allocations: 1.877 MB / 0.565 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.4455, allocations: 11.34 kB / 0.565 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.4459, allocations: 177.7 kB / 0.5651 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.4473, allocations: 0.6212 MB / 0.5657 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4483, allocations: 0.5585 MB / 0.5663 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.4494, allocations: 1.331 MB / 0.5676 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.4498, allocations: 285.8 kB / 0.5679 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.4503, allocations: 0.5085 MB / 0.5684 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.4509, allocations: 0.6646 MB / 0.569 GB, free: 34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.4511, allocations: 52.94 kB / 0.5691 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.4514, allocations: 181.2 kB / 0.5692 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.4516, allocations: 215.3 kB / 0.5694 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.452, allocations: 0.5876 MB / 0.57 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008772/0.4529, allocations: 1.092 MB / 0.5711 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4529, allocations: 2.031 kB / 0.5711 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4529, allocations: 0.5312 kB / 0.5711 GB, free: 33.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4529, allocations: 0 / 0.5711 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007465/0.4604, allocations: 2.372 MB / 0.5734 GB, free: 32.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.052e-05/0.4605, allocations: 10.38 kB / 0.5734 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.4657, allocations: 0.7829 MB / 0.5742 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.4671, allocations: 0.7663 MB / 0.5749 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.4674, allocations: 269.4 kB / 0.5752 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.4676, allocations: 75.66 kB / 0.5753 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.4702, allocations: 1.165 MB / 0.5764 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.4703, allocations: 7.938 kB / 0.5764 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-05/0.4704, allocations: 32.72 kB / 0.5764 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.4704, allocations: 20.06 kB / 0.5764 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.473, allocations: 1.233 MB / 0.5777 GB, free: 31.78 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.005894/0.4789, allocations: 3.5 MB / 0.5811 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.4813, allocations: 1.502 MB / 0.5825 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.483, allocations: 0.876 MB / 0.5834 GB, free: 29.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.4831, allocations: 13.14 kB / 0.5834 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4832, allocations: 44.75 kB / 0.5834 GB, free: 29.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 5.991e-06/0.4832, allocations: 5.969 kB / 0.5835 GB, free: 29.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0293/0.5125, allocations: 8.366 MB / 0.5916 GB, free: 28.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.5126, allocations: 69.05 kB / 0.5917 GB, free: 28.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.5139, allocations: 0.8776 MB / 0.5925 GB, free: 27.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.5142, allocations: 44.36 kB / 0.5926 GB, free: 27.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.5145, allocations: 0.4893 MB / 0.5931 GB, free: 27.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.5148, allocations: 336.9 kB / 0.5934 GB, free: 27.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.515, allocations: 107.1 kB / 0.5935 GB, free: 27.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.5151, allocations: 348.7 kB / 0.5938 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.5168, allocations: 0.8001 MB / 0.5946 GB, free: 26.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.5187, allocations: 0.931 MB / 0.5955 GB, free: 26.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01979/0.5385, allocations: 5.345 MB / 0.6007 GB, free: 24.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5386, allocations: 0 / 0.6007 GB, free: 24.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01641/0.555, allocations: 5.207 MB / 0.6058 GB, free: 23.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5551, allocations: 6.625 kB / 0.6058 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.5551, allocations: 3.703 kB / 0.6058 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007419/0.5625, allocations: 2.173 MB / 0.6079 GB, free: 23.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.5638, allocations: 220.1 kB / 0.6082 GB, free: 23.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.5857, allocations: 9.343 MB / 0.6173 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.5875, allocations: 218.9 kB / 0.6175 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.5878, allocations: 39.98 kB / 0.6175 GB, free: 15.55 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0007278/0.5885, allocations: 244.6 kB / 0.6178 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.5888, allocations: 128.1 kB / 0.6179 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.602, allocations: 4.944 MB / 0.6227 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.6021, allocations: 8 kB / 0.6227 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6021, allocations: 0 / 0.6227 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/0.6021, allocations: 8.859 kB / 0.6227 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.618, allocations: 6.572 MB / 0.6291 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.6181, allocations: 0 / 0.6291 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.619, allocations: 143.9 kB / 0.6293 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005934/0.6249, allocations: 2.049 MB / 0.6313 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/0.6252, allocations: 19.98 kB / 0.6313 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.6447, allocations: 8.223 MB / 0.6393 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6448, allocations: 3.938 kB / 0.6393 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/0.662, allocations: 6.001 MB / 0.6452 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.6626, allocations: 203.4 kB / 0.6454 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004508/0.6631, allocations: 16 kB / 0.6454 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.6646, allocations: 157.1 kB / 0.6456 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008587/0.6654, allocations: 213.2 kB / 0.6458 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.6656, allocations: 24 kB / 0.6458 GB, free: 2.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.6667, allocations: 0.5904 MB / 0.6464 GB, free: 1.668 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.784e-06/0.6667, allocations: 0 / 0.6464 GB, free: 1.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001786/0.6685, allocations: 443.4 kB / 0.6468 GB, free: 1.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0003393/0.6689, allocations: 127 kB / 0.6469 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007663/0.6765, allocations: 2.77 MB / 0.6496 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6766, allocations: 0 / 0.6496 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00564/0.6822, allocations: 1.792 MB / 0.6514 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.6838, allocations: 89.69 kB / 0.6514 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.6884, allocations: 2.435 MB / 0.6538 GB, free: 9.988 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/0.6892, allocations: 1.084 MB / 0.6549 GB, free: 8.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/0.6896, allocations: 71.41 kB / 0.6549 GB, free: 8.809 MB / 462.1 MB Notification: Performance of SimCode: time 1.803e-06/0.6896, allocations: 3.938 kB / 0.655 GB, free: 8.805 MB / 462.1 MB Notification: Performance of Templates: time 0.03043/0.72, allocations: 19.77 MB / 0.6743 GB, free: 5.18 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Order2test2_perturbationCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbationCalcHelperMain.o] Error 1