Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0769/0.0769, allocations: 12.2 MB / 27.97 MB, free: 1.434 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001034, allocations: 115.4 kB / 31.48 MB, free: 4.703 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 240 MB, free: 10.92 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001485, allocations: 188.5 kB / 290.1 MB, free: 15.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4211/0.4211, allocations: 78.52 MB / 418.6 MB, free: 31.79 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 128.7 kB / 498.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3441, allocations: 68.03 MB / 0.5536 GB, free: 37.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005807/0.3499, allocations: 7.006 MB / 0.5604 GB, free: 32.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.3528, allocations: 2.041 MB / 0.5624 GB, free: 31.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.3532, allocations: 14.31 kB / 0.5625 GB, free: 31.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.3538, allocations: 197.3 kB / 0.5626 GB, free: 30.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.3551, allocations: 0.6748 MB / 0.5633 GB, free: 30.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3561, allocations: 0.631 MB / 0.5639 GB, free: 30.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009362/0.3571, allocations: 1.549 MB / 0.5654 GB, free: 29.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.3574, allocations: 304.3 kB / 0.5657 GB, free: 29.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.3579, allocations: 0.6089 MB / 0.5663 GB, free: 28.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.3585, allocations: 0.7692 MB / 0.5671 GB, free: 28.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.3586, allocations: 73.81 kB / 0.5671 GB, free: 28.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.359, allocations: 200.2 kB / 0.5673 GB, free: 28.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.3592, allocations: 282.4 kB / 0.5676 GB, free: 28.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.3597, allocations: 0.62 MB / 0.5682 GB, free: 27.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.3605, allocations: 1.289 MB / 0.5695 GB, free: 27.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3605, allocations: 0 / 0.5695 GB, free: 27.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3605, allocations: 7.938 kB / 0.5695 GB, free: 27.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3605, allocations: 0 / 0.5695 GB, free: 27.47 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007847/0.3684, allocations: 2.76 MB / 0.5722 GB, free: 26.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3684, allocations: 11.92 kB / 0.5722 GB, free: 26.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.373, allocations: 0.783 MB / 0.5729 GB, free: 26.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3742, allocations: 0.8903 MB / 0.5738 GB, free: 25.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.3744, allocations: 252.6 kB / 0.574 GB, free: 25.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3746, allocations: 83 kB / 0.5741 GB, free: 25.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.3766, allocations: 1.187 MB / 0.5753 GB, free: 24.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3766, allocations: 0 / 0.5753 GB, free: 24.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.16e-05/0.3767, allocations: 31.39 kB / 0.5753 GB, free: 24.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3767, allocations: 19.69 kB / 0.5753 GB, free: 24.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.3787, allocations: 1.071 MB / 0.5764 GB, free: 24.34 MB / 414.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.005939/0.3847, allocations: 3.687 MB / 0.58 GB, free: 22.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.387, allocations: 1.551 MB / 0.5815 GB, free: 21.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.3884, allocations: 0.7812 MB / 0.5823 GB, free: 20.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.3886, allocations: 16.48 kB / 0.5823 GB, free: 20.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/0.3903, allocations: 0.8936 MB / 0.5831 GB, free: 20.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.416e-06/0.3904, allocations: 4 kB / 0.5832 GB, free: 20.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.02637/0.4167, allocations: 6.958 MB / 0.5899 GB, free: 18.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4168, allocations: 119.4 kB / 0.5901 GB, free: 18.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.4188, allocations: 1.028 MB / 0.5911 GB, free: 17.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.4191, allocations: 46.33 kB / 0.5911 GB, free: 17.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.4194, allocations: 0.4961 MB / 0.5916 GB, free: 16.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000507/0.4199, allocations: 373.4 kB / 0.5919 GB, free: 16.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/0.4206, allocations: 245.1 kB / 0.5922 GB, free: 16.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.4207, allocations: 365.5 kB / 0.5925 GB, free: 16.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.4224, allocations: 0.7638 MB / 0.5933 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.4242, allocations: 0.9103 MB / 0.5942 GB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02093/0.4452, allocations: 5.423 MB / 0.5995 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.4453, allocations: 4 kB / 0.5995 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01338/0.4587, allocations: 4.51 MB / 0.6039 GB, free: 6.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.4588, allocations: 59.41 kB / 0.6039 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4588, allocations: 4 kB / 0.6039 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005926/0.4647, allocations: 1.858 MB / 0.6057 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.4661, allocations: 247.6 kB / 0.606 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.4854, allocations: 8.72 MB / 0.6145 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.4875, allocations: 198.8 kB / 0.6147 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/0.4879, allocations: 51.98 kB / 0.6147 GB, free: 11.59 MB / 430.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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.0009089/0.4888, allocations: 287.3 kB / 0.615 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/0.4892, allocations: 126.4 kB / 0.6151 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.5022, allocations: 4.197 MB / 0.6192 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.5023, allocations: 8 kB / 0.6192 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5023, allocations: 4 kB / 0.6192 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/0.5023, allocations: 7.969 kB / 0.6192 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.5186, allocations: 5.968 MB / 0.6251 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5186, allocations: 7.922 kB / 0.6251 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.5195, allocations: 103.9 kB / 0.6252 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006077/0.5256, allocations: 1.828 MB / 0.627 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.5258, allocations: 27.98 kB / 0.627 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/0.5458, allocations: 9.382 MB / 0.6362 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5459, allocations: 0 / 0.6362 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.5607, allocations: 5.138 MB / 0.6412 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.5613, allocations: 215.3 kB / 0.6414 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004213/0.5618, allocations: 27.98 kB / 0.6414 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.5632, allocations: 107.9 kB / 0.6415 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007414/0.5639, allocations: 208.6 kB / 0.6417 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.5641, allocations: 32 kB / 0.6417 GB, free: 15.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.5653, allocations: 0.6954 MB / 0.6424 GB, free: 14.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5653, allocations: 7.938 kB / 0.6424 GB, free: 14.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001963/0.5673, allocations: 483.4 kB / 0.6429 GB, free: 14.23 MB / 462.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.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004118/0.5677, allocations: 144.3 kB / 0.643 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006729/0.5744, allocations: 2.641 MB / 0.6456 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5745, allocations: 0 / 0.6456 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00463/0.5791, allocations: 1.758 MB / 0.6473 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.5804, allocations: 118.2 kB / 0.6474 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.5853, allocations: 2.837 MB / 0.6502 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.5861, allocations: 1.132 MB / 0.6513 GB, free: 5.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.5865, allocations: 71.42 kB / 0.6514 GB, free: 5.383 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5865, allocations: 0 / 0.6514 GB, free: 5.383 MB / 462.1 MB Notification: Performance of Templates: time 0.03136/0.6178, allocations: 24.08 MB / 0.6749 GB, free: 13.3 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_TestCalcHelperMain.o] Error 1