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.09801/0.09801, allocations: 12.2 MB / 28.12 MB, free: 1.422 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.0007747/0.0007747, allocations: 101.7 kB / 31.65 MB, free: 4.762 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.482/1.482, allocations: 205.4 MB / 240.5 MB, free: 11.46 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.0009624/0.0009622, allocations: 184.5 kB / 291.6 MB, free: 13.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4609/0.4609, allocations: 78.53 MB / 421.1 MB, free: 48.6 MB / 334.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.0008853/0.0008855, allocations: 28.94 kB / 0.4907 GB, free: 2.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3715, allocations: 69.22 MB / 0.5583 GB, free: 43.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007129/0.3786, allocations: 6.534 MB / 0.5647 GB, free: 40.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.3838, allocations: 2.003 MB / 0.5667 GB, free: 39.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.3854, allocations: 20.41 kB / 0.5667 GB, free: 39.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008726/0.3862, allocations: 185.7 kB / 0.5669 GB, free: 39.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.3889, allocations: 0.6782 MB / 0.5675 GB, free: 39.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.3906, allocations: 0.6284 MB / 0.5681 GB, free: 38.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.3925, allocations: 1.545 MB / 0.5697 GB, free: 37.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.3931, allocations: 296 kB / 0.5699 GB, free: 37.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008345/0.3939, allocations: 0.5811 MB / 0.5705 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008507/0.3948, allocations: 0.7351 MB / 0.5712 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.3949, allocations: 59.88 kB / 0.5713 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.3955, allocations: 186.4 kB / 0.5715 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.3957, allocations: 258 kB / 0.5717 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.3963, allocations: 0.6266 MB / 0.5723 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.3974, allocations: 1.251 MB / 0.5735 GB, free: 36.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3974, allocations: 0 / 0.5735 GB, free: 36.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3974, allocations: 0 / 0.5735 GB, free: 36.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.3974, allocations: 2.844 kB / 0.5735 GB, free: 36.26 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00797/0.4054, allocations: 2.579 MB / 0.5761 GB, free: 35.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4055, allocations: 12.61 kB / 0.5761 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.4102, allocations: 0.7959 MB / 0.5769 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.4117, allocations: 0.892 MB / 0.5777 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.4119, allocations: 260 kB / 0.578 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.4121, allocations: 88.03 kB / 0.5781 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.4144, allocations: 1.244 MB / 0.5793 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.4145, allocations: 0 / 0.5793 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4146, allocations: 36.28 kB / 0.5793 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.4146, allocations: 19.38 kB / 0.5793 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.4167, allocations: 1.143 MB / 0.5804 GB, free: 33.26 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.005687/0.4224, allocations: 3.746 MB / 0.5841 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.4246, allocations: 1.625 MB / 0.5857 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.4261, allocations: 0.8453 MB / 0.5865 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/0.4262, allocations: 17.23 kB / 0.5865 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.4278, allocations: 0.9587 MB / 0.5875 GB, free: 29.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.514e-06/0.4278, allocations: 0 / 0.5875 GB, free: 29.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.0285/0.4563, allocations: 8.528 MB / 0.5958 GB, free: 27.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.4565, allocations: 122.1 kB / 0.5959 GB, free: 27.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.4584, allocations: 1.03 MB / 0.5969 GB, free: 27.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.4587, allocations: 45.7 kB / 0.597 GB, free: 27.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.4592, allocations: 0.4959 MB / 0.5974 GB, free: 26.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.4596, allocations: 374.2 kB / 0.5978 GB, free: 26.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.4598, allocations: 133.7 kB / 0.5979 GB, free: 26.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.46, allocations: 354.9 kB / 0.5983 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.4619, allocations: 0.8312 MB / 0.5991 GB, free: 25.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.4639, allocations: 0.9742 MB / 0.6 GB, free: 25.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02257/0.4865, allocations: 5.905 MB / 0.6058 GB, free: 23.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4865, allocations: 4 kB / 0.6058 GB, free: 23.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01584/0.5024, allocations: 5.409 MB / 0.6111 GB, free: 21.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.5025, allocations: 57.56 kB / 0.6111 GB, free: 21.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.5025, allocations: 7.062 kB / 0.6111 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006724/0.5092, allocations: 2.182 MB / 0.6133 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.5106, allocations: 243.7 kB / 0.6135 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.5303, allocations: 9.722 MB / 0.623 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.5325, allocations: 238.8 kB / 0.6232 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5326, allocations: 47.98 kB / 0.6233 GB, free: 9.082 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.0005597/0.5332, allocations: 283.8 kB / 0.6235 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.5334, allocations: 126.4 kB / 0.6237 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.5468, allocations: 5.113 MB / 0.6287 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.5468, allocations: 12 kB / 0.6287 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5468, allocations: 0 / 0.6287 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.5469, allocations: 7.969 kB / 0.6287 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.5634, allocations: 6.867 MB / 0.6354 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/0.5635, allocations: 7.938 kB / 0.6354 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008304/0.5643, allocations: 119.8 kB / 0.6355 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00678/0.5711, allocations: 2.145 MB / 0.6376 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/0.5713, allocations: 16 kB / 0.6376 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/0.5933, allocations: 10.28 MB / 0.6477 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5933, allocations: 4 kB / 0.6477 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/0.6106, allocations: 6.122 MB / 0.6536 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.6112, allocations: 215.3 kB / 0.6538 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.6114, allocations: 24 kB / 0.6539 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.6127, allocations: 151.9 kB / 0.654 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006757/0.6134, allocations: 204.6 kB / 0.6542 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.6135, allocations: 31.98 kB / 0.6542 GB, free: 8.848 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.6146, allocations: 0.7072 MB / 0.6549 GB, free: 8.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6146, allocations: 0 / 0.6549 GB, free: 8.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001616/0.6163, allocations: 483.4 kB / 0.6554 GB, free: 7.66 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.0003093/0.6166, allocations: 135.8 kB / 0.6555 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00765/0.6242, allocations: 2.929 MB / 0.6584 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6243, allocations: 0 / 0.6584 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005524/0.6298, allocations: 1.978 MB / 0.6603 GB, free: 2.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6314, allocations: 115.7 kB / 0.6604 GB, free: 2.426 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.6363, allocations: 2.938 MB / 0.6633 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/0.6371, allocations: 1.135 MB / 0.6644 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.6374, allocations: 75.41 kB / 0.6645 GB, free: 14.22 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6374, allocations: 4 kB / 0.6645 GB, free: 14.21 MB / 478.1 MB Notification: Performance of Templates: time 0.03194/0.6694, allocations: 23.95 MB / 0.6879 GB, free: 6.27 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