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.007334/0.007334, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 239.5 MB, free: 4.824 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.001889/0.001888, allocations: 188.5 kB / 289.8 MB, free: 2.555 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5122/0.5122, allocations: 78.51 MB / 418.4 MB, free: 3.387 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.89 kB / 497.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1709, allocations: 68.18 MB / 0.5523 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.3441/0.5151, allocations: 6.704 MB / 0.5589 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.52, allocations: 1.908 MB / 0.5607 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008288/0.5209, allocations: 14.16 kB / 0.5607 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.5218, allocations: 167.1 kB / 0.5609 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.5236, allocations: 0.6231 MB / 0.5615 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.525, allocations: 0.5692 MB / 0.5621 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.5265, allocations: 1.331 MB / 0.5634 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.527, allocations: 287.1 kB / 0.5636 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.5276, allocations: 0.5376 MB / 0.5642 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.5283, allocations: 0.6918 MB / 0.5648 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.5284, allocations: 66.84 kB / 0.5649 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.5289, allocations: 200.2 kB / 0.5651 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.5292, allocations: 239 kB / 0.5653 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.5296, allocations: 0.5801 MB / 0.5659 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009635/0.5306, allocations: 1.127 MB / 0.567 GB, free: 34.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5306, allocations: 0 / 0.567 GB, free: 34.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.5306, allocations: 0.5312 kB / 0.567 GB, free: 34.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.5306, allocations: 0.6875 kB / 0.567 GB, free: 34.62 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.007651/0.5383, allocations: 2.54 MB / 0.5695 GB, free: 33.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5384, allocations: 8.719 kB / 0.5695 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.5431, allocations: 0.7789 MB / 0.5702 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.5444, allocations: 0.7674 MB / 0.571 GB, free: 33.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.5447, allocations: 255.5 kB / 0.5712 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.5449, allocations: 75.84 kB / 0.5713 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.5475, allocations: 1.073 MB / 0.5724 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.5475, allocations: 4.5 kB / 0.5724 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.5476, allocations: 33.03 kB / 0.5724 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.5477, allocations: 19.72 kB / 0.5724 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.5505, allocations: 1.117 MB / 0.5735 GB, free: 32.95 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.006708/0.5572, allocations: 3.439 MB / 0.5769 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.5592, allocations: 1.408 MB / 0.5782 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.5607, allocations: 0.7796 MB / 0.579 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.5608, allocations: 17.64 kB / 0.579 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5608, allocations: 42.5 kB / 0.5791 GB, free: 30.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 4.529e-06/0.5608, allocations: 3 kB / 0.5791 GB, free: 30.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02822/0.5891, allocations: 6.754 MB / 0.5857 GB, free: 29.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.5892, allocations: 62.28 kB / 0.5857 GB, free: 29.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.5909, allocations: 0.8782 MB / 0.5866 GB, free: 29.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.5912, allocations: 40.95 kB / 0.5866 GB, free: 29.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.5916, allocations: 0.4921 MB / 0.5871 GB, free: 28.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.592, allocations: 347.7 kB / 0.5874 GB, free: 28.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004533/0.5925, allocations: 194.5 kB / 0.5876 GB, free: 28.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5926, allocations: 349.4 kB / 0.5879 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.5945, allocations: 0.7097 MB / 0.5886 GB, free: 27.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.5965, allocations: 0.8377 MB / 0.5894 GB, free: 27.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02155/0.6181, allocations: 4.78 MB / 0.5941 GB, free: 26.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.6181, allocations: 0 / 0.5941 GB, free: 26.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01692/0.6351, allocations: 4.255 MB / 0.5983 GB, free: 25.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.6352, allocations: 7.406 kB / 0.5983 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.6352, allocations: 1.922 kB / 0.5983 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007226/0.6424, allocations: 1.867 MB / 0.6001 GB, free: 24.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.6439, allocations: 207.4 kB / 0.6003 GB, free: 24.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0243/0.6682, allocations: 8.355 MB / 0.6085 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.6703, allocations: 176.1 kB / 0.6086 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/0.6706, allocations: 42.45 kB / 0.6087 GB, free: 20.43 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.0009028/0.6715, allocations: 241.7 kB / 0.6089 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/0.672, allocations: 121.9 kB / 0.609 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.6853, allocations: 4.008 MB / 0.6129 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.6854, allocations: 8 kB / 0.6129 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6854, allocations: 0 / 0.6129 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/0.6854, allocations: 7.969 kB / 0.6129 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.7004, allocations: 5.618 MB / 0.6184 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.7005, allocations: 0.9375 kB / 0.6184 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/0.7013, allocations: 127.8 kB / 0.6186 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005411/0.7067, allocations: 1.74 MB / 0.6203 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/0.7071, allocations: 19.98 kB / 0.6203 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/0.7232, allocations: 7.362 MB / 0.6275 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.7233, allocations: 7.938 kB / 0.6275 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.7388, allocations: 4.958 MB / 0.6323 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.7395, allocations: 199.5 kB / 0.6325 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004774/0.74, allocations: 21.61 kB / 0.6325 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.7414, allocations: 111.9 kB / 0.6326 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009191/0.7423, allocations: 208.6 kB / 0.6328 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.7425, allocations: 24 kB / 0.6329 GB, free: 12.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.7436, allocations: 0.5926 MB / 0.6334 GB, free: 11.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7436, allocations: 0 / 0.6334 GB, free: 11.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00227/0.7459, allocations: 435.4 kB / 0.6338 GB, free: 11.5 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.0004162/0.7463, allocations: 135.8 kB / 0.634 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007646/0.754, allocations: 2.419 MB / 0.6363 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.754, allocations: 0 / 0.6363 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005125/0.7592, allocations: 1.549 MB / 0.6379 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7605, allocations: 91.67 kB / 0.6379 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.7659, allocations: 2.406 MB / 0.6403 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.7668, allocations: 1.084 MB / 0.6413 GB, free: 3.758 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.7672, allocations: 71.41 kB / 0.6414 GB, free: 3.688 MB / 446.1 MB Notification: Performance of SimCode: time 1.654e-06/0.7672, allocations: 0 / 0.6414 GB, free: 3.688 MB / 446.1 MB Notification: Performance of Templates: time 0.03378/0.801, allocations: 19.9 MB / 0.6609 GB, free: 15.96 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