Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007753/0.0007753, allocations: 92.62 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.402 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.00103/0.00103, allocations: 176.5 kB / 291.3 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4915/0.4915, allocations: 78.54 MB / 420.9 MB, free: 4.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 12 kB / 0.4893 GB, free: 5.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1478, allocations: 69.37 MB / 0.557 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.2657/0.4135, allocations: 6.187 MB / 0.5631 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003974/0.4176, allocations: 1.955 MB / 0.565 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007192/0.4183, allocations: 15.22 kB / 0.565 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.419, allocations: 188.7 kB / 0.5652 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.4207, allocations: 0.6343 MB / 0.5658 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.4221, allocations: 0.6055 MB / 0.5664 GB, free: 35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.4234, allocations: 1.383 MB / 0.5677 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.4239, allocations: 276.2 kB / 0.568 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005882/0.4245, allocations: 0.5204 MB / 0.5685 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.4251, allocations: 0.6649 MB / 0.5692 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.4252, allocations: 54.47 kB / 0.5692 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.4256, allocations: 181.4 kB / 0.5694 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.4258, allocations: 231.4 kB / 0.5696 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.4263, allocations: 0.5693 MB / 0.5702 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.4272, allocations: 1.135 MB / 0.5713 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4272, allocations: 0 / 0.5713 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4272, allocations: 0.6562 kB / 0.5713 GB, free: 33.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4272, allocations: 0 / 0.5713 GB, free: 33.72 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007149/0.4344, allocations: 2.375 MB / 0.5736 GB, free: 32.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4344, allocations: 11.84 kB / 0.5736 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/0.4391, allocations: 0.7704 MB / 0.5744 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.4404, allocations: 0.8099 MB / 0.5751 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.4406, allocations: 274.4 kB / 0.5754 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.4408, allocations: 78.94 kB / 0.5755 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.4429, allocations: 1.199 MB / 0.5767 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.443, allocations: 3.938 kB / 0.5767 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/0.4431, allocations: 32.2 kB / 0.5767 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.4431, allocations: 19.36 kB / 0.5767 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.4454, allocations: 1.165 MB / 0.5778 GB, free: 32.07 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.005727/0.4511, allocations: 3.523 MB / 0.5813 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.4532, allocations: 1.514 MB / 0.5828 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.4546, allocations: 0.8286 MB / 0.5836 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.592e-05/0.4547, allocations: 16.42 kB / 0.5836 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4548, allocations: 46.47 kB / 0.5836 GB, free: 29.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.655e-06/0.4548, allocations: 0 / 0.5836 GB, free: 29.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02935/0.4841, allocations: 8.488 MB / 0.5919 GB, free: 28.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.4842, allocations: 91.52 kB / 0.592 GB, free: 28.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.4859, allocations: 0.9535 MB / 0.5929 GB, free: 27.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.4861, allocations: 41.33 kB / 0.593 GB, free: 27.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.4865, allocations: 482.6 kB / 0.5934 GB, free: 27.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.4868, allocations: 321.9 kB / 0.5937 GB, free: 27.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.487, allocations: 99.31 kB / 0.5938 GB, free: 27.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.4871, allocations: 348.6 kB / 0.5942 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.4888, allocations: 0.7705 MB / 0.5949 GB, free: 26.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.4906, allocations: 0.9011 MB / 0.5958 GB, free: 26.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02009/0.5107, allocations: 5.203 MB / 0.6009 GB, free: 24.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.5108, allocations: 3.938 kB / 0.6009 GB, free: 24.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01688/0.5277, allocations: 5.162 MB / 0.6059 GB, free: 23.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.5279, allocations: 155.2 kB / 0.6061 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5279, allocations: 1.75 kB / 0.6061 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007499/0.5354, allocations: 2.105 MB / 0.6081 GB, free: 23.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5365, allocations: 196.4 kB / 0.6083 GB, free: 23.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.5577, allocations: 9.58 MB / 0.6177 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.5595, allocations: 211 kB / 0.6179 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.5596, allocations: 39.98 kB / 0.6179 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5596, allocations: 5.094 kB / 0.6179 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01318/0.5728, allocations: 5.012 MB / 0.6228 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.5729, allocations: 4 kB / 0.6228 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006145/0.579, allocations: 2.107 MB / 0.6249 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009678/0.58, allocations: 184.9 kB / 0.6251 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.6003, allocations: 9.558 MB / 0.6344 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.6022, allocations: 207 kB / 0.6346 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.6023, allocations: 39.98 kB / 0.6346 GB, free: 13.82 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (105): * Single equations (assignments): 104 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007057/0.603, allocations: 308 kB / 0.6349 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.6033, allocations: 122.5 kB / 0.635 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.6177, allocations: 4.877 MB / 0.6398 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.6178, allocations: 8.703 kB / 0.6398 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6178, allocations: 0 / 0.6398 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.6178, allocations: 9.797 kB / 0.6398 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.6341, allocations: 6.454 MB / 0.6461 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.6341, allocations: 0 / 0.6461 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.6348, allocations: 121.9 kB / 0.6462 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006278/0.6411, allocations: 2.049 MB / 0.6482 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.6414, allocations: 16 kB / 0.6483 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.6599, allocations: 8.216 MB / 0.6563 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6599, allocations: 3.938 kB / 0.6563 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/0.6763, allocations: 5.837 MB / 0.662 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.6769, allocations: 211.5 kB / 0.6622 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.6771, allocations: 20.69 kB / 0.6622 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.6783, allocations: 147.9 kB / 0.6623 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006324/0.6789, allocations: 204.5 kB / 0.6625 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.924e-05/0.679, allocations: 21.92 kB / 0.6626 GB, free: 0.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009718/0.68, allocations: 0.6471 MB / 0.6632 GB, free: 224 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.68, allocations: 0 / 0.6632 GB, free: 224 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002057/0.6821, allocations: 0.7022 MB / 0.6639 GB, free: 15.51 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0002675/0.6823, allocations: 123.7 kB / 0.664 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01226/0.6946, allocations: 4.643 MB / 0.6685 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6947, allocations: 0.5 kB / 0.6685 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005036/0.6997, allocations: 1.742 MB / 0.6702 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7009, allocations: 98.83 kB / 0.6703 GB, free: 8.879 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.705, allocations: 2.609 MB / 0.6729 GB, free: 6.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.7057, allocations: 1.105 MB / 0.674 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.706, allocations: 67.42 kB / 0.674 GB, free: 5.074 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.706, allocations: 0 / 0.674 GB, free: 5.074 MB / 478.1 MB Notification: Performance of Templates: time 0.02782/0.7338, allocations: 20.93 MB / 0.6945 GB, free: 268 kB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_TGCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TGCalcHelperMain.o] Error 1