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.0008696/0.0008696, allocations: 100.1 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.48/1.48, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.001204/0.001204, allocations: 184.5 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5739/0.5739, allocations: 78.56 MB / 420.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 11.94 kB / 0.4887 GB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1781, allocations: 69.37 MB / 0.5564 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.3691/0.5473, allocations: 5.852 MB / 0.5621 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.5515, allocations: 1.784 MB / 0.5639 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.5524, allocations: 15.38 kB / 0.5639 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.553, allocations: 160 kB / 0.564 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.5549, allocations: 0.5848 MB / 0.5646 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.5563, allocations: 0.5104 MB / 0.5651 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.5579, allocations: 1.271 MB / 0.5664 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.5584, allocations: 265 kB / 0.5666 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.5591, allocations: 0.4909 MB / 0.5671 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.5598, allocations: 0.6331 MB / 0.5677 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.5599, allocations: 54.19 kB / 0.5678 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.5604, allocations: 178.5 kB / 0.5679 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.5606, allocations: 213.3 kB / 0.5681 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.5609, allocations: 221.1 kB / 0.5683 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.5622, allocations: 1.089 MB / 0.5694 GB, free: 35.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.5622, allocations: 0.625 kB / 0.5694 GB, free: 35.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5622, allocations: 3.062 kB / 0.5694 GB, free: 35.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.5622, allocations: 0 / 0.5694 GB, free: 35.85 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.007309/0.5695, allocations: 2.376 MB / 0.5717 GB, free: 35.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5696, allocations: 12.34 kB / 0.5717 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/0.5742, allocations: 0.795 MB / 0.5725 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.5756, allocations: 0.7201 MB / 0.5732 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.5759, allocations: 266.5 kB / 0.5735 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.5761, allocations: 78.94 kB / 0.5736 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.5784, allocations: 1.161 MB / 0.5747 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.5785, allocations: 1.875 kB / 0.5747 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/0.5786, allocations: 32.44 kB / 0.5747 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.5786, allocations: 17.88 kB / 0.5747 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.5811, allocations: 1.231 MB / 0.5759 GB, free: 34.15 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.005439/0.5866, allocations: 3.507 MB / 0.5794 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.5886, allocations: 1.5 MB / 0.5808 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.59, allocations: 0.8709 MB / 0.5817 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.5901, allocations: 16.09 kB / 0.5817 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.5902, allocations: 46.91 kB / 0.5817 GB, free: 30.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.645e-06/0.5902, allocations: 0 / 0.5817 GB, free: 30.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02608/0.6163, allocations: 8.321 MB / 0.5899 GB, free: 29.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6164, allocations: 62.12 kB / 0.5899 GB, free: 29.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.6179, allocations: 0.8726 MB / 0.5908 GB, free: 29.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.6181, allocations: 42.44 kB / 0.5908 GB, free: 28.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.6185, allocations: 0.4913 MB / 0.5913 GB, free: 28.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.6189, allocations: 339.1 kB / 0.5916 GB, free: 28.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.619, allocations: 21.44 kB / 0.5916 GB, free: 28.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6192, allocations: 355 kB / 0.592 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.6211, allocations: 0.7939 MB / 0.5928 GB, free: 27.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.6234, allocations: 0.9342 MB / 0.5937 GB, free: 27.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.626, allocations: 0.8528 MB / 0.5945 GB, free: 27.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.626, allocations: 4 kB / 0.5945 GB, free: 27 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01605/0.642, allocations: 5.143 MB / 0.5995 GB, free: 25.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.6421, allocations: 4.812 kB / 0.5995 GB, free: 25.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.6421, allocations: 3.094 kB / 0.5995 GB, free: 25.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007481/0.6496, allocations: 2.184 MB / 0.6017 GB, free: 25.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.6509, allocations: 219.3 kB / 0.6019 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.6736, allocations: 9.335 MB / 0.611 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.6753, allocations: 226.4 kB / 0.6112 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.6754, allocations: 39.84 kB / 0.6112 GB, free: 21.16 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 (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 prepare postOptimizeDAE: time 0.0005547/0.676, allocations: 251 kB / 0.6115 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6762, allocations: 120 kB / 0.6116 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.6887, allocations: 4.936 MB / 0.6164 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.6888, allocations: 8 kB / 0.6164 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6888, allocations: 4 kB / 0.6164 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.6888, allocations: 5.047 kB / 0.6164 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.7023, allocations: 6.559 MB / 0.6228 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.7023, allocations: 3.984 kB / 0.6228 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.703, allocations: 135.9 kB / 0.623 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/0.7082, allocations: 2.061 MB / 0.625 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.7084, allocations: 16 kB / 0.625 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.7237, allocations: 8.211 MB / 0.633 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7238, allocations: 9.672 kB / 0.633 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.7409, allocations: 5.986 MB / 0.6389 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.7416, allocations: 203.4 kB / 0.6391 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.7418, allocations: 20.06 kB / 0.6391 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/0.7427, allocations: 155.9 kB / 0.6392 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008046/0.7436, allocations: 216.6 kB / 0.6394 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.7436, allocations: 24 kB / 0.6395 GB, free: 8.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008505/0.7445, allocations: 0.5809 MB / 0.64 GB, free: 7.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7445, allocations: 1.969 kB / 0.64 GB, free: 7.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001611/0.7461, allocations: 427.5 kB / 0.6404 GB, free: 7.566 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 (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.0003145/0.7465, allocations: 131.1 kB / 0.6406 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00708/0.7535, allocations: 2.761 MB / 0.6433 GB, free: 4.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7536, allocations: 0.5625 kB / 0.6433 GB, free: 4.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004619/0.7582, allocations: 1.788 MB / 0.645 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.7592, allocations: 97.09 kB / 0.6451 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.7632, allocations: 2.31 MB / 0.6474 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/0.7641, allocations: 1.084 MB / 0.6484 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.7644, allocations: 71.41 kB / 0.6485 GB, free: 15.27 MB / 462.1 MB Notification: Performance of SimCode: time 2.234e-06/0.7644, allocations: 0 / 0.6485 GB, free: 15.27 MB / 462.1 MB Notification: Performance of Templates: time 0.02892/0.7934, allocations: 19.84 MB / 0.6679 GB, free: 11.58 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++ 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.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