Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 102.6 kB / 15.71 MB, free: 460 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.445/1.445, allocations: 223.3 MB / 239.7 MB, free: 5.469 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.001669/0.001669, allocations: 180.5 kB / 290.9 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5383/0.5383, allocations: 79.49 MB / 421.5 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 12 kB / 0.4897 GB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1807, allocations: 69.52 MB / 0.5576 GB, free: 24 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.3752/0.556, allocations: 21.02 MB / 0.5782 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.571, allocations: 4.988 MB / 0.583 GB, free: 24.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006612/0.5777, allocations: 51.34 kB / 0.5831 GB, free: 24.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004111/0.5818, allocations: 0.6196 MB / 0.5837 GB, free: 24.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009967/0.5918, allocations: 1.759 MB / 0.5854 GB, free: 23.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005518/0.5973, allocations: 1.776 MB / 0.5871 GB, free: 22.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008913/0.6063, allocations: 5.242 MB / 0.5922 GB, free: 19.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.6088, allocations: 1.07 MB / 0.5933 GB, free: 19.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.6131, allocations: 2.027 MB / 0.5953 GB, free: 18.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005396/0.6185, allocations: 2.624 MB / 0.5978 GB, free: 17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002211/0.6207, allocations: 239.1 kB / 0.5981 GB, free: 17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.6238, allocations: 380.9 kB / 0.5984 GB, free: 16.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009416/0.6248, allocations: 0.9137 MB / 0.5993 GB, free: 16.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002342/0.6272, allocations: 0.8446 MB / 0.6001 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006577/0.6337, allocations: 4.685 MB / 0.6047 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.6338, allocations: 0 / 0.6047 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6338, allocations: 0 / 0.6047 GB, free: 14.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003068/0.6341, allocations: 0 / 0.6047 GB, free: 14.41 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0303/0.6644, allocations: 8.553 MB / 0.6131 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.6645, allocations: 9.656 kB / 0.6131 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02752/0.692, allocations: 4.057 MB / 0.617 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009024/0.701, allocations: 2.532 MB / 0.6195 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/0.7024, allocations: 1 MB / 0.6205 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/0.7045, allocations: 348.7 kB / 0.6208 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.7221, allocations: 4.983 MB / 0.6257 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.7223, allocations: 1.375 kB / 0.6257 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.7238, allocations: 140.7 kB / 0.6258 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.7239, allocations: 87.89 kB / 0.6259 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.7356, allocations: 4.493 MB / 0.6303 GB, free: 2.469 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.04432/0.78, allocations: 18.9 MB / 0.6488 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.7941, allocations: 5.76 MB / 0.6544 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007493/0.8017, allocations: 3.052 MB / 0.6574 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009832/0.8027, allocations: 66.92 kB / 0.6574 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009316/0.812, allocations: 3.448 MB / 0.6608 GB, free: 1.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=385): time 1.104e-05/0.8121, allocations: 0 / 0.6608 GB, free: 1.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=385): time 0.293/1.105, allocations: 79.82 MB / 0.7387 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.105, allocations: 141.8 kB / 0.7389 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/1.111, allocations: 3.243 MB / 0.742 GB, free: 14.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001563/1.113, allocations: 93.64 kB / 0.7421 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001834/1.114, allocations: 1.974 MB / 0.7441 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002776/1.117, allocations: 1.317 MB / 0.7453 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/1.118, allocations: 88 kB / 0.7454 GB, free: 10.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003724/1.118, allocations: 467.1 kB / 0.7459 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00639/1.124, allocations: 2.87 MB / 0.7487 GB, free: 7.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007272/1.132, allocations: 3.495 MB / 0.7521 GB, free: 3.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007282/1.139, allocations: 3.14 MB / 0.7552 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/1.139, allocations: 4 kB / 0.7552 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.4058/1.545, allocations: 20.88 MB / 0.7755 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.958e-05/1.545, allocations: 65.25 kB / 0.7756 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/1.545, allocations: 19.52 kB / 0.7756 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0268/1.572, allocations: 8.711 MB / 0.7841 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/1.576, allocations: 0.6765 MB / 0.7848 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09076/1.666, allocations: 36.79 MB / 0.8207 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006529/1.673, allocations: 0.757 MB / 0.8215 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008345/1.674, allocations: 156.2 kB / 0.8216 GB, free: 147.7 MB / 0.5606 GB 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 order3.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: 65 * 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 (408): * Single equations (assignments): 404 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001954/1.676, allocations: 0.6702 MB / 0.8223 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.677, allocations: 467 kB / 0.8227 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05073/1.728, allocations: 20.65 MB / 0.8429 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/1.728, allocations: 40 kB / 0.8429 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/1.728, allocations: 28 kB / 0.8429 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001109/1.728, allocations: 19.27 kB / 0.843 GB, free: 136.2 MB / 0.5606 GB 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.05966/1.788, allocations: 25.68 MB / 0.868 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/1.788, allocations: 4.625 kB / 0.868 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/1.79, allocations: 391.5 kB / 0.8684 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02327/1.813, allocations: 8.675 MB / 0.8769 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/1.815, allocations: 69.3 kB / 0.877 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06682/1.881, allocations: 32.65 MB / 0.9088 GB, free: 68.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.881, allocations: 0 / 0.9088 GB, free: 68.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05795/1.939, allocations: 24.3 MB / 0.9326 GB, free: 44.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/1.941, allocations: 0.5648 MB / 0.9331 GB, free: 44.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/1.943, allocations: 64 kB / 0.9332 GB, free: 43.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004291/1.947, allocations: 0.5074 MB / 0.9337 GB, free: 43.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002967/1.95, allocations: 0.7851 MB / 0.9344 GB, free: 42.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/1.951, allocations: 98.14 kB / 0.9345 GB, free: 42.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002918/1.954, allocations: 2.11 MB / 0.9366 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.954, allocations: 3.828 kB / 0.9366 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006924/1.96, allocations: 1.824 MB / 0.9384 GB, free: 38.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000604/1.961, allocations: 195.9 kB / 0.9386 GB, free: 38.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02371/1.985, allocations: 10.45 MB / 0.9488 GB, free: 27.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.985, allocations: 4.125 kB / 0.9488 GB, free: 27.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01827/2.003, allocations: 7.065 MB / 0.9557 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/2.008, allocations: 389 kB / 0.956 GB, free: 20.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/2.022, allocations: 9.626 MB / 0.9654 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/2.023, allocations: 2.451 MB / 0.9678 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/2.025, allocations: 267.4 kB / 0.9681 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/2.025, allocations: 0 / 0.9681 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of Templates: time 0.4451/2.47, allocations: 97.5 MB / 1.063 GB, free: 138.6 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRIICalcHelperMain.o] Error 1