Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.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.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008041/0.0008042, allocations: 97.78 kB / 16.02 MB, free: 76 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.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.359 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.001276/0.001276, allocations: 184.5 kB / 291.3 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4861/0.4861, allocations: 78.55 MB / 420.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003822, allocations: 8 kB / 0.4893 GB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1607, allocations: 69.37 MB / 0.557 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.2995/0.4603, allocations: 6.401 MB / 0.5633 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.4646, allocations: 2.072 MB / 0.5653 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.4656, allocations: 13.72 kB / 0.5653 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.4663, allocations: 192.2 kB / 0.5655 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.4682, allocations: 0.658 MB / 0.5661 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.4695, allocations: 0.6437 MB / 0.5668 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.4711, allocations: 1.515 MB / 0.5683 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.4715, allocations: 292.5 kB / 0.5685 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.4723, allocations: 0.5681 MB / 0.5691 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.473, allocations: 0.7258 MB / 0.5698 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4731, allocations: 57.81 kB / 0.5699 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.4736, allocations: 190 kB / 0.57 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.4738, allocations: 254.2 kB / 0.5703 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.4742, allocations: 0.6221 MB / 0.5709 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.4752, allocations: 1.237 MB / 0.5721 GB, free: 33.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4752, allocations: 2.625 kB / 0.5721 GB, free: 33.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4752, allocations: 0 / 0.5721 GB, free: 33.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4752, allocations: 0 / 0.5721 GB, free: 33.36 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.007822/0.483, allocations: 2.563 MB / 0.5746 GB, free: 32.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4831, allocations: 8.375 kB / 0.5746 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.4879, allocations: 0.7887 MB / 0.5754 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.4895, allocations: 0.8848 MB / 0.5762 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.4897, allocations: 232.2 kB / 0.5765 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4899, allocations: 89.12 kB / 0.5765 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.4921, allocations: 1.252 MB / 0.5778 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4921, allocations: 2.25 kB / 0.5778 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.446e-05/0.4922, allocations: 27.84 kB / 0.5778 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.4923, allocations: 20.08 kB / 0.5778 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.4945, allocations: 1.178 MB / 0.579 GB, free: 31.62 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.005866/0.5004, allocations: 3.794 MB / 0.5827 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.5025, allocations: 1.589 MB / 0.5842 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.504, allocations: 0.8663 MB / 0.5851 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/0.5041, allocations: 16.14 kB / 0.5851 GB, free: 28.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5041, allocations: 53.25 kB / 0.5851 GB, free: 28.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 2.936e-06/0.5041, allocations: 0 / 0.5851 GB, free: 28.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02575/0.5299, allocations: 7.746 MB / 0.5927 GB, free: 27.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.53, allocations: 144.4 kB / 0.5928 GB, free: 27.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.5318, allocations: 1.024 MB / 0.5938 GB, free: 26.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002537/0.532, allocations: 45.02 kB / 0.5939 GB, free: 26.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.5324, allocations: 0.4966 MB / 0.5944 GB, free: 26.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.5327, allocations: 359.2 kB / 0.5947 GB, free: 26.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.533, allocations: 120.7 kB / 0.5948 GB, free: 25.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5331, allocations: 357.8 kB / 0.5952 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.5351, allocations: 0.8266 MB / 0.596 GB, free: 25.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.537, allocations: 0.9771 MB / 0.5969 GB, free: 24.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02271/0.5597, allocations: 5.896 MB / 0.6027 GB, free: 23.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.5598, allocations: 0 / 0.6027 GB, free: 23.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01666/0.5764, allocations: 5.378 MB / 0.6079 GB, free: 21.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.5766, allocations: 219.7 kB / 0.6081 GB, free: 21.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5766, allocations: 2.344 kB / 0.6081 GB, free: 21.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007769/0.5844, allocations: 2.178 MB / 0.6103 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.5858, allocations: 228.7 kB / 0.6105 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.6063, allocations: 9.711 MB / 0.62 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.6083, allocations: 226.8 kB / 0.6202 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.6084, allocations: 43.98 kB / 0.6202 GB, free: 12.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.6084, allocations: 7.938 kB / 0.6202 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01366/0.6221, allocations: 5.217 MB / 0.6253 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.6222, allocations: 4 kB / 0.6253 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006541/0.6287, allocations: 2.173 MB / 0.6275 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.6299, allocations: 227.7 kB / 0.6277 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.6509, allocations: 9.689 MB / 0.6371 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.6529, allocations: 207 kB / 0.6373 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.653, allocations: 47.92 kB / 0.6374 GB, free: 10.87 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0008078/0.6538, allocations: 367.1 kB / 0.6377 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.6541, allocations: 123.5 kB / 0.6379 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/0.6689, allocations: 4.963 MB / 0.6427 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.669, allocations: 12.97 kB / 0.6427 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.669, allocations: 0 / 0.6427 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/0.6691, allocations: 15.97 kB / 0.6427 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.6864, allocations: 6.788 MB / 0.6494 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.6864, allocations: 0 / 0.6494 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.6873, allocations: 127.8 kB / 0.6495 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006279/0.6936, allocations: 2.051 MB / 0.6515 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/0.6939, allocations: 20 kB / 0.6515 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.7125, allocations: 8.221 MB / 0.6595 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7125, allocations: 0 / 0.6595 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/0.7302, allocations: 5.974 MB / 0.6654 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007374/0.731, allocations: 227.2 kB / 0.6656 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.7312, allocations: 16 kB / 0.6656 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7325, allocations: 147.9 kB / 0.6657 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007507/0.7333, allocations: 196.5 kB / 0.6659 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.7334, allocations: 24.92 kB / 0.6659 GB, free: 13.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001202/0.7346, allocations: 0.7108 MB / 0.6666 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7346, allocations: 0 / 0.6666 GB, free: 12.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002414/0.737, allocations: 0.753 MB / 0.6674 GB, free: 11.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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.0003173/0.7374, allocations: 144.9 kB / 0.6675 GB, free: 11.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01393/0.7513, allocations: 5.045 MB / 0.6724 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7514, allocations: 0 / 0.6724 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005313/0.7567, allocations: 1.837 MB / 0.6742 GB, free: 4.672 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.758, allocations: 119 kB / 0.6743 GB, free: 4.555 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.7627, allocations: 2.962 MB / 0.6772 GB, free: 1.605 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.7636, allocations: 1.142 MB / 0.6784 GB, free: 448 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.7639, allocations: 75.42 kB / 0.6784 GB, free: 372 kB / 478.1 MB Notification: Performance of SimCode: time 1.293e-06/0.7639, allocations: 0 / 0.6784 GB, free: 372 kB / 478.1 MB Notification: Performance of Templates: time 0.0315/0.7954, allocations: 22.54 MB / 0.7004 GB, free: 9.938 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.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.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_TestCalcHelperMain.o] Error 1