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.001163/0.001163, allocations: 100.5 kB / 15.71 MB, free: 452 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.478/1.478, allocations: 223.3 MB / 239.7 MB, free: 5.641 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.00127/0.00127, allocations: 184.5 kB / 290.9 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5868/0.5868, allocations: 78.55 MB / 420.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004122, allocations: 15.92 kB / 0.4887 GB, free: 6.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 69.36 MB / 0.5564 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.3685/0.5371, allocations: 6.123 MB / 0.5624 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.5419, allocations: 1.952 MB / 0.5643 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5429, allocations: 11.66 kB / 0.5643 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.5437, allocations: 174.2 kB / 0.5645 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.5457, allocations: 0.6721 MB / 0.5651 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.547, allocations: 0.5338 MB / 0.5657 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.5486, allocations: 1.491 MB / 0.5671 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.549, allocations: 260.9 kB / 0.5674 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007007/0.5497, allocations: 0.5818 MB / 0.5679 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009512/0.5507, allocations: 0.7667 MB / 0.5687 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.5508, allocations: 63.34 kB / 0.5687 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.5513, allocations: 194.7 kB / 0.5689 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.5516, allocations: 266.6 kB / 0.5692 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.5518, allocations: 235.5 kB / 0.5694 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.5528, allocations: 1.276 MB / 0.5707 GB, free: 35.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.5528, allocations: 2.812 kB / 0.5707 GB, free: 35.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5528, allocations: 5.656 kB / 0.5707 GB, free: 35.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5528, allocations: 0 / 0.5707 GB, free: 35.67 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.007395/0.5603, allocations: 2.602 MB / 0.5732 GB, free: 34.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5603, allocations: 8.469 kB / 0.5732 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.5649, allocations: 0.7892 MB / 0.574 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.5664, allocations: 0.8902 MB / 0.5749 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.5667, allocations: 263.5 kB / 0.5751 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.5669, allocations: 88.22 kB / 0.5752 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.569, allocations: 1.164 MB / 0.5763 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.569, allocations: 0.5 kB / 0.5763 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.5691, allocations: 30.41 kB / 0.5764 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.5691, allocations: 23.55 kB / 0.5764 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.571, allocations: 1.065 MB / 0.5774 GB, free: 33.35 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.005833/0.5768, allocations: 4.001 MB / 0.5813 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.5837, allocations: 2.94 MB / 0.5842 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.5853, allocations: 0.7536 MB / 0.5849 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.5855, allocations: 15.16 kB / 0.5849 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.5871, allocations: 0.8978 MB / 0.5858 GB, free: 29.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.846e-06/0.5872, allocations: 0 / 0.5858 GB, free: 29.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02779/0.615, allocations: 8.614 MB / 0.5942 GB, free: 28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.6151, allocations: 119 kB / 0.5943 GB, free: 27.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.6171, allocations: 1.129 MB / 0.5955 GB, free: 27.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.6173, allocations: 46.67 kB / 0.5955 GB, free: 27.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.6177, allocations: 0.4924 MB / 0.596 GB, free: 26.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.6181, allocations: 366.5 kB / 0.5963 GB, free: 26.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.6182, allocations: 31.16 kB / 0.5964 GB, free: 26.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6184, allocations: 371.7 kB / 0.5967 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.6201, allocations: 0.8538 MB / 0.5975 GB, free: 26.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.6219, allocations: 1.03 MB / 0.5986 GB, free: 25.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.6237, allocations: 0.9889 MB / 0.5995 GB, free: 25.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6237, allocations: 1.438 kB / 0.5995 GB, free: 25.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01505/0.6388, allocations: 5.301 MB / 0.6047 GB, free: 23.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.6389, allocations: 59.14 kB / 0.6048 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6389, allocations: 2.844 kB / 0.6048 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007178/0.6461, allocations: 2.011 MB / 0.6067 GB, free: 23.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.6478, allocations: 298.7 kB / 0.607 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.6677, allocations: 10.38 MB / 0.6171 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.67, allocations: 250.6 kB / 0.6174 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.6701, allocations: 59.19 kB / 0.6174 GB, free: 15.2 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006492/0.6708, allocations: 305.3 kB / 0.6177 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.671, allocations: 134.3 kB / 0.6179 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.6821, allocations: 4.76 MB / 0.6225 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6821, allocations: 8 kB / 0.6225 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.6822, allocations: 12 kB / 0.6225 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.6822, allocations: 3.984 kB / 0.6225 GB, free: 9.949 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.01306/0.6953, allocations: 6.388 MB / 0.6288 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.6953, allocations: 0 / 0.6288 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.6959, allocations: 99.92 kB / 0.6289 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/0.7007, allocations: 1.885 MB / 0.6307 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.7009, allocations: 24.89 kB / 0.6307 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/0.7195, allocations: 9.671 MB / 0.6402 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7196, allocations: 4.109 kB / 0.6402 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.7346, allocations: 5.706 MB / 0.6457 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/0.7354, allocations: 235.2 kB / 0.646 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.7356, allocations: 19.95 kB / 0.646 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.7368, allocations: 148.8 kB / 0.6461 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000633/0.7375, allocations: 196.7 kB / 0.6463 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.7375, allocations: 27.98 kB / 0.6463 GB, free: 1.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.7388, allocations: 0.7595 MB / 0.6471 GB, free: 356 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7388, allocations: 4 kB / 0.6471 GB, free: 352 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001763/0.7405, allocations: 487.6 kB / 0.6476 GB, free: 15.86 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/0.7409, allocations: 141.6 kB / 0.6477 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007097/0.748, allocations: 3.001 MB / 0.6506 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.748, allocations: 0 / 0.6506 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00442/0.7524, allocations: 1.827 MB / 0.6524 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.7537, allocations: 106 kB / 0.6525 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.7586, allocations: 2.907 MB / 0.6553 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/0.7594, allocations: 1.14 MB / 0.6565 GB, free: 6.656 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.7598, allocations: 79.42 kB / 0.6565 GB, free: 6.578 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7598, allocations: 0 / 0.6565 GB, free: 6.578 MB / 462.1 MB Notification: Performance of Templates: time 0.03568/0.7955, allocations: 26.49 MB / 0.6824 GB, free: 12.24 MB / 494.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++ NOTFOUND -Winvalid-pch -O0 -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/c/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