Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006829/0.00683, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.471/1.471, allocations: 222.9 MB / 239.5 MB, free: 4.789 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.00138/0.00138, allocations: 188.5 kB / 289.8 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5576/0.5576, allocations: 78.52 MB / 418.4 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 75.88 kB / 497.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1692, allocations: 68.17 MB / 0.5523 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.3197/0.4889, allocations: 7.006 MB / 0.5592 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004663/0.4936, allocations: 2.056 MB / 0.5612 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.4944, allocations: 11.56 kB / 0.5612 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007587/0.4953, allocations: 191.9 kB / 0.5614 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.4971, allocations: 0.7263 MB / 0.5621 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.4985, allocations: 0.6016 MB / 0.5627 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.5001, allocations: 1.576 MB / 0.5642 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.5006, allocations: 290.5 kB / 0.5645 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007283/0.5013, allocations: 0.6203 MB / 0.5651 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.5021, allocations: 0.824 MB / 0.5659 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.5023, allocations: 77.5 kB / 0.566 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005469/0.5029, allocations: 215.2 kB / 0.5662 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.5032, allocations: 296.2 kB / 0.5664 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005215/0.5037, allocations: 0.6441 MB / 0.5671 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.5047, allocations: 1.313 MB / 0.5684 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5047, allocations: 0 / 0.5684 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5048, allocations: 0 / 0.5684 GB, free: 34.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.5048, allocations: 0.7188 kB / 0.5684 GB, free: 34.01 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008606/0.5134, allocations: 2.784 MB / 0.5711 GB, free: 33.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5134, allocations: 8.719 kB / 0.5711 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/0.5181, allocations: 0.7777 MB / 0.5718 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.5196, allocations: 0.9286 MB / 0.5727 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.5198, allocations: 260.3 kB / 0.573 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.52, allocations: 90.97 kB / 0.5731 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.522, allocations: 1.109 MB / 0.5742 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.522, allocations: 0 / 0.5742 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.5221, allocations: 28.88 kB / 0.5742 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.5222, allocations: 20.86 kB / 0.5742 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.5241, allocations: 1.003 MB / 0.5752 GB, free: 32.2 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.005891/0.53, allocations: 3.918 MB / 0.579 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/0.5368, allocations: 2.414 MB / 0.5814 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.5383, allocations: 0.6918 MB / 0.5821 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.5385, allocations: 15.72 kB / 0.5821 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.5401, allocations: 0.8389 MB / 0.5829 GB, free: 29.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.427e-06/0.5402, allocations: 0 / 0.5829 GB, free: 29.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02878/0.5689, allocations: 7.083 MB / 0.5898 GB, free: 27.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.5691, allocations: 115 kB / 0.5899 GB, free: 27.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.5714, allocations: 1.141 MB / 0.591 GB, free: 27.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.5717, allocations: 46.23 kB / 0.5911 GB, free: 27.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.5721, allocations: 0.4972 MB / 0.5916 GB, free: 26.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004732/0.5726, allocations: 368 kB / 0.5919 GB, free: 26.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.5733, allocations: 299.5 kB / 0.5922 GB, free: 26.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.5733, allocations: 306.9 kB / 0.5925 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.5752, allocations: 0.7923 MB / 0.5933 GB, free: 25.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.5771, allocations: 0.9665 MB / 0.5942 GB, free: 25.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02714/0.6042, allocations: 5.932 MB / 0.6 GB, free: 23.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.6043, allocations: 5.188 kB / 0.6 GB, free: 23.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.0153/0.6196, allocations: 4.512 MB / 0.6044 GB, free: 22.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.688e-05/0.6197, allocations: 61.41 kB / 0.6045 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.6198, allocations: 3.438 kB / 0.6045 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006582/0.6263, allocations: 1.664 MB / 0.6061 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.6282, allocations: 296.7 kB / 0.6064 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.6474, allocations: 7.944 MB / 0.6141 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.6501, allocations: 210.6 kB / 0.6143 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.6503, allocations: 55.97 kB / 0.6144 GB, free: 15.65 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009335/0.6512, allocations: 302.7 kB / 0.6147 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/0.6516, allocations: 135.3 kB / 0.6148 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.6636, allocations: 3.92 MB / 0.6186 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.6637, allocations: 12 kB / 0.6186 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.6637, allocations: 9.312 kB / 0.6187 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.6638, allocations: 3.984 kB / 0.6187 GB, free: 11.23 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 postOpt removeSimpleEquations (simulation): time 0.01406/0.6778, allocations: 5.548 MB / 0.6241 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.6779, allocations: 0 / 0.6241 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.6786, allocations: 107.8 kB / 0.6242 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004998/0.6837, allocations: 1.601 MB / 0.6257 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.6839, allocations: 27.98 kB / 0.6258 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.7014, allocations: 8.773 MB / 0.6343 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7014, allocations: 0 / 0.6343 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.7157, allocations: 4.811 MB / 0.639 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.7163, allocations: 231.2 kB / 0.6393 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.7165, allocations: 20 kB / 0.6393 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7177, allocations: 107.9 kB / 0.6394 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006104/0.7184, allocations: 190.6 kB / 0.6396 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.7184, allocations: 27.98 kB / 0.6396 GB, free: 5.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.7196, allocations: 0.7713 MB / 0.6403 GB, free: 4.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7196, allocations: 0 / 0.6403 GB, free: 4.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001427/0.721, allocations: 493.4 kB / 0.6408 GB, free: 4.109 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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 (66): * Single equations (assignments): 63 * 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): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002801/0.7213, allocations: 152.5 kB / 0.641 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008078/0.7294, allocations: 2.623 MB / 0.6435 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.7295, allocations: 0 / 0.6435 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006144/0.7356, allocations: 1.615 MB / 0.6451 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.7372, allocations: 118.2 kB / 0.6452 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/0.7439, allocations: 2.906 MB / 0.648 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009269/0.7448, allocations: 1.136 MB / 0.6492 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.7454, allocations: 83.41 kB / 0.6492 GB, free: 11.39 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7455, allocations: 4 kB / 0.6492 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Templates: time 0.04078/0.7862, allocations: 24.2 MB / 0.6729 GB, free: 3.367 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRIICalcHelperMain.o] Error 1